emoji_reactions: make buttons a bit smaller

This commit is contained in:
Alibek Omarov 2020-03-06 21:22:19 +03:00
parent 97ffa14268
commit 1d514829e5
2 changed files with 14 additions and 2 deletions

View File

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

View File

@ -315,6 +315,18 @@
app:layout_constraintTop_toBottomOf="@id/status_poll_button" app:layout_constraintTop_toBottomOf="@id/status_poll_button"
tools:text="7 votes • 7 hours remaining" /> 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 <ImageButton
android:id="@+id/status_reply" android:id="@+id/status_reply"
style="@style/TuskyImageButton" style="@style/TuskyImageButton"
@ -329,7 +341,7 @@
app:layout_constraintEnd_toStartOf="@id/status_inset" app:layout_constraintEnd_toStartOf="@id/status_inset"
app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintStart_toStartOf="@id/status_display_name" 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" /> app:srcCompat="@drawable/ic_reply_24dp" />
<at.connyduck.sparkbutton.SparkButton <at.connyduck.sparkbutton.SparkButton