mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 12:21:15 +00:00
Use split ActionBar for FolderPickerActivity.
This commit is contained in:
parent
5fa3400693
commit
9806b66f56
3 changed files with 10 additions and 4 deletions
|
@ -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" />
|
||||||
|
|
|
@ -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>
|
|
@ -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" >
|
||||||
|
|
Loading…
Reference in a new issue