2014-03-25 19:11:20 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2014-03-26 17:50:16 +01:00
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/api_account_settings_icon"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_marginRight="6dp"
|
2015-03-03 11:26:59 -08:00
|
|
|
android:src="@drawable/ic_person_grey_24dp" />
|
2014-03-26 17:50:16 +01:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/api_account_settings_acc_name"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_toRightOf="@+id/api_account_settings_icon"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:text="Name (set in-code)"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
</RelativeLayout>
|
2014-03-25 19:11:20 +01:00
|
|
|
|
2014-08-31 20:26:06 +02:00
|
|
|
<TextView
|
|
|
|
|
style="@style/SectionHeader"
|
2014-03-25 19:11:20 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2014-08-31 20:26:06 +02:00
|
|
|
android:text="@string/api_settings_settings" />
|
2014-03-25 19:11:20 +01:00
|
|
|
|
2014-09-07 15:30:32 +02:00
|
|
|
<LinearLayout
|
2014-08-31 20:26:06 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-07 15:30:32 +02:00
|
|
|
android:padding="0dp"
|
|
|
|
|
android:layout_margin="0dp">
|
2014-08-31 20:26:06 +02:00
|
|
|
|
2014-09-07 15:30:32 +02:00
|
|
|
<TextView
|
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
android:text="@string/api_settings_key"
|
|
|
|
|
android:paddingRight="8dp" />
|
|
|
|
|
|
|
|
|
|
<org.sufficientlysecure.keychain.ui.widget.SignKeySpinner
|
|
|
|
|
android:id="@+id/api_account_settings_key_spinner"
|
|
|
|
|
android:minHeight="56dip"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-08-31 20:26:06 +02:00
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dip"
|
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
2014-03-26 13:21:29 +01:00
|
|
|
android:id="@+id/api_account_settings_create_key"
|
2015-03-10 02:13:36 +01:00
|
|
|
android:background="?android:selectableItemBackground"
|
2014-08-31 20:26:06 +02:00
|
|
|
android:paddingLeft="8dp"
|
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
android:layout_width="match_parent"
|
2014-03-26 13:21:29 +01:00
|
|
|
android:text="@string/api_settings_create_key"
|
2014-09-07 15:30:32 +02:00
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
2015-03-04 19:04:15 +01:00
|
|
|
android:drawableRight="@drawable/ic_key_plus_grey600_24dp"
|
2014-08-31 20:26:06 +02:00
|
|
|
android:drawablePadding="8dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:clickable="true" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dip"
|
|
|
|
|
android:background="?android:attr/listDivider" />
|
2014-03-26 13:21:29 +01:00
|
|
|
|
2014-03-25 19:11:20 +01:00
|
|
|
</LinearLayout>
|