1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +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" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".gui.RepoSettingsActivity" />
android:value=".gui.RepoSettingsActivity"
android:uiOptions="splitActionBarWhenNarrow"/>
<meta-data
android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />

View file

@ -1,13 +1,17 @@
<?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
android:id="@+id/create_folder"
android:title="@string/create_folder" />
android:title="@string/create_folder"
app:showAsAction="ifRoom" />
<item
android:id="@+id/select"
android:title="@string/select_folder" />
android:title="@string/select_folder"
app:showAsAction="ifRoom" />
</menu>

View file

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