From b87a7372c9f5c5cca6cc90a5f4a95486b0766dda Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Mon, 15 Jun 2015 18:15:20 +0200 Subject: [PATCH] improve preview of ViewKeyActivity layout --- .../src/main/res/layout/view_key_activity.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/OpenKeychain/src/main/res/layout/view_key_activity.xml b/OpenKeychain/src/main/res/layout/view_key_activity.xml index 4dbd793ea..b3f4e721d 100644 --- a/OpenKeychain/src/main/res/layout/view_key_activity.xml +++ b/OpenKeychain/src/main/res/layout/view_key_activity.xml @@ -60,6 +60,7 @@ android:layout_marginRight="48dp" android:layout_marginEnd="48dp" android:text="" + tools:text="Alice Skywalker" android:textColor="@color/icons" android:textAppearance="?android:attr/textAppearanceLarge" android:layout_above="@+id/view_key_status" /> @@ -73,6 +74,7 @@ android:layout_marginRight="48dp" android:layout_marginEnd="48dp" android:text="" + tools:text="My Key" android:textColor="@color/tab_text" android:textAppearance="?android:attr/textAppearanceSmall" android:layout_above="@+id/toolbar2" /> @@ -95,6 +97,7 @@ android:layout_width="64dp" android:layout_height="64dp" android:visibility="invisible" + tools:visibility="visible" style="?android:attr/borderlessButtonStyle" android:src="@drawable/ic_action_encrypt_file_24dp" /> @@ -103,6 +106,7 @@ android:layout_width="64dp" android:layout_height="64dp" android:visibility="invisible" + tools:visibility="visible" style="?android:attr/borderlessButtonStyle" android:src="@drawable/ic_action_encrypt_text_24dp" /> @@ -111,6 +115,7 @@ android:layout_width="64dp" android:layout_height="64dp" android:visibility="invisible" + tools:visibility="visible" style="?android:attr/borderlessButtonStyle" android:src="@drawable/ic_nfc_white_24dp" /> @@ -120,6 +125,7 @@ android:id="@+id/view_key_status_image" android:layout_width="96dp" android:visibility="invisible" + tools:visibility="visible" android:src="@drawable/status_signature_unverified_cutout_96dp" android:layout_height="96dp" android:layout_above="@id/toolbar2" @@ -139,6 +145,7 @@ android:layout_height="wrap_content" android:clickable="true" android:foreground="?android:attr/selectableItemBackground" + tools:visibility="invisible" card_view:cardBackgroundColor="@android:color/white" card_view:cardElevation="2dp" card_view:cardUseCompatPadding="true" @@ -147,7 +154,8 @@ + android:layout_height="96dp" + /> @@ -189,6 +197,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="invisible" + tools:visibility="visible" android:elevation="4dp" fab:fab_icon="@drawable/ic_qrcode_white_24dp" fab:fab_colorNormal="@color/fab"