aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-01-13 23:15:13 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-01-13 23:15:13 +0100
commitd8ff737fc5392362707ad70fbe964ac9e299457f (patch)
tree7af64313395f2d13f2e7129a573d4ef7333fadef /OpenKeychain/src/main/res/layout/api_app_settings_activity.xml
parent862d1f1971a16d639dec47bd60226a959efe76b0 (diff)
downloadopen-keychain-d8ff737fc5392362707ad70fbe964ac9e299457f.tar.gz
open-keychain-d8ff737fc5392362707ad70fbe964ac9e299457f.tar.bz2
open-keychain-d8ff737fc5392362707ad70fbe964ac9e299457f.zip
Use Toolbar and new BaseActivity
Diffstat (limited to 'OpenKeychain/src/main/res/layout/api_app_settings_activity.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/api_app_settings_activity.xml62
1 files changed, 36 insertions, 26 deletions
diff --git a/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml b/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml
index dae9de1f2..800e2eb87 100644
--- a/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml
+++ b/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml
@@ -1,41 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:orientation="vertical"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <include layout="@layout/notify_area" />
+ <include
+ android:id="@+id/toolbar"
+ layout="@layout/toolbar" />
- <ScrollView
+ <LinearLayout
+ android:layout_below="@id/toolbar"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <LinearLayout
+ <include layout="@layout/notify_area" />
+
+ <ScrollView
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="vertical">
+ android:layout_height="match_parent">
- <fragment
- android:id="@+id/api_app_settings_fragment"
- android:name="org.sufficientlysecure.keychain.remote.ui.AppSettingsFragment"
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- tools:layout="@layout/api_app_settings_fragment" />
+ android:padding="16dp"
+ android:orientation="vertical">
- <TextView
- style="@style/SectionHeader"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/api_settings_accounts" />
+ <fragment
+ android:id="@+id/api_app_settings_fragment"
+ android:name="org.sufficientlysecure.keychain.remote.ui.AppSettingsFragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ tools:layout="@layout/api_app_settings_fragment" />
- <FrameLayout
- android:id="@+id/api_accounts_list_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" />
+ <TextView
+ style="@style/SectionHeader"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/api_settings_accounts" />
+
+ <FrameLayout
+ android:id="@+id/api_accounts_list_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" />
- </LinearLayout>
- </ScrollView>
-</LinearLayout> \ No newline at end of file
+ </LinearLayout>
+ </ScrollView>
+ </LinearLayout>
+</RelativeLayout> \ No newline at end of file