diff options
author | jruesga <jorge@ruesga.com> | 2012-10-26 18:37:53 +0200 |
---|---|---|
committer | jruesga <jorge@ruesga.com> | 2012-10-26 18:37:53 +0200 |
commit | 12063a527e5b248bbdadd78d0df17d37003c179b (patch) | |
tree | da1586ea549ca9254064bd9bf8cad6f85a2d35be /res/layout | |
parent | b968899dc925f5bddac0bf06126d804ed305d8dd (diff) | |
download | android_packages_apps_CMFileManager-12063a527e5b248bbdadd78d0df17d37003c179b.tar.gz android_packages_apps_CMFileManager-12063a527e5b248bbdadd78d0df17d37003c179b.tar.bz2 android_packages_apps_CMFileManager-12063a527e5b248bbdadd78d0df17d37003c179b.zip |
Remove actions menu icon (issue #21)
Remove the action menu icon and the default long-click action setting.
Now, long-click always shows the action menu
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/navigation_view_details_item.xml | 12 | ||||
-rw-r--r-- | res/layout/navigation_view_icons_item.xml | 8 | ||||
-rw-r--r-- | res/layout/navigation_view_simple_item.xml | 13 | ||||
-rw-r--r-- | res/layout/search_item.xml | 13 |
4 files changed, 7 insertions, 39 deletions
diff --git a/res/layout/navigation_view_details_item.xml b/res/layout/navigation_view_details_item.xml index 29975205..ee3f5b86 100644 --- a/res/layout/navigation_view_details_item.xml +++ b/res/layout/navigation_view_details_item.xml @@ -37,20 +37,12 @@ android:contentDescription="@null" android:src="@null" /> - <com.cyanogenmod.filemanager.ui.widgets.NonFocusableButtonItem - android:id="@+id/navigation_view_item_menu" - android:layout_width="@dimen/item_menu_row_button_width" - android:layout_height="match_parent" - android:layout_alignParentRight="true" - android:contentDescription="@null" - android:src="@drawable/ic_holo_light_contextual_action" /> - <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_toLeftOf="@id/navigation_view_item_menu" + android:layout_alignParentRight="true" android:layout_toRightOf="@id/navigation_view_item_icon" - android:layout_alignWithParentIfMissing="true"> + android:layout_marginRight="@dimen/extra_margin"> <TextView android:id="@+id/navigation_view_item_name" diff --git a/res/layout/navigation_view_icons_item.xml b/res/layout/navigation_view_icons_item.xml index 422e4da0..36fdc6f1 100644 --- a/res/layout/navigation_view_icons_item.xml +++ b/res/layout/navigation_view_icons_item.xml @@ -36,14 +36,6 @@ android:gravity="center|center_vertical" android:src="@null" /> -<!-- <com.cyanogenmod.filemanager.ui.widgets.NonFocusableButtonItem --> -<!-- android:id="@+id/navigation_view_item_menu" --> -<!-- android:layout_width="@dimen/navigation_grid_item_width" --> -<!-- android:layout_height="@dimen/navigation_grid_item_height" --> -<!-- android:layout_toRightOf="@id/navigation_view_item_icon" --> -<!-- android:contentDescription="@null" --> -<!-- android:src="@drawable/ic_holo_light_contextual_action" /> --> - <TextView android:id="@+id/navigation_view_item_name" android:layout_width="match_parent" diff --git a/res/layout/navigation_view_simple_item.xml b/res/layout/navigation_view_simple_item.xml index 79fa5913..db2f98d7 100644 --- a/res/layout/navigation_view_simple_item.xml +++ b/res/layout/navigation_view_simple_item.xml @@ -37,21 +37,12 @@ android:contentDescription="@null" android:src="@null" /> - <com.cyanogenmod.filemanager.ui.widgets.NonFocusableButtonItem - android:id="@+id/navigation_view_item_menu" - android:layout_width="@dimen/item_menu_row_button_width" - android:layout_height="match_parent" - android:layout_alignParentRight="true" - android:contentDescription="@null" - android:src="@drawable/ic_holo_light_contextual_action" /> - <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_toLeftOf="@id/navigation_view_item_menu" + android:layout_alignParentRight="true" android:layout_toRightOf="@id/navigation_view_item_icon" - - android:layout_alignWithParentIfMissing="true" > + android:layout_marginRight="@dimen/extra_margin" > <TextView android:id="@+id/navigation_view_item_name" diff --git a/res/layout/search_item.xml b/res/layout/search_item.xml index 6b6ae5b8..3058858f 100644 --- a/res/layout/search_item.xml +++ b/res/layout/search_item.xml @@ -27,19 +27,12 @@ android:contentDescription="@null" android:src="@null" /> - <com.cyanogenmod.filemanager.ui.widgets.NonFocusableButtonItem - android:id="@+id/search_item_menu" - android:layout_width="@dimen/item_menu_row_button_width" - android:layout_height="match_parent" - android:layout_alignParentRight="true" - android:contentDescription="@null" - android:src="@drawable/ic_holo_light_contextual_action" /> - <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_toLeftOf="@id/search_item_menu" - android:layout_toRightOf="@id/search_item_icon" > + android:layout_alignParentRight="true" + android:layout_toRightOf="@id/search_item_icon" + android:layout_marginRight="@dimen/extra_margin" > <TextView android:id="@+id/search_item_name" |