Selaa lähdekoodia

optimize reactions list height

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 vuotta sitten
vanhempi
commit
f9495e4b89

+ 1 - 1
app/src/main/res/layout/dialog_message_reactions.xml

@@ -29,7 +29,7 @@
 
     <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="300dp">
+        android:layout_height="288dp">
 
         <androidx.recyclerview.widget.RecyclerView
             android:id="@+id/reactions_list"

+ 1 - 1
app/src/main/res/layout/reaction_item.xml

@@ -22,7 +22,7 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
-    android:layout_height="wrap_content">
+    android:layout_height="@dimen/item_height">
 
     <com.facebook.drawee.view.SimpleDraweeView
         android:id="@+id/avatar"