make emoji reactions not click-through-able
This commit is contained in:
parent
bdf0f21647
commit
0688521ae8
|
@ -309,6 +309,7 @@ public class EmojiReactionsStatusDisplayItem extends StatusDisplayItem {
|
||||||
super(context, R.layout.item_emoji_reaction, list);
|
super(context, R.layout.item_emoji_reaction, list);
|
||||||
btn=findViewById(R.id.btn);
|
btn=findViewById(R.id.btn);
|
||||||
progress=findViewById(R.id.progress);
|
progress=findViewById(R.id.progress);
|
||||||
|
itemView.setClickable(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingEnd="8dp"
|
|
||||||
tools:ignore="RtlSymmetry">
|
tools:ignore="RtlSymmetry">
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:id="@+id/progress"
|
android:id="@+id/progress"
|
||||||
style="?android:progressBarStyleSmall"
|
style="?android:progressBarStyleSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="8dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:elevation="10dp"
|
android:elevation="10dp"
|
||||||
android:indeterminate="true"
|
android:indeterminate="true"
|
||||||
|
@ -21,6 +21,7 @@
|
||||||
style="@style/Widget.Mastodon.M3.Button.Outlined.Icon"
|
style="@style/Widget.Mastodon.M3.Button.Outlined.Icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="8dp"
|
||||||
android:drawableTint="@null"
|
android:drawableTint="@null"
|
||||||
android:drawableStart="@drawable/image_placeholder"
|
android:drawableStart="@drawable/image_placeholder"
|
||||||
android:background="@drawable/bg_button_m3_tonal"/>
|
android:background="@drawable/bg_button_m3_tonal"/>
|
||||||
|
|
Loading…
Reference in New Issue