aboutsummaryrefslogtreecommitdiffstats
path: root/res
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 /res
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 'res')
-rw-r--r--res/drawable-hdpi/divider_horizontal_bright_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--res/drawable-hdpi/divider_vertical_bright_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--res/drawable-hdpi/ic_ab_back_holo_light.pngbin0 -> 339 bytes
-rw-r--r--res/drawable-hdpi/progress_bg_holo_light.9.pngbin0 -> 175 bytes
-rw-r--r--res/drawable-hdpi/progress_primary_holo_light.9.pngbin0 -> 873 bytes
-rw-r--r--res/drawable-hdpi/progress_secondary_holo_light.9.pngbin0 -> 188 bytes
-rw-r--r--res/drawable-mdpi/divider_horizontal_bright_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--res/drawable-mdpi/divider_vertical_bright_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--res/drawable-mdpi/ic_ab_back_holo_light.pngbin0 -> 281 bytes
-rw-r--r--res/drawable-mdpi/progress_bg_holo_light.9.pngbin0 -> 161 bytes
-rw-r--r--res/drawable-mdpi/progress_primary_holo_light.9.pngbin0 -> 561 bytes
-rw-r--r--res/drawable-mdpi/progress_secondary_holo_light.9.pngbin0 -> 177 bytes
-rw-r--r--res/drawable-nodpi/bg_holo_background.9.pngbin0 -> 158 bytes
-rw-r--r--res/drawable-nodpi/bg_holo_popup_background.9.pngbin0 -> 166 bytes
-rw-r--r--res/drawable-nodpi/theme_no_preview.pngbin0 -> 3587 bytes
-rw-r--r--res/drawable-nodpi/theme_preview.pngbin0 -> 66556 bytes
-rw-r--r--res/drawable-xhdpi/divider_horizontal_bright_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--res/drawable-xhdpi/divider_vertical_bright_opaque.9.pngbin0 -> 106 bytes
-rw-r--r--res/drawable-xhdpi/ic_ab_back_holo_light.pngbin0 -> 401 bytes
-rw-r--r--res/drawable-xhdpi/progress_bg_holo_light.9.pngbin0 -> 178 bytes
-rw-r--r--res/drawable-xhdpi/progress_primary_holo_light.9.pngbin0 -> 1285 bytes
-rw-r--r--res/drawable-xhdpi/progress_secondary_holo_light.9.pngbin0 -> 192 bytes
-rw-r--r--res/drawable/checkable_selector.xml32
-rw-r--r--res/drawable/fso_type_app.xml32
-rw-r--r--res/drawable/fso_type_audio.xml32
-rw-r--r--res/drawable/fso_type_binary.xml32
-rw-r--r--res/drawable/fso_type_calendar.xml32
-rw-r--r--res/drawable/fso_type_cdimage.xml32
-rw-r--r--res/drawable/fso_type_compress.xml32
-rw-r--r--res/drawable/fso_type_contact.xml32
-rw-r--r--res/drawable/fso_type_database.xml32
-rw-r--r--res/drawable/fso_type_document.xml32
-rw-r--r--res/drawable/fso_type_ebook.xml32
-rw-r--r--res/drawable/fso_type_email.xml32
-rw-r--r--res/drawable/fso_type_executable.xml32
-rw-r--r--res/drawable/fso_type_feed.xml32
-rw-r--r--res/drawable/fso_type_font.xml32
-rw-r--r--res/drawable/fso_type_image.xml32
-rw-r--r--res/drawable/fso_type_markup_document.xml32
-rw-r--r--res/drawable/fso_type_pdf.xml32
-rw-r--r--res/drawable/fso_type_presentation.xml32
-rw-r--r--res/drawable/fso_type_security.xml32
-rw-r--r--res/drawable/fso_type_shell.xml32
-rw-r--r--res/drawable/fso_type_source.xml32
-rw-r--r--res/drawable/fso_type_spreadsheet.xml32
-rw-r--r--res/drawable/fso_type_system.xml32
-rw-r--r--res/drawable/fso_type_text.xml32
-rw-r--r--res/drawable/fso_type_video.xml32
-rw-r--r--res/drawable/holo_button_selector.xml29
-rw-r--r--res/drawable/holo_list_selector_deselected.xml32
-rw-r--r--res/drawable/holo_list_selector_deseleted.xml32
-rw-r--r--res/drawable/holo_list_selector_selected.xml32
-rw-r--r--res/drawable/holo_popup_selector.xml32
-rw-r--r--res/drawable/holo_selection.xml32
-rw-r--r--res/drawable/holo_selector.xml32
-rw-r--r--res/drawable/holo_selector_nonfocusable.xml32
-rw-r--r--res/drawable/progress_horizontal_holo_light.xml32
-rw-r--r--res/layout-land/theme_view.xml74
-rw-r--r--res/layout/editor.xml3
-rw-r--r--res/layout/execution_dialog.xml5
-rw-r--r--res/layout/filesystem_info_dialog.xml20
-rw-r--r--res/layout/fso_properties_dialog.xml50
-rw-r--r--res/layout/menu_item.xml9
-rw-r--r--res/layout/menu_item_separator.xml7
-rw-r--r--res/layout/message_progress_dialog.xml2
-rw-r--r--res/layout/navigation.xml1
-rw-r--r--res/layout/navigation_view_details_item.xml2
-rw-r--r--res/layout/navigation_view_selectionbar.xml1
-rw-r--r--res/layout/navigation_view_simple_item.xml2
-rw-r--r--res/layout/option_list_item.xml5
-rw-r--r--res/layout/search_item.xml2
-rw-r--r--res/layout/theme_roulette.xml35
-rw-r--r--res/layout/theme_selector_preference.xml74
-rw-r--r--res/layout/theme_view.xml64
-rw-r--r--res/raw/changelog6
-rw-r--r--res/raw/mime_types.properties560
-rw-r--r--res/values/arrays.xml12
-rw-r--r--res/values/colors.xml4
-rw-r--r--res/values/dimen.xml6
-rw-r--r--res/values/strings.xml20
-rw-r--r--res/values/styles.xml15
-rw-r--r--res/values/theme.xml177
-rw-r--r--res/xml/preferences_headers.xml4
-rw-r--r--res/xml/preferences_search.xml1
-rw-r--r--res/xml/preferences_themes.xml33
85 files changed, 1475 insertions, 836 deletions
diff --git a/res/drawable-hdpi/divider_horizontal_bright_opaque.9.png b/res/drawable-hdpi/divider_horizontal_bright_opaque.9.png
new file mode 100644
index 00000000..eb75a220
--- /dev/null
+++ b/res/drawable-hdpi/divider_horizontal_bright_opaque.9.png
Binary files differ
diff --git a/res/drawable-hdpi/divider_vertical_bright_opaque.9.png b/res/drawable-hdpi/divider_vertical_bright_opaque.9.png
new file mode 100644
index 00000000..eb75a220
--- /dev/null
+++ b/res/drawable-hdpi/divider_vertical_bright_opaque.9.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_ab_back_holo_light.png b/res/drawable-hdpi/ic_ab_back_holo_light.png
new file mode 100644
index 00000000..e77cecbe
--- /dev/null
+++ b/res/drawable-hdpi/ic_ab_back_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/progress_bg_holo_light.9.png b/res/drawable-hdpi/progress_bg_holo_light.9.png
new file mode 100644
index 00000000..3f12166d
--- /dev/null
+++ b/res/drawable-hdpi/progress_bg_holo_light.9.png
Binary files differ
diff --git a/res/drawable-hdpi/progress_primary_holo_light.9.png b/res/drawable-hdpi/progress_primary_holo_light.9.png
new file mode 100644
index 00000000..2f76a226
--- /dev/null
+++ b/res/drawable-hdpi/progress_primary_holo_light.9.png
Binary files differ
diff --git a/res/drawable-hdpi/progress_secondary_holo_light.9.png b/res/drawable-hdpi/progress_secondary_holo_light.9.png
new file mode 100644
index 00000000..955b7080
--- /dev/null
+++ b/res/drawable-hdpi/progress_secondary_holo_light.9.png
Binary files differ
diff --git a/res/drawable-mdpi/divider_horizontal_bright_opaque.9.png b/res/drawable-mdpi/divider_horizontal_bright_opaque.9.png
new file mode 100644
index 00000000..eb75a220
--- /dev/null
+++ b/res/drawable-mdpi/divider_horizontal_bright_opaque.9.png
Binary files differ
diff --git a/res/drawable-mdpi/divider_vertical_bright_opaque.9.png b/res/drawable-mdpi/divider_vertical_bright_opaque.9.png
new file mode 100644
index 00000000..eb75a220
--- /dev/null
+++ b/res/drawable-mdpi/divider_vertical_bright_opaque.9.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_ab_back_holo_light.png b/res/drawable-mdpi/ic_ab_back_holo_light.png
new file mode 100644
index 00000000..41cb0bcb
--- /dev/null
+++ b/res/drawable-mdpi/ic_ab_back_holo_light.png
Binary files differ
diff --git a/res/drawable-mdpi/progress_bg_holo_light.9.png b/res/drawable-mdpi/progress_bg_holo_light.9.png
new file mode 100644
index 00000000..780b4b25
--- /dev/null
+++ b/res/drawable-mdpi/progress_bg_holo_light.9.png
Binary files differ
diff --git a/res/drawable-mdpi/progress_primary_holo_light.9.png b/res/drawable-mdpi/progress_primary_holo_light.9.png
new file mode 100644
index 00000000..6fb94457
--- /dev/null
+++ b/res/drawable-mdpi/progress_primary_holo_light.9.png
Binary files differ
diff --git a/res/drawable-mdpi/progress_secondary_holo_light.9.png b/res/drawable-mdpi/progress_secondary_holo_light.9.png
new file mode 100644
index 00000000..9104cf94
--- /dev/null
+++ b/res/drawable-mdpi/progress_secondary_holo_light.9.png
Binary files differ
diff --git a/res/drawable-nodpi/bg_holo_background.9.png b/res/drawable-nodpi/bg_holo_background.9.png
new file mode 100644
index 00000000..ca767e94
--- /dev/null
+++ b/res/drawable-nodpi/bg_holo_background.9.png
Binary files differ
diff --git a/res/drawable-nodpi/bg_holo_popup_background.9.png b/res/drawable-nodpi/bg_holo_popup_background.9.png
new file mode 100644
index 00000000..fe042415
--- /dev/null
+++ b/res/drawable-nodpi/bg_holo_popup_background.9.png
Binary files differ
diff --git a/res/drawable-nodpi/theme_no_preview.png b/res/drawable-nodpi/theme_no_preview.png
new file mode 100644
index 00000000..4e417030
--- /dev/null
+++ b/res/drawable-nodpi/theme_no_preview.png
Binary files differ
diff --git a/res/drawable-nodpi/theme_preview.png b/res/drawable-nodpi/theme_preview.png
new file mode 100644
index 00000000..f385813a
--- /dev/null
+++ b/res/drawable-nodpi/theme_preview.png
Binary files differ
diff --git a/res/drawable-xhdpi/divider_horizontal_bright_opaque.9.png b/res/drawable-xhdpi/divider_horizontal_bright_opaque.9.png
new file mode 100644
index 00000000..eb75a220
--- /dev/null
+++ b/res/drawable-xhdpi/divider_horizontal_bright_opaque.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/divider_vertical_bright_opaque.9.png b/res/drawable-xhdpi/divider_vertical_bright_opaque.9.png
new file mode 100644
index 00000000..eb75a220
--- /dev/null
+++ b/res/drawable-xhdpi/divider_vertical_bright_opaque.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_ab_back_holo_light.png b/res/drawable-xhdpi/ic_ab_back_holo_light.png
new file mode 100644
index 00000000..ef30e5fd
--- /dev/null
+++ b/res/drawable-xhdpi/ic_ab_back_holo_light.png
Binary files differ
diff --git a/res/drawable-xhdpi/progress_bg_holo_light.9.png b/res/drawable-xhdpi/progress_bg_holo_light.9.png
new file mode 100644
index 00000000..cbd19ac4
--- /dev/null
+++ b/res/drawable-xhdpi/progress_bg_holo_light.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/progress_primary_holo_light.9.png b/res/drawable-xhdpi/progress_primary_holo_light.9.png
new file mode 100644
index 00000000..e62123c4
--- /dev/null
+++ b/res/drawable-xhdpi/progress_primary_holo_light.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/progress_secondary_holo_light.9.png b/res/drawable-xhdpi/progress_secondary_holo_light.9.png
new file mode 100644
index 00000000..37c6d5ff
--- /dev/null
+++ b/res/drawable-xhdpi/progress_secondary_holo_light.9.png
Binary files differ
diff --git a/res/drawable/checkable_selector.xml b/res/drawable/checkable_selector.xml
index 93814c58..cac107b2 100644
--- a/res/drawable/checkable_selector.xml
+++ b/res/drawable/checkable_selector.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
@@ -22,4 +22,4 @@
<item
android:drawable="@drawable/btn_holo_light_check_off_normal"/>
-</selector> \ No newline at end of file
+</selector>
diff --git a/res/drawable/fso_type_app.xml b/res/drawable/fso_type_app.xml
index cd571950..dfac60d0 100644
--- a/res/drawable/fso_type_app.xml
+++ b/res/drawable/fso_type_app.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_app"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_audio.xml b/res/drawable/fso_type_audio.xml
index 7dc83309..5ec1e778 100644
--- a/res/drawable/fso_type_audio.xml
+++ b/res/drawable/fso_type_audio.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_audio"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_binary.xml b/res/drawable/fso_type_binary.xml
index 2f48f644..089715f2 100644
--- a/res/drawable/fso_type_binary.xml
+++ b/res/drawable/fso_type_binary.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_binary"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_calendar.xml b/res/drawable/fso_type_calendar.xml
index f3fe3d68..318b05f9 100644
--- a/res/drawable/fso_type_calendar.xml
+++ b/res/drawable/fso_type_calendar.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_calendar"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_cdimage.xml b/res/drawable/fso_type_cdimage.xml
index c949daa0..a1ea80bf 100644
--- a/res/drawable/fso_type_cdimage.xml
+++ b/res/drawable/fso_type_cdimage.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_cdimage"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_compress.xml b/res/drawable/fso_type_compress.xml
index 701906f8..e64f5374 100644
--- a/res/drawable/fso_type_compress.xml
+++ b/res/drawable/fso_type_compress.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_compress"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_contact.xml b/res/drawable/fso_type_contact.xml
index d6c6d6ba..f87a7d5d 100644
--- a/res/drawable/fso_type_contact.xml
+++ b/res/drawable/fso_type_contact.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_contact"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_database.xml b/res/drawable/fso_type_database.xml
index 23e8e3ed..09ef9d47 100644
--- a/res/drawable/fso_type_database.xml
+++ b/res/drawable/fso_type_database.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_database"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_document.xml b/res/drawable/fso_type_document.xml
index 334c7eae..cd98ac53 100644
--- a/res/drawable/fso_type_document.xml
+++ b/res/drawable/fso_type_document.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_document"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_ebook.xml b/res/drawable/fso_type_ebook.xml
index 02ae0c57..73dcccb2 100644
--- a/res/drawable/fso_type_ebook.xml
+++ b/res/drawable/fso_type_ebook.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_ebook"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_email.xml b/res/drawable/fso_type_email.xml
index 393495e8..b945ead5 100644
--- a/res/drawable/fso_type_email.xml
+++ b/res/drawable/fso_type_email.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_email"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_executable.xml b/res/drawable/fso_type_executable.xml
index 1ea97357..da032284 100644
--- a/res/drawable/fso_type_executable.xml
+++ b/res/drawable/fso_type_executable.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_executable"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_feed.xml b/res/drawable/fso_type_feed.xml
index e70c4cce..06a05412 100644
--- a/res/drawable/fso_type_feed.xml
+++ b/res/drawable/fso_type_feed.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_feed"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_font.xml b/res/drawable/fso_type_font.xml
index 5ed448d5..a28e384d 100644
--- a/res/drawable/fso_type_font.xml
+++ b/res/drawable/fso_type_font.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_font"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_image.xml b/res/drawable/fso_type_image.xml
index c1ee8e77..1fbd6b80 100644
--- a/res/drawable/fso_type_image.xml
+++ b/res/drawable/fso_type_image.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_image"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_markup_document.xml b/res/drawable/fso_type_markup_document.xml
index 4b99ee69..e2c51095 100644
--- a/res/drawable/fso_type_markup_document.xml
+++ b/res/drawable/fso_type_markup_document.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_markup_document"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_pdf.xml b/res/drawable/fso_type_pdf.xml
index 76ac88b7..748fdaa8 100644
--- a/res/drawable/fso_type_pdf.xml
+++ b/res/drawable/fso_type_pdf.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_pdf"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_presentation.xml b/res/drawable/fso_type_presentation.xml
index bd6ef567..c1aed9d7 100644
--- a/res/drawable/fso_type_presentation.xml
+++ b/res/drawable/fso_type_presentation.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_presentation"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_security.xml b/res/drawable/fso_type_security.xml
index 48e3e999..aaabb529 100644
--- a/res/drawable/fso_type_security.xml
+++ b/res/drawable/fso_type_security.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_security"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_shell.xml b/res/drawable/fso_type_shell.xml
index ff69b465..d7e43907 100644
--- a/res/drawable/fso_type_shell.xml
+++ b/res/drawable/fso_type_shell.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_shell"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_source.xml b/res/drawable/fso_type_source.xml
index 143d43a6..32702700 100644
--- a/res/drawable/fso_type_source.xml
+++ b/res/drawable/fso_type_source.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_source"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_spreadsheet.xml b/res/drawable/fso_type_spreadsheet.xml
index cbf7a067..d53d292b 100644
--- a/res/drawable/fso_type_spreadsheet.xml
+++ b/res/drawable/fso_type_spreadsheet.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_spreadsheet"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_system.xml b/res/drawable/fso_type_system.xml
index 084467ec..4f17694c 100644
--- a/res/drawable/fso_type_system.xml
+++ b/res/drawable/fso_type_system.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_system"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_text.xml b/res/drawable/fso_type_text.xml
index 4f28b152..c5510645 100644
--- a/res/drawable/fso_type_text.xml
+++ b/res/drawable/fso_type_text.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_text"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/fso_type_video.xml b/res/drawable/fso_type_video.xml
index 7fecb88d..1b81c6f1 100644
--- a/res/drawable/fso_type_video.xml
+++ b/res/drawable/fso_type_video.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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_default"/>
<item android:drawable="@drawable/ic_fso_type_video"/>
-</layer-list> \ No newline at end of file
+</layer-list>
diff --git a/res/drawable/holo_button_selector.xml b/res/drawable/holo_button_selector.xml
new file mode 100644
index 00000000..97ebf269
--- /dev/null
+++ b/res/drawable/holo_button_selector.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+ -->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
+
+ <item
+ android:drawable="@android:color/holo_blue_dark"
+ android:state_pressed="true"/>
+ <item
+ android:drawable="@android:color/holo_blue_dark"
+ android:state_enabled="true"
+ android:state_focused="true"/>
+ <item
+ android:drawable="@color/default_background"/>
+
+</selector>
diff --git a/res/drawable/holo_list_selector_deselected.xml b/res/drawable/holo_list_selector_deselected.xml
new file mode 100644
index 00000000..0a68e320
--- /dev/null
+++ b/res/drawable/holo_list_selector_deselected.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+ -->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
+
+ <item
+ android:drawable="@color/blue_transparent"
+ android:state_selected="true"/>
+ <item
+ android:drawable="@android:color/holo_blue_dark"
+ android:state_pressed="true"/>
+ <item
+ android:drawable="@android:color/holo_blue_light"
+ android:state_enabled="true"
+ android:state_focused="true"/>
+ <item
+ android:drawable="@android:color/transparent"/>
+
+</selector>
diff --git a/res/drawable/holo_list_selector_deseleted.xml b/res/drawable/holo_list_selector_deseleted.xml
deleted file mode 100644
index f4c10147..00000000
--- a/res/drawable/holo_list_selector_deseleted.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
-
- <item
- android:drawable="@color/blue_transparent"
- android:state_selected="true"/>
- <item
- android:drawable="@android:color/holo_blue_dark"
- android:state_pressed="true"/>
- <item
- android:drawable="@android:color/holo_blue_light"
- android:state_enabled="true"
- android:state_focused="true"/>
- <item
- android:drawable="@color/default_background"/>
-
-</selector> \ No newline at end of file
diff --git a/res/drawable/holo_list_selector_selected.xml b/res/drawable/holo_list_selector_selected.xml
index f5b7cda2..b560c34b 100644
--- a/res/drawable/holo_list_selector_selected.xml
+++ b/res/drawable/holo_list_selector_selected.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
<item
@@ -29,4 +29,4 @@
<item
android:drawable="@color/blue_transparent"/>
-</selector> \ No newline at end of file
+</selector>
diff --git a/res/drawable/holo_popup_selector.xml b/res/drawable/holo_popup_selector.xml
new file mode 100644
index 00000000..fcda638e
--- /dev/null
+++ b/res/drawable/holo_popup_selector.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+ -->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
+
+ <item
+ android:drawable="@color/blue_transparent"
+ android:state_selected="true"/>
+ <item
+ android:drawable="@android:color/holo_blue_dark"
+ android:state_pressed="true"/>
+ <item
+ android:drawable="@android:color/holo_blue_light"
+ android:state_enabled="true"
+ android:state_focused="true"/>
+ <item
+ android:drawable="@drawable/bg_holo_popup_background"/>
+
+</selector>
diff --git a/res/drawable/holo_selection.xml b/res/drawable/holo_selection.xml
index 2be8ac50..8b13f21c 100644
--- a/res/drawable/holo_selection.xml
+++ b/res/drawable/holo_selection.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
<item
@@ -34,4 +34,4 @@
<item
android:drawable="@android:color/transparent"/>
-</selector> \ No newline at end of file
+</selector>
diff --git a/res/drawable/holo_selector.xml b/res/drawable/holo_selector.xml
index 38575cf9..e9c03d5d 100644
--- a/res/drawable/holo_selector.xml
+++ b/res/drawable/holo_selector.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
<item
@@ -26,4 +26,4 @@
<item
android:drawable="@android:color/transparent"/>
-</selector> \ No newline at end of file
+</selector>
diff --git a/res/drawable/holo_selector_nonfocusable.xml b/res/drawable/holo_selector_nonfocusable.xml
index e5ea90e4..ab161cdb 100644
--- a/res/drawable/holo_selector_nonfocusable.xml
+++ b/res/drawable/holo_selector_nonfocusable.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- ** Copyright (C) 2012 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.
--->
+<!-- Copyright (C) 2012 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.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
<item
@@ -22,4 +22,4 @@
<item
android:drawable="@android:color/transparent"/>
-</selector> \ No newline at end of file
+</selector>
diff --git a/res/drawable/progress_horizontal_holo_light.xml b/res/drawable/progress_horizontal_holo_light.xml
new file mode 100644
index 00000000..3dfe3218
--- /dev/null
+++ b/res/drawable/progress_horizontal_holo_light.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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.
+-->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:id="@android:id/background"
+ android:drawable="@drawable/progress_bg_holo_light" />
+
+ <item android:id="@android:id/secondaryProgress">
+ <scale android:scaleWidth="100%"
+ android:drawable="@drawable/progress_secondary_holo_light" />
+ </item>
+
+ <item android:id="@android:id/progress">
+ <scale android:scaleWidth="100%"
+ android:drawable="@drawable/progress_primary_holo_light" />
+ </item>
+
+</layer-list>
diff --git a/res/layout-land/theme_view.xml b/res/layout-land/theme_view.xml
new file mode 100644
index 00000000..93772ec1
--- /dev/null
+++ b/res/layout-land/theme_view.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<com.cyanogenmod.filemanager.ui.preferences.ThemeView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="1dp"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <RelativeLayout
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5">
+ <TextView
+ android:id="@+id/theme_name"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:gravity="center"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textAppearance="@style/primary_text_appearance" />
+
+ <TextView
+ android:id="@+id/theme_author"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/theme_name"
+ android:gravity="center"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textAppearance="@style/primary_text_appearance_nohighlight" />
+
+ <TextView
+ android:id="@+id/theme_desc"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:gravity="center"
+ android:ellipsize="end"
+ android:singleLine="false"
+ android:maxLines="4"
+ android:textAppearance="@style/secondary_text_appearance" />
+ </RelativeLayout>
+
+ <ImageView
+ android:id="@+id/theme_preview"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ android:padding="@dimen/default_margin"
+ android:layout_gravity="center"
+ android:scaleType="centerInside"
+ android:contentDescription="@null" />
+ </LinearLayout>
+
+</com.cyanogenmod.filemanager.ui.preferences.ThemeView>
diff --git a/res/layout/editor.xml b/res/layout/editor.xml
index d24f9fbb..af78d622 100644
--- a/res/layout/editor.xml
+++ b/res/layout/editor.xml
@@ -15,6 +15,7 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/editor_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -80,4 +81,4 @@
</RelativeLayout>
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>
diff --git a/res/layout/execution_dialog.xml b/res/layout/execution_dialog.xml
index 4831d9c5..b6adc0c8 100644
--- a/res/layout/execution_dialog.xml
+++ b/res/layout/execution_dialog.xml
@@ -26,6 +26,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
+ android:id="@+id/execution_script_name_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -51,6 +52,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
+ android:id="@+id/execution_time_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -70,6 +72,7 @@
android:textAppearance="@style/secondary_text_appearance" />
<TextView
+ android:id="@+id/execution_exitcode_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -109,4 +112,4 @@
</ScrollView>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>
diff --git a/res/layout/filesystem_info_dialog.xml b/res/layout/filesystem_info_dialog.xml
index 00b5541b..b5c0aa81 100644
--- a/res/layout/filesystem_info_dialog.xml
+++ b/res/layout/filesystem_info_dialog.xml
@@ -26,6 +26,7 @@
android:orientation="vertical" >
<LinearLayout
+ android:id="@+id/filesystem_info_dialog_tabhost"
android:layout_width="match_parent"
android:layout_height="@dimen/default_row_height"
android:orientation="horizontal" >
@@ -42,7 +43,9 @@
android:textAllCaps="true"
android:textAppearance="@style/primary_text_appearance" />
- <include layout="@layout/horizontal_divider" />
+ <include
+ android:id="@+id/filesystem_info_dialog_tab_divider1"
+ layout="@layout/horizontal_divider" />
<TextView
android:id="@+id/filesystem_info_dialog_tab_disk_usage"
@@ -61,7 +64,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" >
- <include layout="@layout/vertical_divider" />
+ <include
+ android:id="@+id/filesystem_info_dialog_tab_divider2"
+ layout="@layout/vertical_divider" />
</LinearLayout>
</LinearLayout>
@@ -86,6 +91,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_status_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -109,6 +115,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_mount_point_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -132,6 +139,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_device_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -155,6 +163,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_type_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -178,6 +187,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_options_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -202,6 +212,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_dump_pass_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -270,6 +281,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_total_disk_usage_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -292,6 +304,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_used_disk_usage_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -314,6 +327,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/filesystem_info_free_disk_usage_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -332,4 +346,4 @@
</TableLayout>
</LinearLayout>
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>
diff --git a/res/layout/fso_properties_dialog.xml b/res/layout/fso_properties_dialog.xml
index 13cd1260..65c962ff 100644
--- a/res/layout/fso_properties_dialog.xml
+++ b/res/layout/fso_properties_dialog.xml
@@ -25,6 +25,7 @@
android:layout_height="wrap_content" >
<LinearLayout
+ android:id="@+id/fso_properties_dialog_tabhost"
android:layout_width="match_parent"
android:layout_height="@dimen/default_row_height" >
@@ -40,7 +41,9 @@
android:textAllCaps="true"
android:textAppearance="@style/primary_text_appearance" />
- <include layout="@layout/horizontal_divider" />
+ <include
+ android:id="@+id/fso_properties_dialog_tab_divider1"
+ layout="@layout/horizontal_divider" />
<TextView
android:id="@+id/fso_properties_dialog_tab_permissions"
@@ -59,7 +62,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" >
- <include layout="@layout/vertical_divider" />
+ <include
+ android:id="@+id/fso_properties_dialog_tab_divider2"
+ layout="@layout/vertical_divider" />
</LinearLayout>
</TableLayout>
@@ -84,6 +89,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_name_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -107,6 +113,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_parent_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -131,6 +138,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_type_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -155,6 +163,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_category_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -180,6 +189,7 @@
android:visibility="gone" >
<TextView
+ android:id="@+id/fso_properties_link_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -203,6 +213,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_size_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -228,6 +239,7 @@
android:visibility="gone" >
<TextView
+ android:id="@+id/fso_properties_contains_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -251,6 +263,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_date_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -267,24 +280,6 @@
android:singleLine="false"
android:textAppearance="@style/secondary_text_appearance" />
</TableRow>
-
- <!-- Info message -->
- <TextView
- android:id="@+id/fso_properties_msg"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="@dimen/extra_large_margin"
- android:layout_marginRight="@dimen/extra_large_margin"
- android:contentDescription="@null"
- android:drawableLeft="@drawable/ic_holo_light_fs_warning"
- android:drawablePadding="@dimen/default_margin"
- android:gravity="left|center_vertical"
- android:singleLine="false"
- android:text="@null"
- android:textAppearance="@style/secondary_text_appearance"
- android:textSize="@dimen/note_text_size"
- android:visibility="gone" />
</TableLayout>
</ScrollView>
@@ -314,6 +309,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_owner_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -337,6 +333,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_group_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
@@ -361,7 +358,9 @@
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp" >
- <include layout="@layout/vertical_divider" />
+ <include
+ android:id="@+id/fso_properties_dialog_tab_divider3"
+ layout="@layout/vertical_divider" />
</LinearLayout>
<!-- Permissions -->
@@ -384,6 +383,7 @@
android:textAppearance="@style/primary_text_appearance" />
<TextView
+ android:id="@+id/fso_properties_permissions_special_label"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -393,6 +393,7 @@
android:textAppearance="@style/primary_text_appearance" />
<TextView
+ android:id="@+id/fso_properties_permissions_read_label"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -402,6 +403,7 @@
android:textAppearance="@style/primary_text_appearance" />
<TextView
+ android:id="@+id/fso_properties_permissions_write_label"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -411,6 +413,7 @@
android:textAppearance="@style/primary_text_appearance" />
<TextView
+ android:id="@+id/fso_properties_permissions_execute_label"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -426,6 +429,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_permissions_owner_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -469,6 +473,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_permissions_group_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -512,6 +517,7 @@
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
+ android:id="@+id/fso_properties_permissions_others_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -571,4 +577,4 @@
</LinearLayout>
</ScrollView>
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>
diff --git a/res/layout/menu_item.xml b/res/layout/menu_item.xml
index 5a9112b1..762ec28c 100644
--- a/res/layout/menu_item.xml
+++ b/res/layout/menu_item.xml
@@ -14,10 +14,13 @@
limitations under the License.
-->
+<!-- The layout_height must hardcode here from @dimen/default_row_height, because
+ it is not resolved in themed context, because theme context and app context are
+ not the same -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
- android:layout_height="@dimen/default_row_height"
- android:background="@drawable/holo_list_selector_deseleted" >
+ android:layout_height="48dp"
+ android:background="@drawable/holo_list_selector_deselected" >
<TextView
android:id="@+id/menu_item_text"
@@ -33,4 +36,4 @@
android:singleLine="true"
android:textAppearance="@style/primary_text_appearance_nohighlight" />
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>
diff --git a/res/layout/menu_item_separator.xml b/res/layout/menu_item_separator.xml
index 6c9010da..90d12e31 100644
--- a/res/layout/menu_item_separator.xml
+++ b/res/layout/menu_item_separator.xml
@@ -14,13 +14,16 @@
limitations under the License.
-->
+<!-- The layout_height must hardcode here from @dimen/vertical_divider_height, because
+ it is not resolved in themed context, because theme context and app context are
+ not the same -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
- android:layout_height="@dimen/vertical_divider_height">
+ android:layout_height="0.75dp">
<TextView
android:id="@+id/menu_item_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>
diff --git a/res/layout/message_progress_dialog.xml b/res/layout/message_progress_dialog.xml
index b30fb197..2665c9a0 100644
--- a/res/layout/message_progress_dialog.xml
+++ b/res/layout/message_progress_dialog.xml
@@ -57,6 +57,6 @@
android:text="@null"
android:textAppearance="@style/secondary_text_appearance"
android:textStyle="normal"
- android:layout_marginBottom="@dimen/extra_margin" />
+ android:paddingBottom="@dimen/extra_margin" />
</RelativeLayout>
diff --git a/res/layout/navigation.xml b/res/layout/navigation.xml
index d1ab805c..f77033c7 100644
--- a/res/layout/navigation.xml
+++ b/res/layout/navigation.xml
@@ -34,6 +34,7 @@
android:id="@+id/navigation_selectionbar"
android:layout_width="match_parent"
android:layout_height="@dimen/small_row_height"
+ android:background="@drawable/bg_holo_selectionbar"
android:visibility="invisible" />
<!-- StatusBar -->
diff --git a/res/layout/navigation_view_details_item.xml b/res/layout/navigation_view_details_item.xml
index 243fdeaa..0422155c 100644
--- a/res/layout/navigation_view_details_item.xml
+++ b/res/layout/navigation_view_details_item.xml
@@ -18,7 +18,7 @@
android:id="@+id/navigation_view_details_item"
android:layout_width="match_parent"
android:layout_height="@dimen/default_row_height"
- android:background="@drawable/holo_list_selector_deseleted" >
+ android:background="@drawable/holo_list_selector_deselected" >
<com.cyanogenmod.filemanager.ui.widgets.TransparentNonFocusableButtonItem
android:id="@+id/navigation_view_item_check"
diff --git a/res/layout/navigation_view_selectionbar.xml b/res/layout/navigation_view_selectionbar.xml
index 195f3c49..cc5bf05d 100644
--- a/res/layout/navigation_view_selectionbar.xml
+++ b/res/layout/navigation_view_selectionbar.xml
@@ -17,7 +17,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@drawable/bg_holo_selectionbar"
android:orientation="horizontal" >
<com.cyanogenmod.filemanager.ui.widgets.ButtonItem
diff --git a/res/layout/navigation_view_simple_item.xml b/res/layout/navigation_view_simple_item.xml
index 3ef98bb1..4e00fa01 100644
--- a/res/layout/navigation_view_simple_item.xml
+++ b/res/layout/navigation_view_simple_item.xml
@@ -18,7 +18,7 @@
android:id="@+id/navigation_view_details_item"
android:layout_width="match_parent"
android:layout_height="@dimen/default_row_height"
- android:background="@drawable/holo_list_selector_deseleted" >
+ android:background="@drawable/holo_list_selector_deselected" >
<com.cyanogenmod.filemanager.ui.widgets.TransparentNonFocusableButtonItem
android:id="@+id/navigation_view_item_check"
diff --git a/res/layout/option_list_item.xml b/res/layout/option_list_item.xml
index b87aa455..48f1c51d 100644
--- a/res/layout/option_list_item.xml
+++ b/res/layout/option_list_item.xml
@@ -14,9 +14,12 @@
limitations under the License.
-->
+<!-- The layout_height must hardcode here from @dimen/default_row_height, because
+ it is not resolved in themed context, because theme context and app context are
+ not the same -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
- android:layout_height="@dimen/default_row_height"
+ android:layout_height="48dp"
android:background="@drawable/holo_selector" >
<ImageView
diff --git a/res/layout/search_item.xml b/res/layout/search_item.xml
index af6e742e..23a70075 100644
--- a/res/layout/search_item.xml
+++ b/res/layout/search_item.xml
@@ -18,7 +18,7 @@
android:id="@+id/search_item"
android:layout_width="match_parent"
android:layout_height="@dimen/default_row_height"
- android:background="@drawable/holo_list_selector_deseleted" >
+ android:background="@drawable/holo_list_selector_deselected" >
<ImageView
android:id="@+id/search_item_icon"
diff --git a/res/layout/theme_roulette.xml b/res/layout/theme_roulette.xml
new file mode 100644
index 00000000..1590e6df
--- /dev/null
+++ b/res/layout/theme_roulette.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/theme_roulette_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <View
+ android:id="@+id/spacer1"
+ android:layout_width="1dp"
+ android:layout_height="match_parent" />
+
+ <!-- Roulette views goes here -->
+
+ <View
+ android:id="@+id/spacer2"
+ android:layout_width="1dp"
+ android:layout_height="match_parent" />
+
+</LinearLayout>
diff --git a/res/layout/theme_selector_preference.xml b/res/layout/theme_selector_preference.xml
new file mode 100644
index 00000000..d7118f4a
--- /dev/null
+++ b/res/layout/theme_selector_preference.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:padding="@dimen/extra_margin">
+
+ <!-- Required by Preference. Not used -->
+ <TextView android:id="@android:id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
+ <!-- Required by Preference. Not used -->
+ <TextView android:id="@android:id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
+ <!-- Required by Preference. Not used -->
+ <LinearLayout android:id="@android:id/widget_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
+
+ <!-- THEME PREFERENCE LAYOUT -->
+
+ <Button
+ android:id="@+id/theme_button"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/default_row_height"
+ android:layout_alignParentBottom="true"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="@dimen/default_margin"
+ android:text="@string/pref_themes_set_theme"
+ android:enabled="false" />
+
+ <!-- Theme roulette -->
+ <com.cyanogenmod.filemanager.ui.preferences.ThemeRoulette
+ android:id="@+id/theme_roulette"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentTop="true"
+ android:layout_above="@id/theme_button"
+ android:scrollbars="none" />
+
+ <ProgressBar
+ android:id="@+id/theme_waiting"
+ android:layout_width="@dimen/default_row_height"
+ android:layout_height="@dimen/default_row_height"
+ android:layout_above="@id/theme_button"
+ android:layout_alignParentTop="true"
+ android:layout_centerInParent="true"
+ android:indeterminate="true"
+ android:indeterminateOnly="true"
+ android:visibility="gone" />
+
+</RelativeLayout>
diff --git a/res/layout/theme_view.xml b/res/layout/theme_view.xml
new file mode 100644
index 00000000..356d1070
--- /dev/null
+++ b/res/layout/theme_view.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<com.cyanogenmod.filemanager.ui.preferences.ThemeView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="1dp"
+ android:layout_height="match_parent">
+
+ <TextView
+ android:id="@+id/theme_name"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:gravity="center"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textAppearance="@style/primary_text_appearance" />
+
+ <TextView
+ android:id="@+id/theme_author"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/theme_name"
+ android:gravity="center"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textAppearance="@style/primary_text_appearance_nohighlight" />
+
+ <TextView
+ android:id="@+id/theme_desc"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:gravity="center"
+ android:ellipsize="end"
+ android:singleLine="false"
+ android:maxLines="2"
+ android:textAppearance="@style/secondary_text_appearance" />
+
+ <ImageView
+ android:id="@+id/theme_preview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_above="@id/theme_desc"
+ android:layout_below="@id/theme_author"
+ android:padding="@dimen/extra_large_margin"
+ android:layout_gravity="center"
+ android:scaleType="centerInside"
+ android:contentDescription="@null" />
+
+</com.cyanogenmod.filemanager.ui.preferences.ThemeView>
diff --git a/res/raw/changelog b/res/raw/changelog
index ce061b9b..c64271e6 100644
--- a/res/raw/changelog
+++ b/res/raw/changelog
@@ -1,6 +1,11 @@
CyanogenMod File Manager
========================
+Version 1.0.1
+-------------
+* NFC support
+* Themes support
+
Version 1.0.0
-------------
Initial release.
@@ -29,3 +34,4 @@ Features:
* Open and Open With
* Send to
* Internal editor
+
diff --git a/res/raw/mime_types.properties b/res/raw/mime_types.properties
index 1ec6a61c..4a8b0a4f 100644
--- a/res/raw/mime_types.properties
+++ b/res/raw/mime_types.properties
@@ -22,309 +22,309 @@
#
# Binary
-a = BINARY | application/octet-stream | fso_type_binary
-bin = BINARY | application/octet-stream | fso_type_binary
-class = BINARY | application/java-vm | fso_type_binary
-com = BINARY | application/x-msdownload | fso_type_binary
-dex = BINARY | application/octet-stream | fso_type_binary
-dump = BINARY | application/octet-stream | fso_type_binary
-exe = BINARY | application/x-msdownload | fso_type_binary
-dat = BINARY | application/octet-stream | fso_type_binary
-dll = BINARY | application/x-msdownload | fso_type_binary
-lib = BINARY | application/x-msdownload | fso_type_binary
-o = BINARY | application/octet-stream | fso_type_binary
-obj = BINARY | application/octet-stream | fso_type_binary
-pyc = BINARY | application/x-python-code | fso_type_binary
-pyo = BINARY | application/x-python-code | fso_type_binary
-ser = BINARY | application/java-serialized-object | fso_type_binary
-swf = BINARY | application/x-shockwave-flash | fso_type_binary
-so = BINARY | application/octet-stream | fso_type_binary
-dmg = BINARY | application/octet-stream | fso_type_cdimage
-cue = BINARY | application/octet-stream | fso_type_cdimage
-img = BINARY | application/octet-stream | fso_type_cdimage
-iso = BINARY | application/octet-stream | fso_type_cdimage
-msd = BINARY | application/octet-stream | fso_type_cdimage
-nrg = BINARY | application/octet-stream | fso_type_cdimage
-uif = BINARY | application/octet-stream | fso_type_cdimage
+a = BINARY | application/octet-stream | fso_type_binary_drawable
+bin = BINARY | application/octet-stream | fso_type_binary_drawable
+class = BINARY | application/java-vm | fso_type_binary_drawable
+com = BINARY | application/x-msdownload | fso_type_binary_drawable
+dex = BINARY | application/octet-stream | fso_type_binary_drawable
+dump = BINARY | application/octet-stream | fso_type_binary_drawable
+exe = BINARY | application/x-msdownload | fso_type_binary_drawable
+dat = BINARY | application/octet-stream | fso_type_binary_drawable
+dll = BINARY | application/x-msdownload | fso_type_binary_drawable
+lib = BINARY | application/x-msdownload | fso_type_binary_drawable
+o = BINARY | application/octet-stream | fso_type_binary_drawable
+obj = BINARY | application/octet-stream | fso_type_binary_drawable
+pyc = BINARY | application/x-python-code | fso_type_binary_drawable
+pyo = BINARY | application/x-python-code | fso_type_binary_drawable
+ser = BINARY | application/java-serialized-object | fso_type_binary_drawable
+swf = BINARY | application/x-shockwave-flash | fso_type_binary_drawable
+so = BINARY | application/octet-stream | fso_type_binary_drawable
+dmg = BINARY | application/octet-stream | fso_type_cdimage_drawable
+cue = BINARY | application/octet-stream | fso_type_cdimage_drawable
+img = BINARY | application/octet-stream | fso_type_cdimage_drawable
+iso = BINARY | application/octet-stream | fso_type_cdimage_drawable
+msd = BINARY | application/octet-stream | fso_type_cdimage_drawable
+nrg = BINARY | application/octet-stream | fso_type_cdimage_drawable
+uif = BINARY | application/octet-stream | fso_type_cdimage_drawable
# Text
-asm = TEXT | text/x-asm | fso_type_source
-c = TEXT | text/x-c | fso_type_source
-cc = TEXT | text/x-c | fso_type_source
-conf = TEXT | text/plain | fso_type_text
-cpp = TEXT | text/x-c | fso_type_source
-css = TEXT | text/css | fso_type_source
-csv = TEXT | text/csv | fso_type_text
-cxx = TEXT | text/x-c | fso_type_source
-def = TEXT | text/plain | fso_type_source
-dic = TEXT | text/x-c | fso_type_source
-diff = TEXT | text/plain | fso_type_text
-dtd = TEXT | application/xml-dtd | fso_type_markup_document
-f = TEXT | text/x-fortran | fso_type_source
-f77 = TEXT | text/x-fortran | fso_type_source
-f90 = TEXT | text/x-fortran | fso_type_source
-for = TEXT | text/x-fortran | fso_type_source
-h = TEXT | text/x-c | fso_type_source
-hh = TEXT | text/x-c | fso_type_source
-hpp = TEXT | text/x-c | fso_type_source
-htm = TEXT | text/html | fso_type_markup_document
-html = TEXT | text/html | fso_type_markup_document
-in = TEXT | text/plain | fso_type_text
-jad = TEXT | text/vnd.sun.j2me.app-descriptor | fso_type_source
-java = TEXT | text/x-java-source | fso_type_source
-jnlp = TEXT | application/x-java-jnlp-file | fso_type_source
-js = TEXT | application/javascript | fso_type_source
-json = TEXT | application/json | fso_type_source
-list = TEXT | text/plain | fso_type_text
-log = TEXT | text/plain | fso_type_text
-mathml= TEXT | application/mathml+xml | fso_type_markup_document
-mht = TEXT | message/rfc822 | fso_type_markup_document
-mhtml = TEXT | message/rfc822 | fso_type_markup_document
-mxml = TEXT | application/xv+xml | fso_type_markup_document
-p = TEXT | text/x-pascal | fso_type_source
-pas = TEXT | text/x-pascal | fso_type_source
-pl = TEXT | text/plain | fso_type_source
-prop = TEXT | text/plain | fso_type_text
-properties = TEXT| text/plain | fso_type_text
-py = TEXT | text/x-python | fso_type_source
-rc = TEXT | text/plain | fso_type_text
-rss = TEXT | application/rss+xml | fso_type_feed
-s = TEXT | text/x-asm | fso_type_source
-sgm = TEXT | text/sgml | fso_type_markup_document
-sgml = TEXT | text/sgml | fso_type_markup_document
-text = TEXT | text/plain | fso_type_text
-tsv = TEXT | text/tab-separated-values | fso_type_text
-txt = TEXT | text/plain | fso_type_text
-wsdl = TEXT | application/wsdl+xml | fso_type_markup_document
-xht = TEXT | application/xhtml+xml | fso_type_markup_document
-xhtml = TEXT | application/xhtml+xml | fso_type_markup_document
-xml = TEXT | text/plain | fso_type_markup_document
-xsl = TEXT | application/xml | fso_type_markup_document
-xslt = TEXT | application/xslt+xml | fso_type_markup_document
+asm = TEXT | text/x-asm | fso_type_source_drawable
+c = TEXT | text/x-c | fso_type_source_drawable
+cc = TEXT | text/x-c | fso_type_source_drawable
+conf = TEXT | text/plain | fso_type_text_drawable
+cpp = TEXT | text/x-c | fso_type_source_drawable
+css = TEXT | text/css | fso_type_source_drawable
+csv = TEXT | text/csv | fso_type_text_drawable
+cxx = TEXT | text/x-c | fso_type_source_drawable
+def = TEXT | text/plain | fso_type_source_drawable
+dic = TEXT | text/x-c | fso_type_source_drawable
+diff = TEXT | text/plain | fso_type_text_drawable
+dtd = TEXT | application/xml-dtd | fso_type_markup_document_drawable
+f = TEXT | text/x-fortran | fso_type_source_drawable
+f77 = TEXT | text/x-fortran | fso_type_source_drawable
+f90 = TEXT | text/x-fortran | fso_type_source_drawable
+for = TEXT | text/x-fortran | fso_type_source_drawable
+h = TEXT | text/x-c | fso_type_source_drawable
+hh = TEXT | text/x-c | fso_type_source_drawable
+hpp = TEXT | text/x-c | fso_type_source_drawable
+htm = TEXT | text/html | fso_type_markup_document_drawable
+html = TEXT | text/html | fso_type_markup_document_drawable
+in = TEXT | text/plain | fso_type_text_drawable
+jad = TEXT | text/vnd.sun.j2me.app-descriptor | fso_type_source_drawable
+java = TEXT | text/x-java-source | fso_type_source_drawable
+jnlp = TEXT | application/x-java-jnlp-file | fso_type_source_drawable
+js = TEXT | application/javascript | fso_type_source_drawable
+json = TEXT | application/json | fso_type_source_drawable
+list = TEXT | text/plain | fso_type_text_drawable
+log = TEXT | text/plain | fso_type_text_drawable
+mathml= TEXT | application/mathml+xml | fso_type_markup_document_drawable
+mht = TEXT | message/rfc822 | fso_type_markup_document_drawable
+mhtml = TEXT | message/rfc822 | fso_type_markup_document_drawable
+mxml = TEXT | application/xv+xml | fso_type_markup_document_drawable
+p = TEXT | text/x-pascal | fso_type_source_drawable
+pas = TEXT | text/x-pascal | fso_type_source_drawable
+pl = TEXT | text/plain | fso_type_source_drawable
+prop = TEXT | text/plain | fso_type_text_drawable
+properties = TEXT| text/plain | fso_type_text_drawable
+py = TEXT | text/x-python | fso_type_source_drawable
+rc = TEXT | text/plain | fso_type_text_drawable
+rss = TEXT | application/rss+xml | fso_type_feed_drawable
+s = TEXT | text/x-asm | fso_type_source_drawable
+sgm = TEXT | text/sgml | fso_type_markup_document_drawable
+sgml = TEXT | text/sgml | fso_type_markup_document_drawable
+text = TEXT | text/plain | fso_type_text_drawable
+tsv = TEXT | text/tab-separated-values | fso_type_text_drawable
+txt = TEXT | text/plain | fso_type_text_drawable
+wsdl = TEXT | application/wsdl+xml | fso_type_markup_document_drawable
+xht = TEXT | application/xhtml+xml | fso_type_markup_document_drawable
+xhtml = TEXT | application/xhtml+xml | fso_type_markup_document_drawable
+xml = TEXT | text/plain | fso_type_markup_document_drawable
+xsl = TEXT | application/xml | fso_type_markup_document_drawable
+xslt = TEXT | application/xslt+xml | fso_type_markup_document_drawable
# Document
-doc = DOCUMENT | application/msword | fso_type_document
-docx = DOCUMENT | application/vnd.openxmlformats-officedocument.wordprocessingml.document | fso_type_document
-fdf = DOCUMENT | application/vnd.fdf | fso_type_pdf
-pdf = DOCUMENT | application/pdf | fso_type_pdf
-ppt = DOCUMENT | application/vnd.ms-powerpoint | fso_type_presentation
-pptx = DOCUMENT | application/vnd.openxmlformats-officedocument.presentationml.presentation | fso_type_presentation
-odp = DOCUMENT | application/vnd.oasis.opendocument.presentation | fso_type_presentation
-ods = DOCUMENT | application/vnd.oasis.opendocument.spreadsheet | fso_type_spreadsheet
-odt = DOCUMENT | application/vnd.oasis.opendocument.text | fso_type_document
-rtf = DOCUMENT | application/rtf | fso_type_document
-xls = DOCUMENT | application/vnd.ms-excel | fso_type_spreadsheet
-xlsx = DOCUMENT | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | fso_type_spreadsheet
+doc = DOCUMENT | application/msword | fso_type_document_drawable
+docx = DOCUMENT | application/vnd.openxmlformats-officedocument.wordprocessingml.document | fso_type_document_drawable
+fdf = DOCUMENT | application/vnd.fdf | fso_type_pdf_drawable
+pdf = DOCUMENT | application/pdf | fso_type_pdf_drawable
+ppt = DOCUMENT | application/vnd.ms-powerpoint | fso_type_presentation_drawable
+pptx = DOCUMENT | application/vnd.openxmlformats-officedocument.presentationml.presentation | fso_type_presentation_drawable
+odp = DOCUMENT | application/vnd.oasis.opendocument.presentation | fso_type_presentation_drawable
+ods = DOCUMENT | application/vnd.oasis.opendocument.spreadsheet | fso_type_spreadsheet_drawable
+odt = DOCUMENT | application/vnd.oasis.opendocument.text | fso_type_document_drawable
+rtf = DOCUMENT | application/rtf | fso_type_document_drawable
+xls = DOCUMENT | application/vnd.ms-excel | fso_type_spreadsheet_drawable
+xlsx = DOCUMENT | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | fso_type_spreadsheet_drawable
# e-Book
-azw = EBOOK | application/octet-stream | fso_type_ebook
-djv = EBOOK | image/x-djvu | fso_type_ebook
-djvu = EBOOK | image/vnd.djvu | fso_type_ebook
-epub = EBOOK | application/epub+zip | fso_type_ebook
-kf8 = EBOOK | application/octet-stream | fso_type_ebook
-lit = EBOOK | application/x-ms-reader | fso_type_ebook
-lrf = EBOOK | application/x-sony-bbeb | fso_type_ebook
-lrx = EBOOK | application/x-sony-bbeb | fso_type_ebook
-ibooks= EBOOK | application/x-ibooks+zip | fso_type_ebook
+azw = EBOOK | application/octet-stream | fso_type_ebook_drawable
+djv = EBOOK | image/x-djvu | fso_type_ebook_drawable
+djvu = EBOOK | image/vnd.djvu | fso_type_ebook_drawable
+epub = EBOOK | application/epub+zip | fso_type_ebook_drawable
+kf8 = EBOOK | application/octet-stream | fso_type_ebook_drawable
+lit = EBOOK | application/x-ms-reader | fso_type_ebook_drawable
+lrf = EBOOK | application/x-sony-bbeb | fso_type_ebook_drawable
+lrx = EBOOK | application/x-sony-bbeb | fso_type_ebook_drawable
+ibooks= EBOOK | application/x-ibooks+zip | fso_type_ebook_drawable
# Internet document
-ics = MAIL | text/calendar | fso_type_calendar
-ifb = MAIL | text/calendar | fso_type_calendar
-eml = MAIL | message/rfc822 | fso_type_email
-msg = MAIL | application/vnd.ms-outlook | fso_type_email
-vcf = MAIL | text/x-vcard | fso_type_contact
-vcs = MAIL | text/x-vcalendar | fso_type_calendar
+ics = MAIL | text/calendar | fso_type_calendar_drawable
+ifb = MAIL | text/calendar | fso_type_calendar_drawable
+eml = MAIL | message/rfc822 | fso_type_email_drawable
+msg = MAIL | application/vnd.ms-outlook | fso_type_email_drawable
+vcf = MAIL | text/x-vcard | fso_type_contact_drawable
+vcs = MAIL | text/x-vcalendar | fso_type_calendar_drawable
# Compress
-ace = COMPRESS | application/x-ace-compressed | fso_type_compress
-bz = COMPRESS | application/x-bzip | fso_type_compress
-bz2 = COMPRESS | application/x-bzip2 | fso_type_compress
-cab = COMPRESS | application/vnd.ms-cab-compressed| fso_type_compress
-cpio = COMPRESS | application/x-cpio | fso_type_compress
-gz = COMPRESS | application/x-gzip | fso_type_compress
-lha = COMPRESS | application/octet-stream | fso_type_compress
-lrf = COMPRESS | application/octet-stream | fso_type_compress
-lzh = COMPRESS | application/octet-stream | fso_type_compress
-lzma = COMPRESS | application/x-lzma | fso_type_compress
-jar = COMPRESS | application/java-archive | fso_type_compress
-rar = COMPRESS | application/x-rar-compressed | fso_type_compress
-tar = COMPRESS | application/x-tar | fso_type_compress
-tar.bz2 = COMPRESS| application/x-bzip | fso_type_compress
-tar.gz = COMPRESS| application/x-gzip | fso_type_compress
-tar.lzma = COMPRESS| application/x-lzma | fso_type_compress
-tgz = COMPRESS | application/x-gzip | fso_type_compress
-xz = COMPRESS | application/x-xz | fso_type_compress
-zip = COMPRESS | application/zip | fso_type_compress
-Z = COMPRESS | application/x-compress | fso_type_compress
+ace = COMPRESS | application/x-ace-compressed | fso_type_compress_drawable
+bz = COMPRESS | application/x-bzip | fso_type_compress_drawable
+bz2 = COMPRESS | application/x-bzip2 | fso_type_compress_drawable
+cab = COMPRESS | application/vnd.ms-cab-compressed| fso_type_compress_drawable
+cpio = COMPRESS | application/x-cpio | fso_type_compress_drawable
+gz = COMPRESS | application/x-gzip | fso_type_compress_drawable
+lha = COMPRESS | application/octet-stream | fso_type_compress_drawable
+lrf = COMPRESS | application/octet-stream | fso_type_compress_drawable
+lzh = COMPRESS | application/octet-stream | fso_type_compress_drawable
+lzma = COMPRESS | application/x-lzma | fso_type_compress_drawable
+jar = COMPRESS | application/java-archive | fso_type_compress_drawable
+rar = COMPRESS | application/x-rar-compressed | fso_type_compress_drawable
+tar = COMPRESS | application/x-tar | fso_type_compress_drawable
+tar.bz2 = COMPRESS| application/x-bzip | fso_type_compress_drawable
+tar.gz = COMPRESS| application/x-gzip | fso_type_compress_drawable
+tar.lzma = COMPRESS| application/x-lzma | fso_type_compress_drawable
+tgz = COMPRESS | application/x-gzip | fso_type_compress_drawable
+xz = COMPRESS | application/x-xz | fso_type_compress_drawable
+zip = COMPRESS | application/zip | fso_type_compress_drawable
+Z = COMPRESS | application/x-compress | fso_type_compress_drawable
# Executable
-bat = EXEC | application/x-msdownload | fso_type_shell
-csh = EXEC | application/x-csh | fso_type_shell
-ksh = EXEC | text/plain | fso_type_shell
-sh = EXEC | application/x-sh | fso_type_shell
+bat = EXEC | application/x-msdownload | fso_type_shell_drawable
+csh = EXEC | application/x-csh | fso_type_shell_drawable
+ksh = EXEC | text/plain | fso_type_shell_drawable
+sh = EXEC | application/x-sh | fso_type_shell_drawable
# Database
-db = DATABASE | application/octet-stream | fso_type_database
-db3 = DATABASE | application/octet-stream | fso_type_database
-mdb = DATABASE | application/octet-stream | fso_type_database
+db = DATABASE | application/octet-stream | fso_type_database_drawable
+db3 = DATABASE | application/octet-stream | fso_type_database_drawable
+mdb = DATABASE | application/octet-stream | fso_type_database_drawable
# Font
-otf = FONT | application/x-font-otf | fso_type_font
-ttf = FONT | application/x-font-ttf | fso_type_font
-gsf = FONT | application/x-font-ghostscript | fso_type_font
-psf = FONT | application/x-font-linux-psf | fso_type_font
+otf = FONT | application/x-font-otf | fso_type_font_drawable
+ttf = FONT | application/x-font-ttf | fso_type_font_drawable
+gsf = FONT | application/x-font-ghostscript | fso_type_font_drawable
+psf = FONT | application/x-font-linux-psf | fso_type_font_drawable
# Image
-bmp = IMAGE | image/bmp | fso_type_image
-cgm = IMAGE | image/cgm | fso_type_image
-g3 = IMAGE | image/g3fax | fso_type_image
-gif = IMAGE | image/gif | fso_type_image
-ief = IMAGE | image/ief | fso_type_image
-jpe = IMAGE | image/jpeg | fso_type_image
-jpeg = IMAGE | image/jpeg | fso_type_image
-jpg = IMAGE | image/jpeg | fso_type_image
-png = IMAGE | image/png | fso_type_image
-btif = IMAGE | image/prs.btif | fso_type_image
-svg = IMAGE | image/svg+xml | fso_type_image
-svgz = IMAGE | image/svg+xml | fso_type_image
-tif = IMAGE | image/tiff | fso_type_image
-tiff = IMAGE | image/tiff | fso_type_image
-psd = IMAGE | image/vnd.adobe.photoshop | fso_type_image
-djv = IMAGE | image/vnd.djvu | fso_type_image
-djvu = IMAGE | image/vnd.djvu | fso_type_image
-dwg = IMAGE | image/vnd.dwg | fso_type_image
-dxf = IMAGE | image/vnd.dxf | fso_type_image
-fbs = IMAGE | image/vnd.fastbidsheet | fso_type_image
-fpx = IMAGE | image/vnd.fpx | fso_type_image
-fst = IMAGE | image/vnd.fst | fso_type_image
-mmr = IMAGE | image/vnd.fujixerox.edmics-mmr | fso_type_image
-rlc = IMAGE | image/vnd.fujixerox.edmics-rlc | fso_type_image
-mdi = IMAGE | image/vnd.ms-modi | fso_type_image
-npx = IMAGE | image/vnd.net-fpx | fso_type_image
-wbmp = IMAGE | image/vnd.wap.wbmp | fso_type_image
-xif = IMAGE | image/vnd.xiff | fso_type_image
-ras = IMAGE | image/x-cmu-raster | fso_type_image
-cmx = IMAGE | image/x-cmx | fso_type_image
-fh = IMAGE | image/x-freehand | fso_type_image
-fh4 = IMAGE | image/x-freehand | fso_type_image
-fh5 = IMAGE | image/x-freehand | fso_type_image
-fh7 = IMAGE | image/x-freehand | fso_type_image
-fhc = IMAGE | image/x-freehand | fso_type_image
-ico = IMAGE | image/x-icon | fso_type_image
-pcx = IMAGE | image/x-pcx | fso_type_image
-pct = IMAGE | image/x-pict | fso_type_image
-pic = IMAGE | image/x-pict | fso_type_image
-pnm = IMAGE | image/x-portable-anymap | fso_type_image
-pbm = IMAGE | image/x-portable-bitmap | fso_type_image
-pgm = IMAGE | image/x-portable-graymap | fso_type_image
-ppm = IMAGE | image/x-portable-pixmap | fso_type_image
-rgb = IMAGE | image/x-rgb | fso_type_image
-xbm = IMAGE | image/x-xbitmap | fso_type_image
-xpm = IMAGE | image/x-xpixmap | fso_type_image
-xwd = IMAGE | image/x-xwindowdump | fso_type_image
+bmp = IMAGE | image/bmp | fso_type_image_drawable
+cgm = IMAGE | image/cgm | fso_type_image_drawable
+g3 = IMAGE | image/g3fax | fso_type_image_drawable
+gif = IMAGE | image/gif | fso_type_image_drawable
+ief = IMAGE | image/ief | fso_type_image_drawable
+jpe = IMAGE | image/jpeg | fso_type_image_drawable
+jpeg = IMAGE | image/jpeg | fso_type_image_drawable
+jpg = IMAGE | image/jpeg | fso_type_image_drawable
+png = IMAGE | image/png | fso_type_image_drawable
+btif = IMAGE | image/prs.btif | fso_type_image_drawable
+svg = IMAGE | image/svg+xml | fso_type_image_drawable
+svgz = IMAGE | image/svg+xml | fso_type_image_drawable
+tif = IMAGE | image/tiff | fso_type_image_drawable
+tiff = IMAGE | image/tiff | fso_type_image_drawable
+psd = IMAGE | image/vnd.adobe.photoshop | fso_type_image_drawable
+djv = IMAGE | image/vnd.djvu | fso_type_image_drawable
+djvu = IMAGE | image/vnd.djvu | fso_type_image_drawable
+dwg = IMAGE | image/vnd.dwg | fso_type_image_drawable
+dxf = IMAGE | image/vnd.dxf | fso_type_image_drawable
+fbs = IMAGE | image/vnd.fastbidsheet | fso_type_image_drawable
+fpx = IMAGE | image/vnd.fpx | fso_type_image_drawable
+fst = IMAGE | image/vnd.fst | fso_type_image_drawable
+mmr = IMAGE | image/vnd.fujixerox.edmics-mmr | fso_type_image_drawable
+rlc = IMAGE | image/vnd.fujixerox.edmics-rlc | fso_type_image_drawable
+mdi = IMAGE | image/vnd.ms-modi | fso_type_image_drawable
+npx = IMAGE | image/vnd.net-fpx | fso_type_image_drawable
+wbmp = IMAGE | image/vnd.wap.wbmp | fso_type_image_drawable
+xif = IMAGE | image/vnd.xiff | fso_type_image_drawable
+ras = IMAGE | image/x-cmu-raster | fso_type_image_drawable
+cmx = IMAGE | image/x-cmx | fso_type_image_drawable
+fh = IMAGE | image/x-freehand | fso_type_image_drawable
+fh4 = IMAGE | image/x-freehand | fso_type_image_drawable
+fh5 = IMAGE | image/x-freehand | fso_type_image_drawable
+fh7 = IMAGE | image/x-freehand | fso_type_image_drawable
+fhc = IMAGE | image/x-freehand | fso_type_image_drawable
+ico = IMAGE | image/x-icon | fso_type_image_drawable
+pcx = IMAGE | image/x-pcx | fso_type_image_drawable
+pct = IMAGE | image/x-pict | fso_type_image_drawable
+pic = IMAGE | image/x-pict | fso_type_image_drawable
+pnm = IMAGE | image/x-portable-anymap | fso_type_image_drawable
+pbm = IMAGE | image/x-portable-bitmap | fso_type_image_drawable
+pgm = IMAGE | image/x-portable-graymap | fso_type_image_drawable
+ppm = IMAGE | image/x-portable-pixmap | fso_type_image_drawable
+rgb = IMAGE | image/x-rgb | fso_type_image_drawable
+xbm = IMAGE | image/x-xbitmap | fso_type_image_drawable
+xpm = IMAGE | image/x-xpixmap | fso_type_image_drawable
+xwd = IMAGE | image/x-xwindowdump | fso_type_image_drawable
# Audio
-adp = AUDIO | audio/adpcm | fso_type_audio
-au = AUDIO | audio/basic | fso_type_audio
-snd = AUDIO | audio/basic | fso_type_audio
-kar = AUDIO | audio/midi | fso_type_audio
-mid = AUDIO | audio/midi | fso_type_audio
-midi = AUDIO | audio/midi | fso_type_audio
-rmi = AUDIO | audio/midi | fso_type_audio
-mp4a = AUDIO | audio/mp4 | fso_type_audio
-m2a = AUDIO | audio/mpeg | fso_type_audio
-m3a = AUDIO | audio/mpeg | fso_type_audio
-mp2 = AUDIO | audio/mpeg | fso_type_audio
-mp2a = AUDIO | audio/mpeg | fso_type_audio
-mp3 = AUDIO | audio/mpeg | fso_type_audio
-mpga = AUDIO | audio/mpeg | fso_type_audio
-oga = AUDIO | audio/ogg | fso_type_audio
-ogg = AUDIO | audio/ogg | fso_type_audio
-spx = AUDIO | audio/ogg | fso_type_audio
-eol = AUDIO | audio/vnd.digital-winds | fso_type_audio
-dts = AUDIO | audio/vnd.dts | fso_type_audio
-dtshd = AUDIO | audio/vnd.dts.hd | fso_type_audio
-lvp = AUDIO | audio/vnd.lucent.voice | fso_type_audio
-pya = AUDIO | audio/vnd.ms-playready.media.pya | fso_type_audio
-ecelp4800 = AUDIO| audio/vnd.nuera.ecelp4800 | fso_type_audio
-ecelp7470 = AUDIO| audio/vnd.nuera.ecelp7470 | fso_type_audio
-ecelp9600 = AUDIO| audio/vnd.nuera.ecelp9600 | fso_type_audio
-aac = AUDIO | audio/x-aac | fso_type_audio
-aif = AUDIO | audio/x-aiff | fso_type_audio
-aifc = AUDIO | audio/x-aiff | fso_type_audio
-aiff = AUDIO | audio/x-aiff | fso_type_audio
-m3u = AUDIO | audio/x-mpegurl | fso_type_audio
-wax = AUDIO | audio/x-ms-wax | fso_type_audio
-wma = AUDIO | audio/x-ms-wma | fso_type_audio
-ra = AUDIO | audio/x-pn-realaudio | fso_type_audio
-ram = AUDIO | audio/x-pn-realaudio | fso_type_audio
-rmp = AUDIO | audio/x-pn-realaudio-plugin | fso_type_audio
-wav = AUDIO | audio/x-wav | fso_type_audio
+adp = AUDIO | audio/adpcm | fso_type_audio_drawable
+au = AUDIO | audio/basic | fso_type_audio_drawable
+snd = AUDIO | audio/basic | fso_type_audio_drawable
+kar = AUDIO | audio/midi | fso_type_audio_drawable
+mid = AUDIO | audio/midi | fso_type_audio_drawable
+midi = AUDIO | audio/midi | fso_type_audio_drawable
+rmi = AUDIO | audio/midi | fso_type_audio_drawable
+mp4a = AUDIO | audio/mp4 | fso_type_audio_drawable
+m2a = AUDIO | audio/mpeg | fso_type_audio_drawable
+m3a = AUDIO | audio/mpeg | fso_type_audio_drawable
+mp2 = AUDIO | audio/mpeg | fso_type_audio_drawable
+mp2a = AUDIO | audio/mpeg | fso_type_audio_drawable
+mp3 = AUDIO | audio/mpeg | fso_type_audio_drawable
+mpga = AUDIO | audio/mpeg | fso_type_audio_drawable
+oga = AUDIO | audio/ogg | fso_type_audio_drawable
+ogg = AUDIO | audio/ogg | fso_type_audio_drawable
+spx = AUDIO | audio/ogg | fso_type_audio_drawable
+eol = AUDIO | audio/vnd.digital-winds | fso_type_audio_drawable
+dts = AUDIO | audio/vnd.dts | fso_type_audio_drawable
+dtshd = AUDIO | audio/vnd.dts.hd | fso_type_audio_drawable
+lvp = AUDIO | audio/vnd.lucent.voice | fso_type_audio_drawable
+pya = AUDIO | audio/vnd.ms-playready.media.pya | fso_type_audio_drawable
+ecelp4800 = AUDIO| audio/vnd.nuera.ecelp4800 | fso_type_audio_drawable
+ecelp7470 = AUDIO| audio/vnd.nuera.ecelp7470 | fso_type_audio_drawable
+ecelp9600 = AUDIO| audio/vnd.nuera.ecelp9600 | fso_type_audio_drawable
+aac = AUDIO | audio/x-aac | fso_type_audio_drawable
+aif = AUDIO | audio/x-aiff | fso_type_audio_drawable
+aifc = AUDIO | audio/x-aiff | fso_type_audio_drawable
+aiff = AUDIO | audio/x-aiff | fso_type_audio_drawable
+m3u = AUDIO | audio/x-mpegurl | fso_type_audio_drawable
+wax = AUDIO | audio/x-ms-wax | fso_type_audio_drawable
+wma = AUDIO | audio/x-ms-wma | fso_type_audio_drawable
+ra = AUDIO | audio/x-pn-realaudio | fso_type_audio_drawable
+ram = AUDIO | audio/x-pn-realaudio | fso_type_audio_drawable
+rmp = AUDIO | audio/x-pn-realaudio-plugin | fso_type_audio_drawable
+wav = AUDIO | audio/x-wav | fso_type_audio_drawable
# Video
-3gp = VIDEO | video/3gpp | fso_type_video
-3g2 = VIDEO | video/3gpp2 | fso_type_video
-h261 = VIDEO | video/h261 | fso_type_video
-h263 = VIDEO | video/h263 | fso_type_video
-h264 = VIDEO | video/h264 | fso_type_video
-jpgv = VIDEO | video/jpeg | fso_type_video
-jpgm = VIDEO | video/jpm | fso_type_video
-jpm = VIDEO | video/jpm | fso_type_video
-mj2 = VIDEO | video/mj2 | fso_type_video
-mjp2 = VIDEO | video/mj2 | fso_type_video
-mp4 = VIDEO | video/mp4 | fso_type_video
-mp4v = VIDEO | video/mp4 | fso_type_video
-mpg4 = VIDEO | video/mp4 | fso_type_video
-m1v = VIDEO | video/mpeg | fso_type_video
-m2v = VIDEO | video/mpeg | fso_type_video
-mpa = VIDEO | video/mpeg | fso_type_video
-mpe = VIDEO | video/mpeg | fso_type_video
-mpeg = VIDEO | video/mpeg | fso_type_video
-mpg = VIDEO | video/mpeg | fso_type_video
-ogv = VIDEO | video/ogg | fso_type_video
-mov = VIDEO | video/quicktime | fso_type_video
-qt = VIDEO | video/quicktime | fso_type_video
-fvt = VIDEO | video/vnd.fvt | fso_type_video
-m4u = VIDEO | video/vnd.mpegurl | fso_type_video
-mxu = VIDEO | video/vnd.mpegurl | fso_type_video
-pyv = VIDEO | video/vnd.ms-playready.media.pyv | fso_type_video
-viv = VIDEO | video/vnd.vivo | fso_type_video
-f4v = VIDEO | video/x-f4v | fso_type_video
-fli = VIDEO | video/x-fli | fso_type_video
-flv = VIDEO | video/x-flv | fso_type_video
-m4v = VIDEO | video/x-m4v | fso_type_video
-asf = VIDEO | video/x-ms-asf | fso_type_video
-asx = VIDEO | video/x-ms-asf | fso_type_video
-avi = VIDEO | video/x-msvideo | fso_type_video
-wm = VIDEO | video/x-ms-wm | fso_type_video
-wmv = VIDEO | video/x-ms-wmv | fso_type_video
-wmx = VIDEO | video/x-ms-wmx | fso_type_video
-wvx = VIDEO | video/x-ms-wvx | fso_type_video
-movie = VIDEO | video/x-sgi-movie | fso_type_video
+3gp = VIDEO | video/3gpp | fso_type_video_drawable
+3g2 = VIDEO | video/3gpp2 | fso_type_video_drawable
+h261 = VIDEO | video/h261 | fso_type_video_drawable
+h263 = VIDEO | video/h263 | fso_type_video_drawable
+h264 = VIDEO | video/h264 | fso_type_video_drawable
+jpgv = VIDEO | video/jpeg | fso_type_video_drawable
+jpgm = VIDEO | video/jpm | fso_type_video_drawable
+jpm = VIDEO | video/jpm | fso_type_video_drawable
+mj2 = VIDEO | video/mj2 | fso_type_video_drawable
+mjp2 = VIDEO | video/mj2 | fso_type_video_drawable
+mp4 = VIDEO | video/mp4 | fso_type_video_drawable
+mp4v = VIDEO | video/mp4 | fso_type_video_drawable
+mpg4 = VIDEO | video/mp4 | fso_type_video_drawable
+m1v = VIDEO | video/mpeg | fso_type_video_drawable
+m2v = VIDEO | video/mpeg | fso_type_video_drawable
+mpa = VIDEO | video/mpeg | fso_type_video_drawable
+mpe = VIDEO | video/mpeg | fso_type_video_drawable
+mpeg = VIDEO | video/mpeg | fso_type_video_drawable
+mpg = VIDEO | video/mpeg | fso_type_video_drawable
+ogv = VIDEO | video/ogg | fso_type_video_drawable
+mov = VIDEO | video/quicktime | fso_type_video_drawable
+qt = VIDEO | video/quicktime | fso_type_video_drawable
+fvt = VIDEO | video/vnd.fvt | fso_type_video_drawable
+m4u = VIDEO | video/vnd.mpegurl | fso_type_video_drawable
+mxu = VIDEO | video/vnd.mpegurl | fso_type_video_drawable
+pyv = VIDEO | video/vnd.ms-playready.media.pyv | fso_type_video_drawable
+viv = VIDEO | video/vnd.vivo | fso_type_video_drawable
+f4v = VIDEO | video/x-f4v | fso_type_video_drawable
+fli = VIDEO | video/x-fli | fso_type_video_drawable
+flv = VIDEO | video/x-flv | fso_type_video_drawable
+m4v = VIDEO | video/x-m4v | fso_type_video_drawable
+asf = VIDEO | video/x-ms-asf | fso_type_video_drawable
+asx = VIDEO | video/x-ms-asf | fso_type_video_drawable
+avi = VIDEO | video/x-msvideo | fso_type_video_drawable
+wm = VIDEO | video/x-ms-wm | fso_type_video_drawable
+wmv = VIDEO | video/x-ms-wmv | fso_type_video_drawable
+wmx = VIDEO | video/x-ms-wmx | fso_type_video_drawable
+wvx = VIDEO | video/x-ms-wvx | fso_type_video_drawable
+movie = VIDEO | video/x-sgi-movie | fso_type_video_drawable
# Security
-asc = SECURITY | application/pgp-signature | fso_type_security
-cer = SECURITY | application/pkix-cert | fso_type_security
-crl = SECURITY | application/pkix-crl | fso_type_security
-crt = SECURITY | application/x-x509-ca-cert | fso_type_security
-der = SECURITY | application/x-x509-ca-cert | fso_type_security
-p12 = SECURITY | application/x-pkcs12 | fso_type_security
-p7b = SECURITY | application/x-pkcs7-certificates | fso_type_security
-p7c = SECURITY | application/pkcs7-mime | fso_type_security
-p7m = SECURITY | application/pkcs7-mime | fso_type_security
-p7r = SECURITY | application/x-pkcs7-certreqresp | fso_type_security
-p7s = SECURITY | application/pkcs7-signature | fso_type_security
-p10 = SECURITY | application/pkcs10 | fso_type_security
-pfx = SECURITY | application/x-pkcs12 | fso_type_security
-pki = SECURITY | application/pkixcmp | fso_type_security
-pgp = SECURITY | application/pgp-encrypted | fso_type_security
-sig = SECURITY | application/pgp-signature | fso_type_security
-spc = SECURITY | application/x-pkcs7-certificates | fso_type_security
+asc = SECURITY | application/pgp-signature | fso_type_security_drawable
+cer = SECURITY | application/pkix-cert | fso_type_security_drawable
+crl = SECURITY | application/pkix-crl | fso_type_security_drawable
+crt = SECURITY | application/x-x509-ca-cert | fso_type_security_drawable
+der = SECURITY | application/x-x509-ca-cert | fso_type_security_drawable
+p12 = SECURITY | application/x-pkcs12 | fso_type_security_drawable
+p7b = SECURITY | application/x-pkcs7-certificates | fso_type_security_drawable
+p7c = SECURITY | application/pkcs7-mime | fso_type_security_drawable
+p7m = SECURITY | application/pkcs7-mime | fso_type_security_drawable
+p7r = SECURITY | application/x-pkcs7-certreqresp | fso_type_security_drawable
+p7s = SECURITY | application/pkcs7-signature | fso_type_security_drawable
+p10 = SECURITY | application/pkcs10 | fso_type_security_drawable
+pfx = SECURITY | application/x-pkcs12 | fso_type_security_drawable
+pki = SECURITY | application/pkixcmp | fso_type_security_drawable
+pgp = SECURITY | application/pgp-encrypted | fso_type_security_drawable
+sig = SECURITY | application/pgp-signature | fso_type_security_drawable
+spc = SECURITY | application/x-pkcs7-certificates | fso_type_security_drawable
# Application
-apk = APP | application/vnd.android.package-archive | fso_type_app
-pkg = APP | application/octet-stream | fso_type_app
-deb = APP | application/x-debian-package | fso_type_app
-udeb = APP | application/x-debian-package | fso_type_app
-msi = APP | application/x-msdownload | fso_type_app
-rpm = APP | application/x-rpm | fso_type_app
+apk = APP | application/vnd.android.package-archive | fso_type_app_drawable
+pkg = APP | application/octet-stream | fso_type_app_drawable
+deb = APP | application/x-debian-package | fso_type_app_drawable
+udeb = APP | application/x-debian-package | fso_type_app_drawable
+msi = APP | application/x-msdownload | fso_type_app_drawable
+rpm = APP | application/x-rpm | fso_type_app_drawable
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 861c6b8c..803739c3 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The strings of the menu for navigation sort mode enumeration -->
@@ -86,4 +87,15 @@
<item>@string/compression_mode_bzip</item>
</string-array>
+ <!-- The default theme definition -->
+ <string-array name="themes_ids" translatable="false">
+ <item>light</item>
+ </string-array>
+ <string-array name="themes_names" translatable="false">
+ <item>@string/theme_default_name</item>
+ </string-array>
+ <string-array name="themes_descriptions" translatable="false">
+ <item>@string/theme_default_description</item>
+ </string-array>
+
</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index b71e8f54..f272cb1e 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The default background color -->
@@ -45,6 +46,9 @@
<!-- Relevance * 75% ~ 100% -->
<color name="relevance_percentil_100">#be207da4</color>
+ <!-- A color for highlight text -->
+ <color name="search_highlight">#ffffff00</color>
+
<!-- Divider. Normal -->
<color name="divider_color">#90909090</color>
<!-- Divider. Light -->
diff --git a/res/values/dimen.xml b/res/values/dimen.xml
index a333966f..0278d310 100644
--- a/res/values/dimen.xml
+++ b/res/values/dimen.xml
@@ -103,4 +103,10 @@
<!-- The progress height -->
<dimen name="default_progress_height">32dp</dimen>
+ <!-- Theme button min width -->
+ <dimen name="themes_min_width_button">300dp</dimen>
+
+ <!-- Theme width -->
+ <dimen name="theme_max_width">300dip</dimen>
+
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2010a2a1..2db9749a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- The name of the application -->
@@ -610,6 +611,8 @@
<string name="pref_general">General settings</string>
<!-- Preferences * Search title -->
<string name="pref_search">Search options</string>
+ <!-- Preferences * Themes title -->
+ <string name="pref_themes">Themes</string>
<!-- Preferences * About title -->
<string name="pref_about">About</string>
<!-- Preferences * About summary -->
@@ -686,10 +689,27 @@
<string name="pref_remove_saved_search_terms_summary">Tap to remove all the saved search terms</string>
<!-- Preferences * Search * Suggestions were truncated -->
<string name="pref_remove_saved_search_terms_msg">All saved search terms were removed.</string>
+ <!-- Preferences * Themes * Themes selection category -->
+ <string name="pref_themes_selection_category">Themes</string>
+ <!-- Preferences * Themes * Set theme button -->
+ <string name="pref_themes_set_theme">Set theme</string>
+ <!-- Preferences * Themes * No preview -->
+ <string name="pref_themes_no_preview">No preview\navailable</string>
+ <!-- Preferences * Themes * Confirmation message -->
+ <string name="pref_themes_confirmation">Theme was applied successfully.</string>
+ <!-- Preferences * Themes * Theme not found message -->
+ <string name="pref_themes_not_found">Theme not found.</string>
<!-- Preferences * Debug * Capture debug traces -->
<string name="pref_debug_traces">Log debugging information</string>
+ <!-- Themes * Default theme name -->
+ <string name="theme_default_name">Light Theme</string>
+ <!-- Themes * Default theme description -->
+ <string name="theme_default_description">A light theme for CyanogenMod File Manager.</string>
+ <!-- Themes * Default theme author -->
+ <string name="themes_author">CyanogenMod</string>
+
<!-- Security * Extract relative or absolute files -->
<string name="security_warning_extract">Warning!\n\n
Extracting an archive file with relative or absolute paths may cause damage to your device
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 988a8bf1..f34d2901 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -13,12 +13,17 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- The default theme -->
+ <!-- Base themes -->
<style name="FileManager.Theme.Holo.Light" parent="@android:style/Theme.Holo.Light">
<item name="android:windowBackground">@color/default_background</item>
<item name="android:actionBarStyle">@style/FileManager.Widget.ActionBar.White</item>
+ <item name="android:homeAsUpIndicator">@drawable/ic_ab_back_holo_light</item>
+ </style>
+ <style name="FileManager.Theme.Holo" parent="@android:style/Theme.Holo">
+ <item name="android:homeAsUpIndicator">@drawable/ic_ab_back_holo_light</item>
</style>
<!-- A theme with overlay -->
@@ -30,11 +35,9 @@
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
-
- <!-- A theme with overlay -->
- <style name="FileManager.Theme.Holo.Light.Transparent" parent="@style/FileManager.Theme.Holo.Light">
+ <style name="FileManager.Theme.Holo.Overlay" parent="@style/FileManager.Theme.Holo">
<item name="android:windowIsTranslucent">true</item>
- <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowBackground">@color/black_transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
@@ -56,7 +59,7 @@
<item name="android:textStyle">bold</item>
</style>
- <!-- The text appearance for principal information (text that need to be highligthed) -->
+ <!-- The text appearance for principal information (text that need to be highlighted) -->
<style name="primary_text_appearance">
<item name="android:textSize">@dimen/primary_text_size</item>
<item name="android:textColor">@color/black_transparent</item>
diff --git a/res/values/theme.xml b/res/values/theme.xml
new file mode 100644
index 00000000..56f9c2b6
--- /dev/null
+++ b/res/values/theme.xml
@@ -0,0 +1,177 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+ -->
+
+<!--
+ The default light theme for CMFileManager. This is the default theme
+ of the app, only has the definitions and comments of every customizable
+ part of the app. Developers MUST take this theme as the base for building
+ new themes for CMFileManager.
+ Developers MUST replace the "light" prefix of every resource for the identifier
+ of the theme.
+ -->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- The base theme used to customize some (non-themeables) widgets like dialogs
+ 2 possibles values:
+ * holo: @android:style/Theme.Holo
+ * holo_light: @android:style/Theme.Holo.Light
+ -->
+ <string name="base_theme">holo_light</string>
+
+ <!-- The image preview -->
+ <drawable name="theme_preview_drawable">@drawable/theme_preview</drawable>
+ <drawable name="theme_no_preview_drawable">@drawable/theme_no_preview</drawable>
+
+ <!-- The drawable for the title bar -->
+ <drawable name="titlebar_drawable">@drawable/bg_holo_titlebar</drawable>
+
+ <!-- The background drawable -->
+ <drawable name="background_drawable">@drawable/bg_holo_background</drawable>
+
+ <!-- The drawable for the status bar -->
+ <drawable name="statusbar_drawable">@drawable/bg_holo_statusbar</drawable>
+
+ <!-- The drawable for the selection bar -->
+ <drawable name="selectionbar_drawable">@drawable/bg_holo_selectionbar</drawable>
+
+ <!-- The drawable for the overflow action bar button -->
+ <drawable name="ab_overflow_drawable">@drawable/ic_holo_light_overflow</drawable>
+ <!-- The drawable for the actions action bar button -->
+ <drawable name="ab_actions_drawable">@drawable/ic_holo_light_contextual_action</drawable>
+ <!-- The drawable for the search action bar button -->
+ <drawable name="ab_search_drawable">@drawable/ic_holo_light_search</drawable>
+ <!-- The drawable for the bookmarks action bar button -->
+ <drawable name="ab_bookmarks_drawable">@drawable/ic_holo_light_bookmarks</drawable>
+ <!-- The drawable for the history action bar button -->
+ <drawable name="ab_history_drawable">@drawable/ic_holo_light_history</drawable>
+ <!-- The drawable for the sort mode of expander bar -->
+ <drawable name="ab_sort_mode_drawable">@drawable/ic_holo_light_sort_alphabetically</drawable>
+ <!-- The drawable for the layout mode of expander bar -->
+ <drawable name="ab_layout_mode_drawable">@drawable/ic_holo_light_layout</drawable>
+ <!-- The drawable for the view options of expander bar -->
+ <drawable name="ab_view_options_drawable">@drawable/ic_holo_light_view</drawable>
+ <!-- The drawable for the selection done button -->
+ <drawable name="ab_selection_done_drawable">@drawable/ic_holo_light_accept</drawable>
+ <!-- The drawable for the save action bar button -->
+ <drawable name="ab_save_drawable">@drawable/ic_holo_light_save</drawable>
+ <!-- The drawable for the tab action bar button -->
+ <drawable name="ab_tab_drawable">@drawable/ic_holo_light_tab</drawable>
+
+ <!-- The close action drawable from the expander bar -->
+ <drawable name="expander_close_drawable">@drawable/ic_holo_light_expander_close</drawable>
+ <!-- The open action drawable from the expander bar -->
+ <drawable name="expander_open_drawable">@drawable/ic_holo_light_expander_open</drawable>
+
+ <!-- The text color of TextView controls -->
+ <color name="text_color">@color/black_transparent</color>
+ <!-- The text color of Dialog -->
+ <color name="dialog_text_color">@android:color/holo_blue_dark</color>
+
+ <!-- The highlight color for terms found in the search result -->
+ <color name="search_highlight_color">@color/search_highlight</color>
+
+ <!-- The breadcrumb divider drawable -->
+ <drawable name="breadcrumb_divider_drawable">@drawable/ic_holo_light_breadcrumb_divider</drawable>
+
+ <!-- FileSystem locked drawable -->
+ <drawable name="filesystem_locked_drawable">@drawable/ic_holo_light_fs_locked</drawable>
+ <!-- FileSystem unlocked drawable -->
+ <drawable name="filesystem_unlocked_drawable">@drawable/ic_holo_light_fs_unlocked</drawable>
+ <!-- FileSystem warning drawable -->
+ <drawable name="filesystem_warning_drawable">@drawable/ic_holo_light_fs_warning</drawable>
+
+ <!-- The popup menu checkable selector drawable -->
+ <drawable name="popup_checkable_selector_drawable">@drawable/checkable_selector</drawable>
+ <!-- The menu checkable selector drawable -->
+ <drawable name="menu_checkable_selector_drawable">@drawable/holo_popup_selector</drawable>
+ <!-- The checkable item selector drawable -->
+ <drawable name="selection_drawable">@drawable/holo_selection</drawable>
+
+ <!-- Selectors -->
+ <drawable name="selectors_deselected_drawable">@drawable/holo_list_selector_deselected</drawable>
+ <drawable name="selectors_selected_drawable">@drawable/holo_list_selector_selected</drawable>
+ <drawable name="selectors_button_drawable">@drawable/holo_button_selector</drawable>
+
+ <!-- Checkboxes -->
+ <drawable name="checkbox_deselected_drawable">@drawable/btn_holo_light_check_off_normal</drawable>
+ <drawable name="checkbox_selected_drawable">@drawable/btn_holo_light_check_on_normal</drawable>
+
+ <!-- Dividers -->
+ <drawable name="horizontal_divider_drawable">@drawable/divider_horizontal_bright_opaque</drawable>
+ <drawable name="vertical_divider_drawable">@drawable/divider_vertical_bright_opaque</drawable>
+ <color name="horizontal_divider_color">@color/divider_color_light</color>
+ <color name="vertical_divider_color">@color/divider_color</color>
+
+ <!-- Icons -->
+ <drawable name="ic_close_drawable">@drawable/ic_holo_light_close</drawable>
+ <drawable name="ic_config_drawable">@drawable/ic_holo_light_config</drawable>
+ <drawable name="ic_home_drawable">@drawable/ic_holo_light_home</drawable>
+ <drawable name="ic_filesystem_drawable">@drawable/ic_holo_light_filesystem</drawable>
+ <drawable name="ic_sdcard_drawable">@drawable/ic_holo_light_sdcard</drawable>
+ <drawable name="ic_usb_drawable">@drawable/ic_holo_light_usb</drawable>
+ <drawable name="ic_user_defined_bookmark_drawable">@drawable/ic_holo_light_user_defined_bookmark</drawable>
+ <drawable name="ic_history_search_drawable">@drawable/ic_holo_light_history_search</drawable>
+
+ <!-- Disk usage graph -->
+ <color name="disk_usage_total_color">@color/disk_usage_total</color>
+ <color name="disk_usage_used_color">@color/disk_usage_used</color>
+ <color name="disk_usage_used_warning_color">@color/disk_usage_used_warning</color>
+
+ <!-- Disk usage filters -->
+ <color name="disk_usage_filter_normal_color">@color/disk_usage_color_filter_normal</color>
+ <color name="disk_usage_filter_warning_color">@color/disk_usage_color_filter_warning</color>
+
+ <!-- ProgressBar -->
+ <drawable name="horizontal_progress_bar">@drawable/progress_horizontal_holo_light</drawable>
+
+ <!-- Autocomplete -->
+ <color name="autocomplete_fg_color">@color/black_transparent</color>
+ <color name="autocomplete_bg_color">@android:color/darker_gray</color>
+
+ <!-- Console -->
+ <color name="console_bg_color">@color/console_bg</color>
+ <color name="console_fg_color">@color/console_fg</color>
+
+ <!-- Fso Icons -->
+ <drawable name="ic_fso_folder_drawable">@drawable/ic_fso_folder</drawable>
+ <drawable name="ic_fso_default_drawable">@drawable/ic_fso_default</drawable>
+ <drawable name="fso_type_app_drawable">@drawable/fso_type_app</drawable>
+ <drawable name="fso_type_audio_drawable">@drawable/fso_type_audio</drawable>
+ <drawable name="fso_type_binary_drawable">@drawable/fso_type_binary</drawable>
+ <drawable name="fso_type_calendar_drawable">@drawable/fso_type_calendar</drawable>
+ <drawable name="fso_type_cdimage_drawable">@drawable/fso_type_cdimage</drawable>
+ <drawable name="fso_type_compress_drawable">@drawable/fso_type_compress</drawable>
+ <drawable name="fso_type_contact_drawable">@drawable/fso_type_contact</drawable>
+ <drawable name="fso_type_database_drawable">@drawable/fso_type_database</drawable>
+ <drawable name="fso_type_document_drawable">@drawable/fso_type_document</drawable>
+ <drawable name="fso_type_ebook_drawable">@drawable/fso_type_ebook</drawable>
+ <drawable name="fso_type_email_drawable">@drawable/fso_type_email</drawable>
+ <drawable name="fso_type_executable_drawable">@drawable/fso_type_executable</drawable>
+ <drawable name="fso_type_feed_drawable">@drawable/fso_type_feed</drawable>
+ <drawable name="fso_type_font_drawable">@drawable/fso_type_font</drawable>
+ <drawable name="fso_type_image_drawable">@drawable/fso_type_image</drawable>
+ <drawable name="fso_type_markup_document_drawable">@drawable/fso_type_markup_document</drawable>
+ <drawable name="fso_type_pdf_drawable">@drawable/fso_type_pdf</drawable>
+ <drawable name="fso_type_presentation_drawable">@drawable/fso_type_presentation</drawable>
+ <drawable name="fso_type_security_drawable">@drawable/fso_type_security</drawable>
+ <drawable name="fso_type_shell_drawable">@drawable/fso_type_shell</drawable>
+ <drawable name="fso_type_source_drawable">@drawable/fso_type_source</drawable>
+ <drawable name="fso_type_spreadsheet_drawable">@drawable/fso_type_spreadsheet</drawable>
+ <drawable name="fso_type_system_drawable">@drawable/fso_type_system</drawable>
+ <drawable name="fso_type_text_drawable">@drawable/fso_type_text</drawable>
+ <drawable name="fso_type_video_drawable">@drawable/fso_type_video</drawable>
+
+</resources>
diff --git a/res/xml/preferences_headers.xml b/res/xml/preferences_headers.xml
index 0bbb6c51..3cbe0020 100644
--- a/res/xml/preferences_headers.xml
+++ b/res/xml/preferences_headers.xml
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
<header
android:fragment="com.cyanogenmod.filemanager.activities.preferences.SettingsPreferences$GeneralPreferenceFragment"
@@ -21,6 +22,9 @@
android:fragment="com.cyanogenmod.filemanager.activities.preferences.SettingsPreferences$SearchPreferenceFragment"
android:title="@string/pref_search" />
<header
+ android:fragment="com.cyanogenmod.filemanager.activities.preferences.SettingsPreferences$ThemesPreferenceFragment"
+ android:title="@string/pref_themes" />
+ <header
android:title="@string/pref_about"
android:summary="@null" />
</preference-headers>
diff --git a/res/xml/preferences_search.xml b/res/xml/preferences_search.xml
index 1baf5133..9bbdea77 100644
--- a/res/xml/preferences_search.xml
+++ b/res/xml/preferences_search.xml
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
diff --git a/res/xml/preferences_themes.xml b/res/xml/preferences_themes.xml
new file mode 100644
index 00000000..d4b30400
--- /dev/null
+++ b/res/xml/preferences_themes.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+ -->
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Search Results -->
+ <PreferenceCategory
+ android:key="themes_selection"
+ android:title="@string/pref_themes_selection_category">
+
+ <!-- Themes selector -->
+ <com.cyanogenmod.filemanager.ui.preferences.ThemeSelectorPreference
+ android:key="cm_filemanager_theme"
+ android:persistent="true"
+ android:defaultValue="com.cyanogenmod.filemanager:light" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>