decrypt: revise card layout margins

This commit is contained in:
Vincent Breitmoser 2015-09-30 17:19:17 +02:00
parent 9ba66aa2ce
commit 7f1dbccb5b

View file

@ -65,34 +65,35 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingRight="4dp" android:layout_marginTop="4dp"
android:paddingLeft="4dp" android:layout_marginBottom="4dp"
android:gravity="center_vertical"
tools:ignore="UseCompoundDrawables"> tools:ignore="UseCompoundDrawables">
<ImageView <ImageView
android:id="@+id/result_encryption_icon" android:id="@+id/result_encryption_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="4dp"
android:src="@drawable/status_lock_open_24dp" android:src="@drawable/status_lock_open_24dp"
android:layout_gravity="center_vertical" /> />
<TextView <TextView
android:id="@+id/result_encryption_text" android:id="@+id/result_encryption_text"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginLeft="8dp" android:layout_marginLeft="6dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:text="" android:text=""
tools:text="Encryption status text" /> tools:text="Encryption status text" />
<ImageView <ImageView
android:id="@+id/context_menu" android:id="@+id/context_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
android:scaleType="center" android:scaleType="center"
android:layout_width="36dip"
android:layout_height="48dip"
android:clickable="true" android:clickable="true"
android:background="?attr/selectableItemBackgroundBorderless" android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_more_vert_black_24dp" /> android:src="@drawable/ic_more_vert_black_24dp" />
@ -103,25 +104,25 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingRight="4dp" android:layout_marginTop="4dp"
android:paddingLeft="4dp" android:layout_marginBottom="4dp"
android:gravity="center_vertical"
tools:ignore="UseCompoundDrawables"> tools:ignore="UseCompoundDrawables">
<ImageView <ImageView
android:id="@+id/result_signature_icon" android:id="@+id/result_signature_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="4dp"
android:src="@drawable/status_signature_unverified_cutout_24dp" android:src="@drawable/status_signature_unverified_cutout_24dp"
android:layout_gravity="center_vertical" /> />
<TextView <TextView
android:id="@+id/result_signature_text" android:id="@+id/result_signature_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginLeft="8dp" android:layout_marginLeft="6dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:text="" android:text=""
tools:text="Signature status text" /> tools:text="Signature status text" />
</LinearLayout> </LinearLayout>
@ -130,10 +131,11 @@
android:id="@+id/result_signature_layout" android:id="@+id/result_signature_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:clickable="true" android:clickable="true"
android:background="?android:selectableItemBackground" android:background="?android:selectableItemBackground"
android:orientation="horizontal" android:orientation="horizontal"
style="?listPreferredItemHeight"
> >
<LinearLayout <LinearLayout