From 9806b66f56b1d5d0be1d03d4117baf02513bdcc7 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 1 Jul 2014 11:43:27 +0200 Subject: [PATCH] Use split ActionBar for FolderPickerActivity. --- src/main/AndroidManifest.xml | 3 ++- src/main/res/menu/folder_picker.xml | 10 +++++++--- src/main/res/menu/main.xml | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index 70e7d66c..f1072fbf 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -64,7 +64,8 @@ android:label="@string/folder_picker_title" > + android:value=".gui.RepoSettingsActivity" + android:uiOptions="splitActionBarWhenNarrow"/> diff --git a/src/main/res/menu/folder_picker.xml b/src/main/res/menu/folder_picker.xml index 9007609d..399a07da 100644 --- a/src/main/res/menu/folder_picker.xml +++ b/src/main/res/menu/folder_picker.xml @@ -1,13 +1,17 @@ - + + android:title="@string/create_folder" + app:showAsAction="ifRoom" /> + android:title="@string/select_folder" + app:showAsAction="ifRoom" /> \ No newline at end of file diff --git a/src/main/res/menu/main.xml b/src/main/res/menu/main.xml index e44cf980..f8a5700b 100644 --- a/src/main/res/menu/main.xml +++ b/src/main/res/menu/main.xml @@ -1,4 +1,5 @@ +