aboutsummaryrefslogtreecommitdiffstats
path: root/themes/res/drawable-hdpi
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2012-11-10 23:11:21 +0100
committerJorge Ruesga <jorge@ruesga.com>2012-11-11 20:30:06 +0100
commit554c4a75b3923f005115fca9f84174c841bea106 (patch)
tree47caf2803c8eb06a97340c1018b7d1419d22880a /themes/res/drawable-hdpi
parent17d3b81a120f00ecf6a76bd3b13720a912377b37 (diff)
downloadandroid_packages_apps_CMFileManager-554c4a75b3923f005115fca9f84174c841bea106.tar.gz
android_packages_apps_CMFileManager-554c4a75b3923f005115fca9f84174c841bea106.tar.bz2
android_packages_apps_CMFileManager-554c4a75b3923f005115fca9f84174c841bea106.zip
CMFileManager: Themes support + Dark theme
This change enabled the theme support, and added a new dark theme under the package CMFileManagerThemes. To compile under build system, it must be enabled in vendor/cm/config/common.mk or vendor/cm/config/themes_common.mk (this was requested in change http://review.cyanogenmod.org/#/c/26311/) Themes were enabled in a new settings option. Under this setting the application show the user the available themes installed in the system. -------------------- For build new themes, developers should: - Create a new package that contains an activity with: * Permission: com.cyanogenmod.filemanager.permissions.READ_THEME * Action: com.cyanogenmod.filemanager.actions.MAIN_THEME * Category: com.cyanogenmod.filemanager.categories.THEME - Define the themes_ids, themes_names and themes_descriptions arrays-strings definitions for the themes that the package support. - Create a xxx_theme.xml for every theme that the package support, where the xxx is the id of the theme. Put your resources in this file, prefixing the resource with the id of the theme (xxx_). For a list of all supported resources see theme.xml in res/values of CMFileManager project. ------------------- Other fixes: * Protect console buffers from NPE * Fix code style of xmls (layouts, drawables, ...) Patchset 2: Fixed code style and added Christian suggestion Patchset 3: Added forgotten READ_THEME permission check as described in the note above. Patchset 4: Use centerInside in theme preview for better image fit Change-Id: I4142da6d9ed1b06318e47ff9c05f9a874c62f3ae
Diffstat (limited to 'themes/res/drawable-hdpi')
-rw-r--r--themes/res/drawable-hdpi/btn_holo_dark_check_off_normal.pngbin0 -> 275 bytes
-rw-r--r--themes/res/drawable-hdpi/btn_holo_dark_check_on_normal.pngbin0 -> 447 bytes
-rw-r--r--themes/res/drawable-hdpi/btn_holo_dark_check_on_normal_inverted.pngbin0 -> 544 bytes
-rw-r--r--themes/res/drawable-hdpi/divider_horizontal_dark_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--themes/res/drawable-hdpi/divider_vertical_dark_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_accept.pngbin0 -> 532 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_bookmarks.pngbin0 -> 729 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_close.pngbin0 -> 634 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_config.pngbin0 -> 606 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_contextual_action.pngbin0 -> 611 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_expander_close.pngbin0 -> 405 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_expander_open.pngbin0 -> 408 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_filesystem.pngbin0 -> 363 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_fs_locked.pngbin0 -> 496 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_fs_unlocked.pngbin0 -> 468 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_fs_warning.pngbin0 -> 462 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_history.pngbin0 -> 1077 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_home.pngbin0 -> 2064 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_layout.pngbin0 -> 294 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_overflow.pngbin0 -> 574 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_save.pngbin0 -> 633 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_sdcard.pngbin0 -> 637 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_search.pngbin0 -> 969 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_sort_alphabetically.pngbin0 -> 1369 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_tab.pngbin0 -> 438 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_usb.pngbin0 -> 825 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_user_defined_bookmark.pngbin0 -> 798 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_holo_dark_view.pngbin0 -> 1587 bytes
-rw-r--r--themes/res/drawable-hdpi/ic_launcher.pngbin0 -> 4760 bytes
-rw-r--r--themes/res/drawable-hdpi/progress_bg_holo_dark.9.pngbin0 -> 178 bytes
-rw-r--r--themes/res/drawable-hdpi/progress_primary_holo_dark.9.pngbin0 -> 869 bytes
-rw-r--r--themes/res/drawable-hdpi/progress_secondary_holo_dark.9.pngbin0 -> 188 bytes
32 files changed, 0 insertions, 0 deletions
diff --git a/themes/res/drawable-hdpi/btn_holo_dark_check_off_normal.png b/themes/res/drawable-hdpi/btn_holo_dark_check_off_normal.png
new file mode 100644
index 00000000..0ecc8e5a
--- /dev/null
+++ b/themes/res/drawable-hdpi/btn_holo_dark_check_off_normal.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/btn_holo_dark_check_on_normal.png b/themes/res/drawable-hdpi/btn_holo_dark_check_on_normal.png
new file mode 100644
index 00000000..21788fdc
--- /dev/null
+++ b/themes/res/drawable-hdpi/btn_holo_dark_check_on_normal.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/btn_holo_dark_check_on_normal_inverted.png b/themes/res/drawable-hdpi/btn_holo_dark_check_on_normal_inverted.png
new file mode 100644
index 00000000..97f723d0
--- /dev/null
+++ b/themes/res/drawable-hdpi/btn_holo_dark_check_on_normal_inverted.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png b/themes/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png
new file mode 100644
index 00000000..60e2cb2d
--- /dev/null
+++ b/themes/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/divider_vertical_dark_opaque.9.png b/themes/res/drawable-hdpi/divider_vertical_dark_opaque.9.png
new file mode 100644
index 00000000..60e2cb2d
--- /dev/null
+++ b/themes/res/drawable-hdpi/divider_vertical_dark_opaque.9.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_accept.png b/themes/res/drawable-hdpi/ic_holo_dark_accept.png
new file mode 100644
index 00000000..ede11962
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_accept.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_bookmarks.png b/themes/res/drawable-hdpi/ic_holo_dark_bookmarks.png
new file mode 100644
index 00000000..8c964e10
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_bookmarks.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_close.png b/themes/res/drawable-hdpi/ic_holo_dark_close.png
new file mode 100644
index 00000000..87962ecf
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_close.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_config.png b/themes/res/drawable-hdpi/ic_holo_dark_config.png
new file mode 100644
index 00000000..1f6325e0
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_config.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_contextual_action.png b/themes/res/drawable-hdpi/ic_holo_dark_contextual_action.png
new file mode 100644
index 00000000..9e7b254c
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_contextual_action.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_expander_close.png b/themes/res/drawable-hdpi/ic_holo_dark_expander_close.png
new file mode 100644
index 00000000..94c6ec0b
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_expander_close.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_expander_open.png b/themes/res/drawable-hdpi/ic_holo_dark_expander_open.png
new file mode 100644
index 00000000..a81fecc8
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_expander_open.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_filesystem.png b/themes/res/drawable-hdpi/ic_holo_dark_filesystem.png
new file mode 100644
index 00000000..4c4ec36a
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_filesystem.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_fs_locked.png b/themes/res/drawable-hdpi/ic_holo_dark_fs_locked.png
new file mode 100644
index 00000000..e3aac478
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_fs_locked.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_fs_unlocked.png b/themes/res/drawable-hdpi/ic_holo_dark_fs_unlocked.png
new file mode 100644
index 00000000..24db9daf
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_fs_unlocked.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_fs_warning.png b/themes/res/drawable-hdpi/ic_holo_dark_fs_warning.png
new file mode 100644
index 00000000..26eab48e
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_fs_warning.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_history.png b/themes/res/drawable-hdpi/ic_holo_dark_history.png
new file mode 100644
index 00000000..d7f0881b
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_history.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_home.png b/themes/res/drawable-hdpi/ic_holo_dark_home.png
new file mode 100644
index 00000000..b647a412
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_home.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_layout.png b/themes/res/drawable-hdpi/ic_holo_dark_layout.png
new file mode 100644
index 00000000..33a1d8cb
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_layout.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_overflow.png b/themes/res/drawable-hdpi/ic_holo_dark_overflow.png
new file mode 100644
index 00000000..5f050269
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_overflow.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_save.png b/themes/res/drawable-hdpi/ic_holo_dark_save.png
new file mode 100644
index 00000000..d18cc5e8
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_save.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_sdcard.png b/themes/res/drawable-hdpi/ic_holo_dark_sdcard.png
new file mode 100644
index 00000000..9545efd7
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_sdcard.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_search.png b/themes/res/drawable-hdpi/ic_holo_dark_search.png
new file mode 100644
index 00000000..b8c2ba5d
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_search.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_sort_alphabetically.png b/themes/res/drawable-hdpi/ic_holo_dark_sort_alphabetically.png
new file mode 100644
index 00000000..a80e676d
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_sort_alphabetically.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_tab.png b/themes/res/drawable-hdpi/ic_holo_dark_tab.png
new file mode 100644
index 00000000..dde95461
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_tab.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_usb.png b/themes/res/drawable-hdpi/ic_holo_dark_usb.png
new file mode 100644
index 00000000..0c448eac
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_usb.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_user_defined_bookmark.png b/themes/res/drawable-hdpi/ic_holo_dark_user_defined_bookmark.png
new file mode 100644
index 00000000..c1814312
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_user_defined_bookmark.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_holo_dark_view.png b/themes/res/drawable-hdpi/ic_holo_dark_view.png
new file mode 100644
index 00000000..fd91f2c5
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_holo_dark_view.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/ic_launcher.png b/themes/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 00000000..f9f60cb7
--- /dev/null
+++ b/themes/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/progress_bg_holo_dark.9.png b/themes/res/drawable-hdpi/progress_bg_holo_dark.9.png
new file mode 100644
index 00000000..a4c5b8bc
--- /dev/null
+++ b/themes/res/drawable-hdpi/progress_bg_holo_dark.9.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/progress_primary_holo_dark.9.png b/themes/res/drawable-hdpi/progress_primary_holo_dark.9.png
new file mode 100644
index 00000000..b73abba7
--- /dev/null
+++ b/themes/res/drawable-hdpi/progress_primary_holo_dark.9.png
Binary files differ
diff --git a/themes/res/drawable-hdpi/progress_secondary_holo_dark.9.png b/themes/res/drawable-hdpi/progress_secondary_holo_dark.9.png
new file mode 100644
index 00000000..a75d0dd5
--- /dev/null
+++ b/themes/res/drawable-hdpi/progress_secondary_holo_dark.9.png
Binary files differ