diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-13 23:33:56 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-21 23:49:06 +0200 |
commit | 2e43a5c0a6176911f0ab86b3c55dd57845b45f30 (patch) | |
tree | 5448c941e6a23944340afef3d456d00b2bbd50a9 /src/main/res/layout/activity_contact_details.xml | |
parent | 0be385fec3caee21a5eab3b9ca2c659749b4a1aa (diff) |
more theme working
Diffstat (limited to 'src/main/res/layout/activity_contact_details.xml')
-rw-r--r-- | src/main/res/layout/activity_contact_details.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml index 191694b7e..f39c59fc2 100644 --- a/src/main/res/layout/activity_contact_details.xml +++ b/src/main/res/layout/activity_contact_details.xml @@ -30,24 +30,22 @@ android:layout_marginRight="@dimen/activity_horizontal_margin" android:layout_marginTop="@dimen/activity_vertical_margin"> - <RelativeLayout + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:orientation="vertical" android:padding="@dimen/card_padding_regular"> <android.support.text.emoji.widget.EmojiTextView android:id="@+id/contact_display_name" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_centerHorizontal="true" android:layout_gravity="center_horizontal" android:paddingBottom="5dp" android:text="@string/contact" android:textAlignment="center" - android:textColor="@color/black87" + android:textAppearance="@style/Base.TextAppearance.AppCompat.Title" android:textIsSelectable="false" - android:textSize="?attr/TextSizeHeadline" android:textStyle="bold" /> <QuickContactBadge @@ -169,7 +167,7 @@ android:text="@string/using_account" android:textAppearance="@style/TextAppearance.AppCompat.Caption" android:visibility="gone" /> - </RelativeLayout> + </LinearLayout> </android.support.v7.widget.CardView> <android.support.v7.widget.CardView @@ -196,7 +194,6 @@ android:layout_centerVertical="true" android:layout_toLeftOf="@+id/notification_status_button" android:text="@string/notify_on_all_messages" - android:textColor="@color/black87" android:textSize="?attr/TextSizeBody" /> <ImageButton @@ -207,9 +204,10 @@ android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_gravity="center_horizontal" + android:alpha="?attr/icon_alpha" android:background="?attr/selectableItemBackgroundBorderless" android:padding="@dimen/image_button_padding" - android:src="@drawable/ic_notifications_grey600_24dp" /> + android:src="@drawable/ic_notifications_black_24dp" /> </RelativeLayout> </android.support.v7.widget.CardView> |