Files
open-keychain/OpenKeychain/src/main/res/layout/edit_identities_fragment.xml

88 lines
3.4 KiB
XML
Raw Normal View History

2015-12-31 14:13:43 +01:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-12-30 16:47:42 +01:00
xmlns:card_view="http://schemas.android.com/apk/res-auto"
2015-12-31 14:13:43 +01:00
xmlns:tools="http://schemas.android.com/tools"
2015-12-30 16:47:42 +01:00
android:layout_width="match_parent"
2015-12-31 14:13:43 +01:00
android:layout_height="match_parent"
tools:context=".ui.EditIdentitiesActivity">
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
<ScrollView
2015-12-30 16:47:42 +01:00
android:layout_width="match_parent"
2015-12-31 14:13:43 +01:00
android:layout_height="match_parent">
<LinearLayout
2015-12-30 16:47:42 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-12-31 14:13:43 +01:00
android:orientation="vertical"
android:paddingBottom="96dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp">
2015-12-30 16:47:42 +01:00
<CheckBox
android:id="@+id/edit_identities_upload_checkbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/label_send_key"
android:paddingTop="16dp"
android:paddingBottom="16dp"/>
2015-12-31 14:13:43 +01:00
<android.support.v7.widget.CardView
android:id="@+id/edit_identities_user_ids_card"
2015-12-30 16:47:42 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-12-31 14:13:43 +01:00
android:layout_gravity="center"
card_view:cardBackgroundColor="?attr/colorCardViewBackground"
card_view:cardCornerRadius="4dp"
card_view:cardElevation="2dp"
card_view:cardUseCompatPadding="true">
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
<LinearLayout
android:layout_width="match_parent"
2015-12-30 16:47:42 +01:00
android:layout_height="wrap_content"
2015-12-31 14:13:43 +01:00
android:orientation="vertical">
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
<TextView
style="@style/CardViewHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/section_user_ids" />
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
<org.sufficientlysecure.keychain.ui.widget.FixedListView
android:id="@+id/edit_identities_user_ids"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="?android:attr/listDivider" />
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
<org.sufficientlysecure.keychain.ui.widget.FixedListView
android:id="@+id/edit_identities_user_ids_added"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
</LinearLayout>
</android.support.v7.widget.CardView>
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
</LinearLayout>
</ScrollView>
<android.support.design.widget.FloatingActionButton
android:id="@+id/edit_identities_add_user_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="24dp"
android:layout_marginRight="24dp"
android:src="@drawable/ic_add_white_24dp" />
2015-12-30 16:47:42 +01:00
2015-12-31 14:13:43 +01:00
</RelativeLayout>
2015-12-30 16:47:42 +01:00