2014-03-29 00:11:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-06-20 01:35:33 +02:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-06-16 15:41:46 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-06-20 01:35:33 +02:00
|
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
2014-03-29 00:11:07 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-06-20 01:35:33 +02:00
|
|
|
android:layout_height="match_parent">
|
2014-03-29 00:11:07 +01:00
|
|
|
|
2014-10-08 18:31:31 +02:00
|
|
|
<LinearLayout
|
|
|
|
|
android:visibility="gone"
|
2015-05-04 21:13:07 +02:00
|
|
|
android:id="@+id/decrypt_content"
|
2014-10-01 15:03:53 +02:00
|
|
|
android:layout_width="match_parent"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:layout_height="match_parent"
|
2015-04-24 14:18:01 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
tools:visibility="visible">
|
2014-03-30 18:37:32 +02:00
|
|
|
|
2014-10-08 18:31:31 +02:00
|
|
|
<ScrollView
|
|
|
|
|
android:fillViewport="true"
|
|
|
|
|
android:paddingTop="8dp"
|
2014-10-01 15:03:53 +02:00
|
|
|
android:layout_width="match_parent"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:scrollbars="vertical"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1">
|
2014-09-15 10:19:55 +02:00
|
|
|
|
2014-10-08 18:31:31 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/decrypt_text_plaintext"
|
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="top"
|
|
|
|
|
android:hint=""
|
2015-06-16 15:41:46 +02:00
|
|
|
tools:text="This is the plaintext"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:textIsSelectable="true" />
|
2014-04-15 22:37:36 +02:00
|
|
|
|
2014-10-08 18:31:31 +02:00
|
|
|
</ScrollView>
|
2014-04-15 22:37:36 +02:00
|
|
|
|
2014-10-08 18:31:31 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-05-04 21:13:07 +02:00
|
|
|
android:id="@+id/decrypt_error_overlay"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
2015-04-24 14:18:01 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:visibility="gone">
|
2014-10-08 18:31:31 +02:00
|
|
|
|
|
|
|
|
<TextView
|
2014-10-01 15:03:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
android:text="@string/decrypt_invalid_text"
|
2014-10-15 23:22:08 +02:00
|
|
|
android:padding="16dp"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:layout_gravity="center"
|
2014-10-15 23:05:29 +02:00
|
|
|
android:textColor="@color/android_red_light" />
|
2014-05-06 19:18:32 +02:00
|
|
|
|
2014-10-08 18:31:31 +02:00
|
|
|
<Button
|
2015-05-04 21:13:07 +02:00
|
|
|
android:id="@+id/decrypt_error_overlay_button"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/button_edgy"
|
2014-10-15 23:05:29 +02:00
|
|
|
android:textColor="@color/android_red_light"
|
2014-10-08 18:31:31 +02:00
|
|
|
android:text="@string/decrypt_invalid_button"
|
|
|
|
|
android:layout_gravity="center_horizontal" />
|
2014-03-30 21:33:00 +02:00
|
|
|
</LinearLayout>
|
2015-06-20 01:35:33 +02:00
|
|
|
|
2015-08-29 13:28:56 +02:00
|
|
|
</org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator>
|