aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2015-03-19 11:45:53 +0100
committerJorge Ruesga <jorge@ruesga.com>2015-03-19 11:50:12 +0100
commit03e534f48063b633af1e96201a8223285da8a877 (patch)
treeb7760735c4522b4128b72592d72aeea4786b9b2c
parent336c3849084b0a3f35500215d9ad4d94fcb63d89 (diff)
downloadandroid_packages_apps_CMFileManager-03e534f48063b633af1e96201a8223285da8a877.tar.gz
android_packages_apps_CMFileManager-03e534f48063b633af1e96201a8223285da8a877.tar.bz2
android_packages_apps_CMFileManager-03e534f48063b633af1e96201a8223285da8a877.zip
cmfm: fix edit home bookmark icon
Change-Id: I0da0a0b01f49d24edab30a72decd240996b5ccfe Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
-rw-r--r--res/drawable-hdpi/ic_edit_home_bookmark.pngbin0 -> 341 bytes
-rw-r--r--res/drawable-mdpi/ic_edit_home_bookmark.pngbin0 -> 276 bytes
-rw-r--r--res/drawable-xhdpi/ic_edit_home_bookmark.pngbin0 -> 379 bytes
-rw-r--r--res/drawable-xxhdpi/ic_edit_home_bookmark.pngbin0 -> 493 bytes
-rw-r--r--res/layout/bookmarks_item.xml2
-rw-r--r--res/values/theme.xml1
-rw-r--r--src/com/cyanogenmod/filemanager/activities/NavigationActivity.java2
7 files changed, 3 insertions, 2 deletions
diff --git a/res/drawable-hdpi/ic_edit_home_bookmark.png b/res/drawable-hdpi/ic_edit_home_bookmark.png
new file mode 100644
index 00000000..b5f88c80
--- /dev/null
+++ b/res/drawable-hdpi/ic_edit_home_bookmark.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_edit_home_bookmark.png b/res/drawable-mdpi/ic_edit_home_bookmark.png
new file mode 100644
index 00000000..bae3480c
--- /dev/null
+++ b/res/drawable-mdpi/ic_edit_home_bookmark.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_edit_home_bookmark.png b/res/drawable-xhdpi/ic_edit_home_bookmark.png
new file mode 100644
index 00000000..4c95bd57
--- /dev/null
+++ b/res/drawable-xhdpi/ic_edit_home_bookmark.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_edit_home_bookmark.png b/res/drawable-xxhdpi/ic_edit_home_bookmark.png
new file mode 100644
index 00000000..6ed4351c
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_edit_home_bookmark.png
Binary files differ
diff --git a/res/layout/bookmarks_item.xml b/res/layout/bookmarks_item.xml
index f8e501bc..0a0ceee9 100644
--- a/res/layout/bookmarks_item.xml
+++ b/res/layout/bookmarks_item.xml
@@ -54,7 +54,7 @@
android:textAppearance="@style/secondary_text_appearance" />
</LinearLayout>
- <com.cyanogenmod.filemanager.ui.widgets.NonFocusableButtonItem
+ <com.cyanogenmod.filemanager.ui.widgets.ButtonItem
android:id="@+id/bookmarks_item_action"
android:layout_width="@dimen/default_buttom_width"
android:layout_height="match_parent"
diff --git a/res/values/theme.xml b/res/values/theme.xml
index 9ebf67e4..4d424d5a 100644
--- a/res/values/theme.xml
+++ b/res/values/theme.xml
@@ -154,6 +154,7 @@
<drawable name="ic_copy_drawable">@drawable/ic_material_light_copy</drawable>
<drawable name="ic_secure_drawable">@drawable/ic_material_light_secure</drawable>
<drawable name="ic_remote_drawable">@drawable/ic_material_light_remote</drawable>
+ <drawable name="ic_edit_home_bookmark_drawable">@drawable/ic_edit_home_bookmark</drawable>
<!-- Disk usage graph -->
<color name="disk_usage_total_color">@color/disk_usage_total</color>
diff --git a/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java b/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java
index 23bd34bf..46c10398 100644
--- a/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java
+++ b/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java
@@ -994,7 +994,7 @@ public class NavigationActivity extends Activity
Drawable action = null;
String actionCd = null;
if (bookmark.mType.compareTo(BOOKMARK_TYPE.HOME) == 0) {
- action = iconholder.getDrawable("ic_config_drawable"); //$NON-NLS-1$
+ action = iconholder.getDrawable("ic_edit_home_bookmark_drawable"); //$NON-NLS-1$
actionCd = getApplicationContext().getString(
R.string.bookmarks_button_config_cd);
}