Compact long tap menu

This commit is contained in:
Valere 2019-07-16 16:35:36 +02:00
parent 42584fc55a
commit 2f01ad99b3
3 changed files with 3 additions and 17 deletions

View File

@ -7,18 +7,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="8dp"> android:padding="8dp">


<TextView
android:id="@+id/quickReactionTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:text="@string/quick_reactions"
android:textColor="?riotx_text_secondary"
android:textSize="16sp"
app:layout_constraintTop_toTopOf="parent" />


<TextView <TextView
android:id="@+id/quickReaction0" android:id="@+id/quickReaction0"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -104,16 +92,14 @@
android:id="@+id/reactionsFlowHelper" android:id="@+id/reactionsFlowHelper"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="16dp"
app:constraint_referenced_ids="quickReaction0,quickReaction1,quickReaction2,quickReaction3,quickReaction4,quickReaction5,quickReaction6,quickReaction7" app:constraint_referenced_ids="quickReaction0,quickReaction1,quickReaction2,quickReaction3,quickReaction4,quickReaction5,quickReaction6,quickReaction7"
app:flow_horizontalGap="8dp" app:flow_horizontalGap="0dp"
app:flow_horizontalStyle="spread" app:flow_horizontalStyle="spread"
app:flow_verticalBias="0" app:flow_verticalBias="0"
app:flow_verticalGap="4dp" app:flow_verticalGap="4dp"
app:flow_wrapMode="chain" app:flow_wrapMode="chain"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/quickReactionTitle" /> app:layout_constraintTop_toTopOf="parent" />


</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -28,6 +28,7 @@
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:layout_constraintVertical_bias="0"
tools:src="@tools:sample/avatars" /> tools:src="@tools:sample/avatars" />


<TextView <TextView

View File

@ -1534,7 +1534,6 @@ Why choose Riot.im?
<string name="settings_other_third_party_notices">Other third party notices</string> <string name="settings_other_third_party_notices">Other third party notices</string>
<string name="navigate_to_room_when_already_in_the_room">You are already viewing this room!</string> <string name="navigate_to_room_when_already_in_the_room">You are already viewing this room!</string>


<string name="quick_reactions">Quick Reactions</string>


<!-- Settings --> <!-- Settings -->
<string name="settings_general_title">General</string> <string name="settings_general_title">General</string>