fix emoji preference thumbnails (#2022)
This commit is contained in:
parent
a19411c947
commit
e0fab33f48
1 changed files with 8 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/selectableItemBackground"
|
android:background="?attr/selectableItemBackground"
|
||||||
android:paddingBottom="8dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingTop="8dp">
|
android:paddingBottom="8dp">
|
||||||
|
|
||||||
<!--This is a thumbnail picture-->
|
<!--This is a thumbnail picture-->
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -15,23 +15,25 @@
|
||||||
android:layout_width="42dp"
|
android:layout_width="42dp"
|
||||||
android:layout_height="42dp"
|
android:layout_height="42dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:srcCompat="@drawable/ic_emoji_24dp" />
|
app:srcCompat="@drawable/ic_emoji_24dp"
|
||||||
|
app:tint="#0000" /> <!-- unset the preference theme tint -->
|
||||||
|
|
||||||
<!--This is the font's name-->
|
<!--This is the font's name-->
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/emojicompat_name"
|
android:id="@+id/emojicompat_name"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="72dp"
|
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
|
android:layout_marginEnd="72dp"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
android:textSize="?attr/status_text_medium"
|
android:textSize="?attr/status_text_medium"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/emojicompat_caption"
|
app:layout_constraintBottom_toTopOf="@+id/emojicompat_caption"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/emojicompat_thumb"
|
app:layout_constraintStart_toEndOf="@+id/emojicompat_thumb"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@string/system_default" />
|
tools:text="@string/system_default" />
|
||||||
|
@ -58,8 +60,8 @@
|
||||||
style="?android:attr/progressBarStyleHorizontal"
|
style="?android:attr/progressBarStyleHorizontal"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="72dp"
|
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
|
android:layout_marginEnd="72dp"
|
||||||
android:indeterminate="false"
|
android:indeterminate="false"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
|
Loading…
Reference in a new issue