60 lines
2.1 KiB
XML
60 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".CreateIdentityFragment">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginHorizontal="50dp"
|
|
android:layout_centerInParent="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/create_identity_test"
|
|
style="@style/Label"/>
|
|
|
|
<EditText
|
|
android:id="@+id/edit_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/identity_name"
|
|
android:inputType="text"/>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/checkbox_enable_password"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="@string/enable_password"/>
|
|
|
|
<EditText
|
|
android:id="@+id/edit_password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/password_hint"
|
|
android:inputType="textPassword"
|
|
android:visibility="gone"/>
|
|
|
|
<EditText
|
|
android:id="@+id/edit_password_confirm"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/password_confirm_hint"
|
|
android:inputType="textPassword"
|
|
android:visibility="gone"/>
|
|
|
|
<Button
|
|
android:id="@+id/button_create"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="@string/create"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |