2013-09-04 22:04:27 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-01-13 23:15:13 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-02-03 14:28:54 +01:00
|
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-02-02 17:19:27 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-02-03 14:28:54 +01:00
|
|
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
2014-01-18 20:27:28 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-02-13 23:34:57 +01:00
|
|
|
android:layout_height="match_parent">
|
2013-09-04 22:04:27 +02:00
|
|
|
|
2015-02-03 14:28:54 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/toolbar_big"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="120dp"
|
|
|
|
android:elevation="4dp"
|
|
|
|
android:background="?attr/colorPrimaryDark"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2015-02-03 16:10:54 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/statusBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/statusMargin"
|
|
|
|
android:background="?attr/colorPrimary" />
|
|
|
|
|
2015-02-03 14:28:54 +01:00
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2015-02-03 16:10:54 +01:00
|
|
|
android:layout_below="@+id/statusBar"
|
2015-02-03 14:28:54 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
2015-02-03 16:10:54 +01:00
|
|
|
android:background="?attr/colorPrimary"
|
2015-02-03 14:28:54 +01:00
|
|
|
android:overScrollMode="always"
|
|
|
|
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
|
|
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
android:transitionGroup="false"
|
|
|
|
android:touchscreenBlocksFocus="false" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_below="@+id/toolbar"
|
2015-02-03 16:05:18 +01:00
|
|
|
android:layout_marginLeft="48dp"
|
|
|
|
android:layout_marginRight="72dp"
|
2015-02-03 14:28:54 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-02-03 16:05:18 +01:00
|
|
|
android:layout_height="wrap_content">
|
2015-02-03 14:28:54 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/api_app_settings_app_icon"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:src="@drawable/ic_launcher" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/api_app_settings_app_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Name (set in-code)longlong"
|
|
|
|
android:textColor="@color/icons"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
2014-07-31 21:29:45 +02:00
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
<LinearLayout
|
2015-02-03 14:28:54 +01:00
|
|
|
android:id="@+id/body"
|
|
|
|
android:layout_below="@id/toolbar_big"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:orientation="vertical"
|
2013-09-04 22:04:27 +02:00
|
|
|
android:layout_width="match_parent"
|
2014-07-31 21:29:45 +02:00
|
|
|
android:layout_height="match_parent">
|
2013-09-04 22:04:27 +02:00
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
<ScrollView
|
2014-02-13 23:34:57 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:layout_height="match_parent">
|
2014-02-13 23:34:57 +01:00
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
<LinearLayout
|
2014-07-31 21:29:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:padding="16dp"
|
|
|
|
android:orientation="vertical">
|
2014-03-25 21:23:59 +01:00
|
|
|
|
2015-01-29 21:00:58 +01:00
|
|
|
<TextView
|
|
|
|
style="@style/SectionHeader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/api_settings_allowed_keys" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/api_allowed_keys_list_fragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" />
|
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
<TextView
|
2015-02-03 16:05:18 +01:00
|
|
|
android:id="@+id/api_accounts_label"
|
2015-01-13 23:15:13 +01:00
|
|
|
style="@style/SectionHeader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-02-03 16:05:18 +01:00
|
|
|
android:visibility="gone"
|
2015-01-13 23:15:13 +01:00
|
|
|
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" />
|
2014-03-25 21:23:59 +01:00
|
|
|
|
2015-02-03 16:05:18 +01:00
|
|
|
<TextView
|
|
|
|
style="@style/SectionHeader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/api_settings_advanced" />
|
|
|
|
|
2015-02-03 14:28:54 +01:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:textColor="@color/icons"
|
|
|
|
custom:foldedLabel="@string/api_settings_show_info"
|
|
|
|
custom:unFoldedLabel="@string/api_settings_hide_info">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/api_settings_package_name"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/api_app_settings_package_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="com.example"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/api_settings_package_signature"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/api_app_settings_package_signature"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Base64 encoded hash of signature"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout>
|
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|
2015-02-03 14:28:54 +01:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_alignBottom="@id/toolbar_big"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginBottom="-40dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="4dp"
|
|
|
|
fab:fab_icon="@drawable/ic_play_arrow_white_24dp"
|
|
|
|
fab:fab_colorNormal="@color/fab"
|
|
|
|
fab:fab_colorPressed="@color/fab_pressed" />
|
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
</RelativeLayout>
|