2010-04-06 15:54:51 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-01-16 08:31:16 -05:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.UserIdEditor xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-01-09 09:12:41 -05:00
|
|
|
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
|
2014-01-12 15:33:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:orientation="vertical" >
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/isMainUserId"
|
2010-04-06 15:54:51 -04:00
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2013-10-25 15:46:05 -04:00
|
|
|
android:text="@string/label_main_user_id" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-12 15:33:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" >
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="0dip"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" >
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_name"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="@string/label_name" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/name"
|
2014-01-12 15:33:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="textPersonName|textCapWords" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_email"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="@string/label_email" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/email"
|
2014-01-12 15:33:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="textEmailAddress" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_comment"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="@string/label_comment" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/comment"
|
2014-01-12 15:33:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_weight="1" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
|
2014-01-09 09:12:41 -05:00
|
|
|
<com.beardedhen.androidbootstrap.BootstrapButton
|
2010-05-18 11:23:25 -04:00
|
|
|
android:id="@+id/delete"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-09 09:12:41 -05: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 11:23:25 -04:00
|
|
|
</LinearLayout>
|
2010-04-06 15:54:51 -04:00
|
|
|
|
2012-04-12 13:44:00 -04:00
|
|
|
<View
|
|
|
|
android:id="@+id/separator"
|
2014-01-12 15:33:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="1dip"
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
2013-01-16 08:31:16 -05:00
|
|
|
</org.sufficientlysecure.keychain.ui.widget.UserIdEditor>
|