aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml67
1 files changed, 38 insertions, 29 deletions
diff --git a/OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml b/OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml
index 831d7e888..0db581910 100644
--- a/OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/decrypt_message_fragment.xml
@@ -37,43 +37,52 @@
android:scrollHorizontally="true"
android:layout_weight="1" />
- <TextView
- style="@style/SectionHeader"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/section_decrypt_verify"
- android:id="@+id/decrypt_message_section" />
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dip"
+ android:background="?android:attr/listDivider" />
<LinearLayout
- android:id="@+id/decrypt_buttons"
+ android:id="@+id/action_decrypt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="horizontal">
+ android:clickable="true"
+ style="@style/SelectableItem"
+ android:orientation="horizontal"
+ android:layout_marginBottom="8dp">
- <com.beardedhen.androidbootstrap.BootstrapButton
- android:id="@+id/action_decrypt"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_marginRight="4dp"
- android:layout_marginTop="4dp"
- android:layout_marginBottom="4dp"
- android:layout_weight="1"
- android:text="@string/btn_decrypt_verify"
- bootstrapbutton:bb_icon_left="fa-unlock"
- bootstrapbutton:bb_type="info" />
+ <TextView
+ android:paddingLeft="8dp"
+ android:paddingRight="8dp"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:text="@string/btn_decrypt_verify_message"
+ android:gravity="center_vertical"
+ android:layout_weight="1" />
- <com.beardedhen.androidbootstrap.BootstrapButton
+ <View
+ android:layout_width="1dip"
+ android:layout_height="match_parent"
+ android:gravity="right"
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="8dp"
+ android:background="?android:attr/listDivider" />
+
+ <ImageButton
android:id="@+id/action_decrypt_from_clipboard"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_marginLeft="4dp"
- android:layout_marginTop="4dp"
- android:layout_marginBottom="4dp"
- android:layout_weight="1"
- android:text="@string/btn_decrypt_verify_clipboard"
- bootstrapbutton:bb_icon_left="fa-clipboard"
- bootstrapbutton:bb_type="info" />
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:padding="8dp"
+ android:src="@drawable/ic_action_paste"
+ android:layout_gravity="center_vertical"
+ style="@style/SelectableItem" />
+
</LinearLayout>
+
</LinearLayout>
+
</LinearLayout>
+
</ScrollView>