From 47a693cdd3f8fa1b3a807c1481a1bd1464b05a4e Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Thu, 29 May 2014 07:32:29 +0200 Subject: new: contextual action bar for cache details and trackable This is surely not complete (as we still use other local context menus in the same actions), but a start for converting all context menus to contextual action bars. --- main/res/menu/details_context.xml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'main/res/menu') diff --git a/main/res/menu/details_context.xml b/main/res/menu/details_context.xml index 53f326a..fc61d5d 100644 --- a/main/res/menu/details_context.xml +++ b/main/res/menu/details_context.xml @@ -1,27 +1,34 @@ + xmlns:cgeo="http://schemas.android.com/apk/res-auto" > + android:icon="@drawable/ic_menu_copy" + android:title="@android:string/copy" + cgeo:showAsAction="always|withText"> + android:title="@string/translate_to_sys_lang" + cgeo:showAsAction="ifRoom"> + android:title="@string/translate_to_english" + cgeo:showAsAction="ifRoom"> + android:title="@string/cache_share_field" + cgeo:showAsAction="ifRoom"> + android:visible="false" + cgeo:showAsAction="ifRoom"> \ No newline at end of file -- cgit v1.1