emoji_reactions: make buttons a bit smaller

main
Alibek Omarov 5 years ago
parent 97ffa14268
commit 1d514829e5
  1. 2
      app/src/main/res/layout/item_emoji_reaction.xml
  2. 14
      app/src/main/res/layout/item_status.xml

@ -10,7 +10,7 @@
android:id="@+id/status_emoji_reaction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_marginRight="2dp"
android:layout_marginBottom="1dp"
android:minWidth="0dp"
android:lines="1"

@ -314,6 +314,18 @@
app:layout_constraintStart_toStartOf="@id/status_display_name"
app:layout_constraintTop_toBottomOf="@id/status_poll_button"
tools:text="7 votes • 7 hours remaining" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/status_emoji_reactions"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:nestedScrollingEnabled="false"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/status_display_name"
app:layout_constraintTop_toBottomOf="@id/status_poll_description" />
<ImageButton
android:id="@+id/status_reply"
@ -329,7 +341,7 @@
app:layout_constraintEnd_toStartOf="@id/status_inset"
app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintStart_toStartOf="@id/status_display_name"
app:layout_constraintTop_toBottomOf="@id/status_poll_description"
app:layout_constraintTop_toBottomOf="@id/status_emoji_reactions"
app:srcCompat="@drawable/ic_reply_24dp" />
<at.connyduck.sparkbutton.SparkButton

Loading…
Cancel
Save