1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Use split ActionBar for FolderPickerActivity.

This commit is contained in:
Felix Ableitner 2014-07-01 11:43:27 +02:00
parent 5fa3400693
commit 9806b66f56
3 changed files with 10 additions and 4 deletions

View file

@ -64,7 +64,8 @@
android:label="@string/folder_picker_title" > android:label="@string/folder_picker_title" >
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".gui.RepoSettingsActivity" /> android:value=".gui.RepoSettingsActivity"
android:uiOptions="splitActionBarWhenNarrow"/>
<meta-data <meta-data
android:name="android.support.UI_OPTIONS" android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" /> android:value="splitActionBarWhenNarrow" />

View file

@ -1,13 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <menu
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" >
<item <item
android:id="@+id/create_folder" android:id="@+id/create_folder"
android:title="@string/create_folder" /> android:title="@string/create_folder"
app:showAsAction="ifRoom" />
<item <item
android:id="@+id/select" android:id="@+id/select"
android:title="@string/select_folder" /> android:title="@string/select_folder"
app:showAsAction="ifRoom" />
</menu> </menu>

View file

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu <menu
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" > xmlns:app="http://schemas.android.com/apk/res-auto" >