From 44d1d063e9096a9077f8f41142cae86303d54282 Mon Sep 17 00:00:00 2001 From: Valere Date: Mon, 20 May 2019 09:53:12 +0200 Subject: [PATCH] Fix / theme update after rebase was displaying emojis grayed out --- .../adapter_item_action_quick_reaction.xml | 5 ++++- .../res/layout/item_timeline_event_base.xml | 6 ++++-- .../item_timeline_event_redacted_stub.xml | 3 +-- .../src/main/res/layout/reaction_button.xml | 19 ++++++++++--------- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/vector/src/main/res/layout/adapter_item_action_quick_reaction.xml b/vector/src/main/res/layout/adapter_item_action_quick_reaction.xml index ba39f58c..fef7b0ee 100644 --- a/vector/src/main/res/layout/adapter_item_action_quick_reaction.xml +++ b/vector/src/main/res/layout/adapter_item_action_quick_reaction.xml @@ -15,6 +15,7 @@ android:background="?android:attr/selectableItemBackground" android:clickable="true" android:focusable="true" + android:textColor="@color/black" android:textSize="30sp" app:autoSizeTextType="uniform" app:layout_constraintBottom_toTopOf="@id/quick_react_agree_text" @@ -34,10 +35,10 @@ android:background="?android:attr/selectableItemBackground" android:clickable="true" android:focusable="true" + android:textColor="@color/black" android:textSize="30sp" app:autoSizeTextType="uniform" app:layout_constraintBottom_toBottomOf="@id/quick_react_1_text" - app:layout_constraintEnd_toStartOf="@id/center_guideline" app:layout_constraintStart_toEndOf="@id/quick_react_1_text" app:layout_constraintTop_toTopOf="@id/quick_react_1_text" @@ -73,6 +74,7 @@ android:background="?android:attr/selectableItemBackground" android:clickable="true" android:focusable="true" + android:textColor="@color/black" android:textSize="30sp" app:autoSizeTextType="uniform" app:layout_constraintBottom_toBottomOf="@+id/quick_react_1_text" @@ -91,6 +93,7 @@ android:background="?android:attr/selectableItemBackground" android:clickable="true" android:focusable="true" + android:textColor="@color/black" android:textSize="30sp" app:autoSizeTextType="uniform" app:layout_constraintBottom_toBottomOf="@id/quick_react_3_text" diff --git a/vector/src/main/res/layout/item_timeline_event_base.xml b/vector/src/main/res/layout/item_timeline_event_base.xml index 806e18e3..2ec5cf04 100644 --- a/vector/src/main/res/layout/item_timeline_event_base.xml +++ b/vector/src/main/res/layout/item_timeline_event_base.xml @@ -85,6 +85,8 @@ android:id="@+id/messageContentRedactedStub" style="@style/TimelineContentStubLayoutParams" android:layout_height="20dp" + android:layout_marginEnd="56dp" + android:layout_marginRight="56dp" android:layout="@layout/item_timeline_event_redacted_stub" tools:ignore="MissingConstraints" /> @@ -92,16 +94,16 @@ diff --git a/vector/src/main/res/layout/item_timeline_event_redacted_stub.xml b/vector/src/main/res/layout/item_timeline_event_redacted_stub.xml index 948e6ea6..2f930577 100644 --- a/vector/src/main/res/layout/item_timeline_event_redacted_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_redacted_stub.xml @@ -1,5 +1,4 @@ \ No newline at end of file + android:background="@drawable/redacted_background" /> \ No newline at end of file diff --git a/vector/src/main/res/layout/reaction_button.xml b/vector/src/main/res/layout/reaction_button.xml index 8d66d987..70b841bc 100644 --- a/vector/src/main/res/layout/reaction_button.xml +++ b/vector/src/main/res/layout/reaction_button.xml @@ -2,9 +2,9 @@ + android:layout_height="26dp" + android:clipChildren="false"> + app:layout_constraintTop_toTopOf="@+id/reactionText" /> + app:layout_constraintTop_toTopOf="@+id/reactionText" /> + tools:text="👍" />