diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-01 14:45:00 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-01 14:45:00 +0200 |
commit | ab9ffbfe8a84a18274ead148aff394685afbb4cd (patch) | |
tree | 5ef526f999df13f8414a6d1d07546ab0ad16f370 /src/main/res/layout/activity_trust_keys.xml | |
parent | 29b2adf5fd6725b47a647634657aeb8a94756534 (diff) |
fixed paddings in omemo key cards
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/activity_trust_keys.xml | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/src/main/res/layout/activity_trust_keys.xml b/src/main/res/layout/activity_trust_keys.xml index 4806f492e..7f84491e0 100644 --- a/src/main/res/layout/activity_trust_keys.xml +++ b/src/main/res/layout/activity_trust_keys.xml @@ -38,17 +38,14 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/error_trustkeys_title" - android:textColor="?attr/color_text_primary" - android:textSize="?attr/TextSizeHeadline" - android:textStyle="bold"/> + android:textAppearance="@style/TextAppearance.AppCompat.Title" /> <TextView android:id="@+id/key_error_message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="8dp" - android:textColor="?attr/color_text_primary" - android:textSize="?attr/TextSizeBody"/> + android:textAppearance="@style/TextAppearance.AppCompat.Title" /> </LinearLayout> </android.support.v7.widget.CardView> @@ -67,24 +64,20 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:padding="@dimen/card_padding_regular"> + android:padding="@dimen/card_padding_list"> <TextView android:id="@+id/own_keys_title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/color_text_primary" - android:textSize="?attr/TextSizeHeadline" - android:textStyle="bold"/> + android:layout_margin="@dimen/list_padding" + android:textAppearance="@style/TextAppearance.AppCompat.Title" /> <LinearLayout android:id="@+id/own_keys_details" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:divider="?android:dividerHorizontal" - android:orientation="vertical" - android:showDividers="middle"> - </LinearLayout> + android:orientation="vertical" /> </LinearLayout> </android.support.v7.widget.CardView> @@ -118,14 +111,14 @@ android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/cancel" - android:textColor="?attr/color_text_primary"/> + android:textColor="?attr/color_text_primary" /> <View android:layout_width="1dp" android:layout_height="fill_parent" android:layout_marginBottom="7dp" android:layout_marginTop="7dp" - android:background="?attr/divider"/> + android:background="?attr/divider" /> <Button android:id="@+id/save_button" @@ -135,7 +128,7 @@ android:layout_weight="1" android:enabled="true" android:text="@string/done" - android:textColor="?attr/color_text_secondary"/> + android:textColor="?attr/color_text_secondary" /> </LinearLayout> </RelativeLayout> </layout>
\ No newline at end of file |