aboutsummaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2014-10-28 03:26:42 +0100
committerJorge Ruesga <jorge@ruesga.com>2014-11-10 23:16:25 +0000
commit877d4660622ebcaa992f05396237169c289470c4 (patch)
treeb254cb04803096aa9695f42e1bcc914ba09e12fd /res/drawable
parentfcb4908c2c949f55ec966e09a0a91210dff2ca3f (diff)
downloadandroid_packages_apps_CMFileManager-877d4660622ebcaa992f05396237169c289470c4.tar.gz
android_packages_apps_CMFileManager-877d4660622ebcaa992f05396237169c289470c4.tar.bz2
android_packages_apps_CMFileManager-877d4660622ebcaa992f05396237169c289470c4.zip
cmfm: secure storage and other improvements
This patch adds support for virtual filesystems and implements a SecureStorage filesystem (a password protected area) mounted in /storage or /sdcard/storage (in chrooted environments). Also includes a better print support and a cleanup of the code and design of the menu drawer. Bump version to 2.0.0 Required: https://github.com/jruesga/android_external_libtruezip located in external/libtruezip Patchset 4: Fix selection of unmounted virtual storages. Fix actions on virtual mount points folders. Fix strings and typos. Change drop for delete secure storage. Patchset 5: Move actionbar buttons to navigation drawer Remove history position Patchset 6: Update theme preview images Fix filesystem status image on theme change Patchset 7: Fix binary file detection in editor (including unicode files) Patchset 8: Fix unsafe operations in virtual mountpoint logic Patchset 9: Rebase Change-Id: I65511352ca649dcbf238c8b07cf8c22465296e8e Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/fso_folder_remote.xml22
-rw-r--r--res/drawable/fso_folder_secure.xml22
-rw-r--r--res/drawable/holo_button_selector.xml3
3 files changed, 47 insertions, 0 deletions
diff --git a/res/drawable/fso_folder_remote.xml b/res/drawable/fso_folder_remote.xml
new file mode 100644
index 00000000..79f40efd
--- /dev/null
+++ b/res/drawable/fso_folder_remote.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 The CyanogenMod 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.
+ -->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@drawable/ic_fso_folder_drawable"/>
+ <item android:drawable="@drawable/ic_overlay_remote_drawable"/>
+
+</layer-list>
diff --git a/res/drawable/fso_folder_secure.xml b/res/drawable/fso_folder_secure.xml
new file mode 100644
index 00000000..1f27b843
--- /dev/null
+++ b/res/drawable/fso_folder_secure.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 The CyanogenMod 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.
+ -->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@drawable/ic_fso_folder_drawable"/>
+ <item android:drawable="@drawable/ic_overlay_secure_drawable"/>
+
+</layer-list>
diff --git a/res/drawable/holo_button_selector.xml b/res/drawable/holo_button_selector.xml
index 97ebf269..d6a5a8d7 100644
--- a/res/drawable/holo_button_selector.xml
+++ b/res/drawable/holo_button_selector.xml
@@ -24,6 +24,9 @@
android:state_enabled="true"
android:state_focused="true"/>
<item
+ android:drawable="@color/default_background_disabled"
+ android:state_enabled="false"/>
+ <item
android:drawable="@color/default_background"/>
</selector>