2010-04-06 19:54:51 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-01-16 14:31:16 +01:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.UserIdEditor xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-01-09 15:12:41 +01:00
|
|
|
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
|
2010-05-18 15:23:25 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:orientation="vertical" >
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/isMainUserId"
|
2010-04-06 19:54:51 +00:00
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
2013-10-25 21:46:05 +02:00
|
|
|
android:text="@string/label_main_user_id" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" >
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="0dip"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" >
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_name"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="@string/label_name" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/name"
|
2010-07-23 12:57:02 +00:00
|
|
|
android:layout_width="fill_parent"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="textPersonName|textCapWords" />
|
2010-05-18 15:23:25 +00:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_email"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="@string/label_email" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/email"
|
2010-07-23 12:57:02 +00:00
|
|
|
android:layout_width="fill_parent"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="textEmailAddress" />
|
2010-05-18 15:23:25 +00:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_comment"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="@string/label_comment" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/comment"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_width="fill_parent"
|
2010-05-18 15:23:25 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_weight="1" />
|
2010-05-18 15:23:25 +00:00
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
|
2014-01-09 15:12:41 +01:00
|
|
|
<com.beardedhen.androidbootstrap.BootstrapButton
|
2010-05-18 15:23:25 +00:00
|
|
|
android:id="@+id/delete"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-09 15:12:41 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_marginLeft="4dip"
|
|
|
|
android:layout_marginRight="6dip"
|
|
|
|
bootstrapbutton:bb_icon_left="fa-minus"
|
|
|
|
bootstrapbutton:bb_roundedCorners="true"
|
|
|
|
bootstrapbutton:bb_size="small"
|
|
|
|
bootstrapbutton:bb_type="danger" />
|
2010-05-18 15:23:25 +00:00
|
|
|
</LinearLayout>
|
2010-04-06 19:54:51 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/separator"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="1dip"
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
2013-01-16 14:31:16 +01:00
|
|
|
</org.sufficientlysecure.keychain.ui.widget.UserIdEditor>
|