Initial Commit
@@ -1,32 +1,33 @@
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# =========================
|
||||
# Operating System Files
|
||||
# =========================
|
||||
|
||||
# OSX
|
||||
# =========================
|
||||
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# =========================
|
||||
# Operating System Files
|
||||
# =========================
|
||||
|
||||
# OSX
|
||||
# =========================
|
||||
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must ends with two \r.
|
||||
Icon
|
||||
Icon
|
||||
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
@@ -34,3 +35,19 @@ Icon
|
||||
# Files that might appear on external disk
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
|
||||
# Android Studio
|
||||
.idea
|
||||
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
|
||||
.gradle
|
||||
build/
|
||||
.settings
|
||||
bin/
|
||||
build
|
||||
gen/
|
||||
gradle/
|
||||
.classpath
|
||||
local.properties
|
||||
gradlew
|
||||
gradlew.bat
|
||||
.project
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="android-gradle" name="Android-Gradle">
|
||||
<configuration>
|
||||
<option name="GRADLE_PROJECT_PATH" value=":" />
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="android" name="Android">
|
||||
<configuration>
|
||||
<option name="SELECTED_BUILD_VARIANT" value="debug" />
|
||||
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
|
||||
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugJava" />
|
||||
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugTest" />
|
||||
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
|
||||
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
||||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/res" />
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/debug" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/res" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/aidl" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/assets" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/jni" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/rs" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/res" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/assets" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" exported="" name="android-support-v4" level="project" />
|
||||
<orderEntry type="library" exported="" name="crouton" level="project" />
|
||||
<orderEntry type="library" exported="" name="RootTools" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.amaze.filemanager"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-sdk
|
||||
android:minSdkVersion="14"
|
||||
android:targetSdkVersion="15" />
|
||||
|
||||
<application
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="Amaze File Manager" >
|
||||
<activity
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:label="Amaze File Manager"
|
||||
android:name=".activities.MainActivity"
|
||||
android:theme="@style/LightTheme">
|
||||
<intent-filter >
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:label="Settings"
|
||||
android:name=".activities.Preferences"
|
||||
android:theme="@style/DarkTheme">
|
||||
|
||||
</activity>
|
||||
<activity
|
||||
|
||||
android:label="Text Reader"
|
||||
android:name="com.amaze.filemanager.activities.TextReader"
|
||||
android:theme="@style/LightTheme">
|
||||
|
||||
</activity>
|
||||
|
||||
|
||||
<service
|
||||
android:process=":amaze"
|
||||
android:name = "com.amaze.filemanager.services.DeleteTask"
|
||||
android:label = "Deleting"
|
||||
|
||||
>
|
||||
</service>
|
||||
<service
|
||||
android:process=":amaze"
|
||||
android:name = "com.amaze.filemanager.services.ExtractService"
|
||||
android:label = "Extracting"
|
||||
>
|
||||
</service><service
|
||||
android:name = "com.amaze.filemanager.services.ZipTask"
|
||||
android:label = "Compressing"
|
||||
android:process=":amaze"
|
||||
>
|
||||
</service>
|
||||
<service
|
||||
android:name = "com.amaze.filemanager.services.CopyService"
|
||||
android:label = "Copying"
|
||||
android:process=":amaze"
|
||||
>
|
||||
</service>
|
||||
<service
|
||||
android:name = "com.amaze.filemanager.services.MoveService"
|
||||
android:label = "Moving"
|
||||
android:process=":amaze"
|
||||
>
|
||||
</service>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="android-gradle" name="Android-Gradle">
|
||||
<configuration>
|
||||
<option name="GRADLE_PROJECT_PATH" value=":" />
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="android" name="Android">
|
||||
<configuration>
|
||||
<option name="SELECTED_BUILD_VARIANT" value="debug" />
|
||||
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
|
||||
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugJava" />
|
||||
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugTest" />
|
||||
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
|
||||
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
||||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/res" />
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/debug" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/res" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/aidl" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/assets" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/jni" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/rs" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/res" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/assets" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" exported="" name="android-support-v4" level="project" />
|
||||
<orderEntry type="library" exported="" name="crouton" level="project" />
|
||||
<orderEntry type="library" exported="" name="RootTools" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.12.+'
|
||||
}
|
||||
}
|
||||
apply plugin: 'android'
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: '*.jar')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 19
|
||||
buildToolsVersion "19.1.0"
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['src']
|
||||
resources.srcDirs = ['src']
|
||||
aidl.srcDirs = ['src']
|
||||
renderscript.srcDirs = ['src']
|
||||
res.srcDirs = ['res']
|
||||
assets.srcDirs = ['assets']
|
||||
}
|
||||
|
||||
// Move the tests to tests/java, tests/res, etc...
|
||||
instrumentTest.setRoot('tests')
|
||||
|
||||
// Move the build types to build-types/<type>
|
||||
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
|
||||
// This moves them out of them default location under src/<type>/... which would
|
||||
// conflict with src/ being used by the main source set.
|
||||
// Adding new build types or product flavors should be accompanied
|
||||
// by a similar customization.
|
||||
debug.setRoot('build-types/debug')
|
||||
release.setRoot('build-types/release')
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
-optimizationpasses 5
|
||||
-dontusemixedcaseclassnames
|
||||
-dontskipnonpubliclibraryclasses
|
||||
-dontpreverify
|
||||
-verbose
|
||||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
||||
|
||||
-keep public class * extends android.app.Activity
|
||||
-keep public class * extends android.app.Application
|
||||
-keep public class * extends android.app.Service
|
||||
-keep public class * extends android.content.BroadcastReceiver
|
||||
-keep public class * extends android.content.ContentProvider
|
||||
-keep public class * extends android.app.backup.BackupAgentHelper
|
||||
-keep public class * extends android.preference.Preference
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet);
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
||||
}
|
||||
|
||||
-keepclassmembers class * extends android.app.Activity {
|
||||
public void *(android.view.View);
|
||||
}
|
||||
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
-keep class * implements android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system use,
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
|
||||
# Project target.
|
||||
target=android-19
|
||||
@@ -0,0 +1,60 @@
|
||||
<!--
|
||||
Copyright 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
This object animator is used as a custom fragment transition. See
|
||||
FragmentTransaction.setCustomAnimation for more details.
|
||||
|
||||
The overall effect of this animator is to rotate the back of the card
|
||||
into view. The order of operations is described below:
|
||||
|
||||
1. The back is immediately set to transparent.
|
||||
2. The invisible back rotates 90 degrees, from being fully flipped
|
||||
to being zero-width, fully perpendicular to the viewer, facing right.
|
||||
It is still invisible.
|
||||
3. The back is then made visible (this is half-way through the
|
||||
animation).
|
||||
4. The back rotates another 90 degrees, from zero-width, to
|
||||
100% of its normal width, facing the user.
|
||||
|
||||
This is accomplished using the 3 child animators below, executed in
|
||||
parallel. Note that the last animator starts half-way into the animation.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Before rotating, immediately set the alpha to 0. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="1.0"
|
||||
android:valueTo="0.0"
|
||||
android:propertyName="alpha"
|
||||
android:duration="0" />
|
||||
|
||||
<!-- Rotate. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="-180"
|
||||
android:valueTo="0"
|
||||
android:propertyName="rotationY"
|
||||
android:interpolator="@android:interpolator/accelerate_decelerate"
|
||||
android:duration="@integer/card_flip_time_full" />
|
||||
|
||||
<!-- Half-way through the rotation (see startOffset), set the alpha to 1. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="0.0"
|
||||
android:valueTo="1.0"
|
||||
android:propertyName="alpha"
|
||||
android:startOffset="@integer/card_flip_time_half"
|
||||
android:duration="1" />
|
||||
</set>
|
||||
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
Copyright 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
This object animator is used as a custom fragment transition. See
|
||||
FragmentTransaction.setCustomAnimation for more details.
|
||||
|
||||
The overall effect of this animator is to rotate the front of the card
|
||||
out of view. The order of operations is described below:
|
||||
|
||||
1. The front rotates 90 degrees, from facing the user to being
|
||||
zero-width, fully perpendicular to the viewer, facing left.
|
||||
2. The front is then made invisible (this is half-way through the
|
||||
animation).
|
||||
3. The front rotates another 90 degrees, from zero-width, to
|
||||
100% of its normal width, but facing away from the user and
|
||||
still invisible.
|
||||
|
||||
This is accomplished using the 2 child animators below, executed in
|
||||
parallel. Note that the last animator starts half-way into the animation.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Rotate. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="0"
|
||||
android:valueTo="180"
|
||||
android:propertyName="rotationY"
|
||||
android:interpolator="@android:interpolator/accelerate_decelerate"
|
||||
android:duration="@integer/card_flip_time_full" />
|
||||
|
||||
<!-- Half-way through the rotation (see startOffset), set the alpha to 0. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="1.0"
|
||||
android:valueTo="0.0"
|
||||
android:propertyName="alpha"
|
||||
android:startOffset="@integer/card_flip_time_half"
|
||||
android:duration="1" />
|
||||
</set>
|
||||
@@ -0,0 +1,60 @@
|
||||
<!--
|
||||
Copyright 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
This object animator is used as a custom fragment transition. See
|
||||
FragmentTransaction.setCustomAnimation for more details.
|
||||
|
||||
The overall effect of this animator is to rotate the front of the card
|
||||
into view. The order of operations is described below:
|
||||
|
||||
1. The front is immediately set to transparent.
|
||||
2. The invisible front rotates 90 degrees, from being fully flipped
|
||||
to being zero-width, fully perpendicular to the viewer, facing left.
|
||||
It is still invisible.
|
||||
3. The front is then made visible (this is half-way through the
|
||||
animation).
|
||||
4. The front rotates another 90 degrees, from zero-width, to
|
||||
100% of its normal width, facing the user.
|
||||
|
||||
This is accomplished using the 3 child animators below, executed in
|
||||
parallel. Note that the last animator starts half-way into the animation.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Before rotating, immediately set the alpha to 0. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="1.0"
|
||||
android:valueTo="0.0"
|
||||
android:propertyName="alpha"
|
||||
android:duration="0" />
|
||||
|
||||
<!-- Rotate. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="180"
|
||||
android:valueTo="0"
|
||||
android:propertyName="rotationY"
|
||||
android:interpolator="@android:interpolator/accelerate_decelerate"
|
||||
android:duration="@integer/card_flip_time_full" />
|
||||
|
||||
<!-- Half-way through the rotation (see startOffset), set the alpha to 1. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="0.0"
|
||||
android:valueTo="1.0"
|
||||
android:propertyName="alpha"
|
||||
android:startOffset="@integer/card_flip_time_half"
|
||||
android:duration="1" />
|
||||
</set>
|
||||
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
Copyright 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
This object animator is used as a custom fragment transition. See
|
||||
FragmentTransaction.setCustomAnimation for more details.
|
||||
|
||||
The overall effect of this animator is to rotate the back of the card
|
||||
out of view. The order of operations is described below:
|
||||
|
||||
1. The back rotates 90 degrees, from facing the user to being
|
||||
zero-width, fully perpendicular to the viewer, facing right.
|
||||
2. The back is then made invisible (this is half-way through the
|
||||
animation).
|
||||
3. The back rotates another 90 degrees, from zero-width, to
|
||||
100% of its normal width, but facing away from the user and
|
||||
still invisible.
|
||||
|
||||
This is accomplished using the 2 child animators below, executed in
|
||||
parallel. Note that the last animator starts half-way into the animation.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Rotate. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="0"
|
||||
android:valueTo="-180"
|
||||
android:propertyName="rotationY"
|
||||
android:interpolator="@android:interpolator/accelerate_decelerate"
|
||||
android:duration="@integer/card_flip_time_full" />
|
||||
|
||||
<!-- Half-way through the rotation (see startOffset), set the alpha to 0. -->
|
||||
<objectAnimator
|
||||
android:valueFrom="1.0"
|
||||
android:valueTo="0.0"
|
||||
android:propertyName="alpha"
|
||||
android:startOffset="@integer/card_flip_time_half"
|
||||
android:duration="1" />
|
||||
</set>
|
||||
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 787 B |
|
After Width: | Height: | Size: 860 B |
|
After Width: | Height: | Size: 401 B |
|
After Width: | Height: | Size: 468 B |
|
After Width: | Height: | Size: 415 B |
|
After Width: | Height: | Size: 513 B |
|
After Width: | Height: | Size: 351 B |
|
After Width: | Height: | Size: 353 B |
|
After Width: | Height: | Size: 899 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 552 B |
|
After Width: | Height: | Size: 234 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 972 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 494 B |
|
After Width: | Height: | Size: 295 B |
|
After Width: | Height: | Size: 295 B |
|
After Width: | Height: | Size: 895 B |
|
After Width: | Height: | Size: 901 B |
|
After Width: | Height: | Size: 277 B |
|
After Width: | Height: | Size: 451 B |
|
After Width: | Height: | Size: 293 B |
|
After Width: | Height: | Size: 293 B |
|
After Width: | Height: | Size: 827 B |
|
After Width: | Height: | Size: 900 B |
|
After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 351 B |
|
After Width: | Height: | Size: 277 B |
|
After Width: | Height: | Size: 277 B |
|
After Width: | Height: | Size: 184 B |
|
After Width: | Height: | Size: 292 B |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 343 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 747 B |
|
After Width: | Height: | Size: 747 B |
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/safrs" />
|
||||
<item
|
||||
android:state_focused="true"
|
||||
android:drawable="@color/safrs"
|
||||
/>
|
||||
<item
|
||||
|
||||
android:drawable="@drawable/bg_card"
|
||||
/>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@drawable/bg_card_pressed" />
|
||||
|
||||
<item android:drawable="@drawable/bg_card_normal" />
|
||||
</selector>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#CABBBBBB"/>
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:left="0.5dp"
|
||||
android:right="0.5dp"
|
||||
android:top="0dp"
|
||||
android:bottom="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#ffffff"/>
|
||||
<corners android:radius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#CABBBBBB"/>
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:right="0dp"
|
||||
android:top="0dp"
|
||||
android:bottom="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/holo"/>
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_selected="true"
|
||||
android:drawable="@color/holo"
|
||||
/>
|
||||
<item
|
||||
android:state_activated="true"
|
||||
android:drawable="@color/holo"
|
||||
/>
|
||||
<item
|
||||
android:state_checked="true"
|
||||
android:drawable="@color/holo"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/holo"
|
||||
/>
|
||||
<item
|
||||
android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_selected="true"
|
||||
android:drawable="@color/safr"
|
||||
/>
|
||||
<item
|
||||
android:state_activated="true"
|
||||
android:drawable="@color/safr"
|
||||
/>
|
||||
<item
|
||||
android:state_checked="true"
|
||||
android:drawable="@color/safr"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/safr"
|
||||
/>
|
||||
<item
|
||||
android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
|
||||
<item
|
||||
|
||||
android:drawable="@color/safr"
|
||||
/>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
|
||||
<item
|
||||
|
||||
android:drawable="@color/safrs"
|
||||
/>
|
||||
</selector>
|
||||
@@ -0,0 +1,30 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"
|
||||
android:orientation="vertical" android:paddingLeft="10dip"> <!-- Dummy text view that will display the name of a random country. -->
|
||||
<TextView android:id="@+id/text1"
|
||||
style="?android:textAppearanceMedium"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="?android:listPreferredItemPaddingLeft" />
|
||||
<TextView android:id="@+id/text2"
|
||||
style="?android:textAppearanceSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="?android:listPreferredItemPaddingLeft" />
|
||||
</LinearLayout>
|
||||
<!-- A button that, when pressed, will delete this list item row from its container. -->
|
||||
<ImageButton android:id="@+id/delete_button"
|
||||
android:layout_width="48dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_height="fill_parent"
|
||||
android:src="@drawable/ic_action_cancel_light"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="Delete Bookmark" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,4 @@
|
||||
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
@@ -0,0 +1,9 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
<EditText android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/newname"
|
||||
android:hint="enter new name"/>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,10 @@
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
<TextView android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/info"
|
||||
android:paddingLeft="5dip"
|
||||
/>
|
||||
</ScrollView>
|
||||
@@ -0,0 +1,4 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="10dip"
|
||||
android:orientation="horizontal"/>
|
||||
@@ -0,0 +1,24 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/second"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dip"
|
||||
android:background="@drawable/listitem"
|
||||
android:clickable="true"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:clickable="false"
|
||||
android:gravity="center_vertical"
|
||||
android:contentDescription="@string/icon"/>
|
||||
<TextView
|
||||
android:id="@+id/firstline"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_toRightOf="@id/icon"
|
||||
android:layout_height="fill_parent"
|
||||
android:clickable="false"
|
||||
android:gravity="center_vertical"
|
||||
/>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,80 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/i"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:background="@drawable/listitem1"
|
||||
android:foreground="@drawable/listitem1"
|
||||
android:padding="6dip" >
|
||||
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ibg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:gravity="center_horizontal|center_vertical"
|
||||
android:contentDescription="@string/icon"
|
||||
android:background="#5fffffff"
|
||||
android:clickable="false"
|
||||
/>
|
||||
<RelativeLayout
|
||||
android:padding="6dip"
|
||||
android:id="@+id/album"
|
||||
android:background="#7fffffff"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ialbum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:gravity="left"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#7fffffff"
|
||||
android:padding="6dip"
|
||||
android:id="@+id/iname"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iline"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:gravity="left"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/isize"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:visibility="gone"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/idate"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:clickable="false"
|
||||
android:textSize="15sp" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/grid"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:padding="10dip"
|
||||
android:numColumns="auto_fit"
|
||||
android:verticalSpacing="10dp"
|
||||
android:horizontalSpacing="10dp"
|
||||
android:stretchMode="columnWidth"
|
||||
android:gravity="center"
|
||||
/>
|
||||
@@ -0,0 +1,66 @@
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lin"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/scroll"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
</LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
<!--
|
||||
As the main content view, the view below consumes the entire
|
||||
space available using match_parent in both dimensions.
|
||||
-->
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/content_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<!--
|
||||
android:layout_gravity="start" tells DrawerLayout to treat
|
||||
this as a sliding drawer on the left side for left-to-right
|
||||
languages and on the right side for right-to-left languages.
|
||||
The drawer is given a fixed width in dp and extends the full height of
|
||||
the container. A solid background is used for contrast
|
||||
with the content view.
|
||||
-->
|
||||
|
||||
<ListView
|
||||
android:id="@+id/left_drawer"
|
||||
style="@android:style/Theme.Holo.Light"
|
||||
android:layout_width="200dip"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left"
|
||||
android:background="@drawable/drawer_bg"
|
||||
android:choiceMode="singleChoice"
|
||||
android:dividerHeight="0dip" />
|
||||
<!--
|
||||
<ListView
|
||||
android:id="@+id/right_drawer"
|
||||
android:layout_width="240dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="right"
|
||||
android:choiceMode="singleChoice"
|
||||
android:background="@drawable/drawer_bg"
|
||||
android:dividerHeight="0dip"
|
||||
|
||||
style="@android:style/Theme.Holo.Light"
|
||||
/>
|
||||
-->
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
<fragment class="com.amaze.filemanager.fragments.Preffrag"
|
||||
android:id="@+id/prefsfragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,14 @@
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/secondbut"
|
||||
android:orientation="vertical"
|
||||
android:animateLayoutChanges="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:padding="5dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/progressImage"
|
||||
android:layout_width="40dip"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/progressText"
|
||||
android:layout_width="202dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:text="aaaaaaaaaaaaa" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/delete_button"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="Cancel Process"
|
||||
android:src="@drawable/ic_action_cancel_light" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progressBar1"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,66 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/second"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:clickable="true"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:minHeight="60dip"
|
||||
android:padding="6dip" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="55dip"
|
||||
android:layout_height="55dip"
|
||||
android:clickable="false"
|
||||
android:padding="5dip"
|
||||
android:contentDescription="@string/icon" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_toRightOf="@id/icon"
|
||||
android:layout_marginLeft="3dip"
|
||||
android:layout_marginTop="5dip"
|
||||
android:clickable="false" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/firstline"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
|
||||
android:clickable="false"
|
||||
|
||||
android:textSize="17sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/firstline"
|
||||
android:layout_marginTop="5dip"
|
||||
android:clickable="false" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/secondLine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:gravity="left"
|
||||
android:textSize="15sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="3dip"
|
||||
android:clickable="false"
|
||||
android:textSize="13sp"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,24 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<EditText android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="false"
|
||||
|
||||
android:gravity="top|left"
|
||||
android:cursorVisible="true"
|
||||
android:background="@null"
|
||||
android:imeOptions="actionDone|flagNoFullscreen"
|
||||
android:inputType="textMultiLine|textImeMultiLine"
|
||||
android:text="@null"
|
||||
android:textAppearance="@style/secondary_text_appearance"
|
||||
android:id="@+id/fname"
|
||||
/><ProgressBar android:layout_gravity="top"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="true"
|
||||
android:id="@+id/pbar"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,32 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/second"
|
||||
android:layout_width="fill_parent"
|
||||
android:minHeight="55dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/listitem"
|
||||
android:clickable="true"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:padding="6dip"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:padding="5dip"
|
||||
android:layout_width="55dip"
|
||||
android:layout_height="55dip"
|
||||
android:clickable="false"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/icon" />
|
||||
<TextView
|
||||
android:id="@+id/firstline"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_toRightOf="@id/icon"
|
||||
android:layout_height="55dip"
|
||||
android:clickable="false"
|
||||
android:layout_gravity="center"
|
||||
android:textSize="17sp"
|
||||
android:gravity="center_vertical"
|
||||
|
||||
/>
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,17 @@
|
||||
<android.support.v4.view.ViewPager
|
||||
xmlns:android = "http://schemas.android.com/apk/res/android"
|
||||
android:id = "@+id/pager"
|
||||
android:layout_width ="match_parent"
|
||||
android:layout_height = "match_parent" >
|
||||
|
||||
<android.support.v4.view.PagerTitleStrip
|
||||
android:id="@+id/pager_title_strip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:background="#33b5e5"
|
||||
android:textColor="#000000"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
/>
|
||||
</android.support.v4.view.ViewPager>
|
||||
@@ -0,0 +1,38 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:id="@+id/item1"
|
||||
android:title="back"
|
||||
android:icon="@drawable/ic_action_back_light"
|
||||
android:showAsAction="always"/>
|
||||
<item android:id="@+id/item8"
|
||||
android:title="Paste Here"
|
||||
android:visible="false"
|
||||
android:icon="@drawable/ic_action_paste_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item2"
|
||||
android:title="home"
|
||||
android:icon="@drawable/home_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item3"
|
||||
android:title="Close"
|
||||
android:icon="@drawable/ic_action_cancel_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item5"
|
||||
android:title="Add"
|
||||
android:icon="@drawable/ic_action_new_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item6"
|
||||
android:title="Bookmarks"
|
||||
android:icon="@drawable/ic_action_not_important_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item7"
|
||||
android:title="Refresh"
|
||||
android:icon="@drawable/ic_action_refresh_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item4"
|
||||
android:title="Search"
|
||||
android:icon="@drawable/ic_action_search_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/item9"
|
||||
android:title="Set Current Directory As Home"
|
||||
android:showAsAction="ifRoom"/>
|
||||
</menu>
|
||||
@@ -0,0 +1,44 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:id="@+id/cpy"
|
||||
android:title="Copy"
|
||||
android:icon= "@drawable/ic_action_copy_light"
|
||||
android:showAsAction="always"/>
|
||||
<item android:id="@+id/cut"
|
||||
android:title="cut"
|
||||
android:icon="@drawable/ic_action_cut_light"
|
||||
android:showAsAction="always"/>
|
||||
<item android:id="@+id/delete"
|
||||
android:title="delete"
|
||||
android:icon="@drawable/ic_action_delete_light"
|
||||
android:showAsAction="always"/>
|
||||
<item android:id="@+id/all"
|
||||
android:title="Select All"
|
||||
android:icon="@drawable/ic_action_select_all_light"
|
||||
android:showAsAction="always"/>
|
||||
<item android:id="@+id/about"
|
||||
android:title="Properties"
|
||||
android:icon="@drawable/ic_action_about_light"
|
||||
android:showAsAction="ifRoom"/>
|
||||
<item android:id="@+id/rename"
|
||||
android:title="Rename"
|
||||
|
||||
/>
|
||||
<item android:id="@+id/sethome"
|
||||
android:title="Set As Home Folder"
|
||||
|
||||
/> <item android:id="@+id/share"
|
||||
android:title="Share"
|
||||
/>
|
||||
<item android:id="@+id/book"
|
||||
android:title="Add to Bookmarks"
|
||||
/>
|
||||
|
||||
<item android:id="@+id/ex"
|
||||
android:title="Extract"
|
||||
/>
|
||||
<item android:id="@+id/compress"
|
||||
android:title="Compress"
|
||||
/> <item android:id="@+id/openwith"
|
||||
android:title="Open With"
|
||||
/>
|
||||
</menu>
|
||||
@@ -0,0 +1,7 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:id="@+id/save"
|
||||
android:title="Save"
|
||||
android:icon="@drawable/ic_action_save_light"
|
||||
android:showAsAction="always"/>
|
||||
|
||||
</menu>
|
||||
@@ -0,0 +1,6 @@
|
||||
<resources>
|
||||
<color name="holo">#8833B5E5</color>
|
||||
<color name="safr">#5f777777</color>
|
||||
<color name="safrs">#5f777777</color>
|
||||
<color name="bar">#3f333333</color>
|
||||
</resources>
|
||||
@@ -0,0 +1,20 @@
|
||||
<!--
|
||||
Copyright 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<integer name="card_flip_time_full">300</integer>
|
||||
<integer name="card_flip_time_half">150</integer>
|
||||
</resources>
|
||||