| <LinearLayout 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" |
| android:gravity="center_horizontal" |
| android:orientation="vertical" |
| android:paddingBottom="@dimen/activity_vertical_margin" |
| android:paddingLeft="@dimen/activity_horizontal_margin" |
| android:paddingRight="@dimen/activity_horizontal_margin" |
| android:paddingTop="@dimen/activity_vertical_margin" |
| tools:context="com.helloworld.MainActivity"> |
| |
| <ScrollView |
| android:id="@+id/login_form" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <LinearLayout |
| android:id="@+id/email_login_form" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <android.support.design.widget.TextInputLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <TextView |
| android:id="@+id/hint_plaintext" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:text="@string/hint_plaintext" /> |
| <EditText |
| android:id="@+id/plaintext" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:hint="@string/prompt_plaintext" |
| android:inputType="textMultiLine" |
| android:lines="3" |
| android:minLines="3" |
| android:maxLines="10" /> |
| |
| </android.support.design.widget.TextInputLayout> |
| |
| <android.support.design.widget.TextInputLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <TextView |
| android:id="@+id/hint_associated_data" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:text="@string/hint_associated_data" /> |
| |
| <EditText |
| android:id="@+id/associated_data" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:hint="@string/prompt_associated_data" |
| android:inputType="textMultiLine" |
| android:lines="3" |
| android:minLines="3" |
| android:maxLines="10" /> |
| |
| </android.support.design.widget.TextInputLayout> |
| |
| <android.support.design.widget.TextInputLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <TextView |
| android:id="@+id/hint_ciphertext" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:text="@string/hint_ciphertext" /> |
| <EditText |
| android:id="@+id/ciphertext" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:hint="@string/prompt_ciphertext" |
| android:inputType="textMultiLine" |
| android:lines="3" |
| android:minLines="3" |
| android:maxLines="10" /> |
| |
| </android.support.design.widget.TextInputLayout> |
| |
| <Button |
| android:id="@+id/encrypt_button" |
| style="?android:textAppearanceSmall" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/action_encrypt" |
| android:textStyle="bold" /> |
| |
| <Button |
| android:id="@+id/decrypt_button" |
| style="?android:textAppearanceSmall" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/action_decrypt" |
| android:textStyle="bold" /> |
| |
| </LinearLayout> |
| </ScrollView> |
| </LinearLayout> |