mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
bottom action buttons with scroll view when too long
This commit is contained in:
parent
83c6a438f3
commit
090d22f6a8
2 changed files with 211 additions and 213 deletions
|
@ -457,7 +457,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
if (compactButtons) {
|
if (compactButtons) {
|
||||||
ConstraintSet set = new ConstraintSet();
|
ConstraintSet set = new ConstraintSet();
|
||||||
set.clone(holder.binding.actionButtons);
|
set.clone(holder.binding.actionButtons);
|
||||||
set.clear(R.id.status_emoji, ConstraintSet.END);
|
set.clear(R.id.action_button_extra_container, ConstraintSet.END);
|
||||||
set.applyTo(holder.binding.actionButtons);
|
set.applyTo(holder.binding.actionButtons);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -629,242 +629,243 @@
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
android:layout_marginStart="48dp"
|
android:layout_marginStart="48dp"
|
||||||
android:layout_marginTop="6dp"
|
android:layout_marginTop="6dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false">
|
android:clipToPadding="false">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
<com.varunest.sparkbutton.SparkButton
|
android:id="@+id/action_button_reply_container"
|
||||||
android:id="@+id/action_button_reply"
|
android:layout_width="wrap_content"
|
||||||
android:layout_width="48dp"
|
android:layout_height="match_parent"
|
||||||
android:layout_height="48dp"
|
android:orientation="horizontal"
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:contentDescription="@string/reply"
|
|
||||||
app:activeImage="@drawable/ic_round_reply_24"
|
|
||||||
app:iconSize="28dp"
|
|
||||||
app:inactiveImage="@drawable/ic_round_reply_24"
|
|
||||||
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:primaryColor="@color/boost_icon"
|
|
||||||
app:secondaryColor="@color/boost_icon" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
|
||||||
android:id="@+id/action_button_reply_count"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="bottom"
|
|
||||||
android:text="+"
|
|
||||||
android:textColor="?colorControlNormal"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_reply"
|
|
||||||
tools:ignore="HardcodedText"
|
|
||||||
tools:visibility="visible" />
|
|
||||||
|
|
||||||
<HorizontalScrollView
|
|
||||||
android:id="@+id/action_button_extra_container"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:fillViewport="true"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_more"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_reply_count"
|
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<com.varunest.sparkbutton.SparkButton
|
||||||
|
android:id="@+id/action_button_reply"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/reply"
|
||||||
|
app:activeImage="@drawable/ic_round_reply_24"
|
||||||
|
app:iconSize="28dp"
|
||||||
|
app:inactiveImage="@drawable/ic_round_reply_24"
|
||||||
|
app:primaryColor="@color/boost_icon"
|
||||||
|
app:secondaryColor="@color/boost_icon" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/action_button_reply_count"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:text="+"
|
||||||
|
android:textColor="?colorControlNormal"
|
||||||
|
android:visibility="gone"
|
||||||
|
tools:ignore="HardcodedText"
|
||||||
|
tools:visibility="visible" />
|
||||||
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
android:id="@+id/action_button_boost"
|
android:id="@+id/action_button_extra_container"
|
||||||
android:layout_width="48dp"
|
android:fillViewport="true"
|
||||||
android:layout_height="48dp"
|
android:orientation="vertical"
|
||||||
android:adjustViewBounds="true"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
android:contentDescription="@string/reblog_add"
|
app:layout_constraintEnd_toStartOf="@+id/action_button_more"
|
||||||
app:activeImage="@drawable/ic_round_repeat_active_24"
|
android:layout_width="0dp"
|
||||||
app:iconSize="28dp"
|
app:layout_constraintStart_toEndOf="@+id/action_button_reply_container"
|
||||||
app:inactiveImage="@drawable/ic_round_repeat_24"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_favorite"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:primaryColor="@color/boost_icon"
|
|
||||||
app:secondaryColor="@color/boost_icon" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<HorizontalScrollView
|
||||||
android:id="@+id/action_button_boost_count"
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:fillViewport="true"
|
||||||
|
android:scrollbars="none">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="bottom"
|
android:orientation="horizontal">
|
||||||
android:text="0"
|
|
||||||
android:textColor="?colorControlNormal"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_boost"
|
|
||||||
tools:ignore="HardcodedText"
|
|
||||||
tools:visibility="visible" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
android:id="@+id/action_button_favorite"
|
android:id="@+id/action_button_boost_container"
|
||||||
android:layout_width="48dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="48dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_weight="1"
|
||||||
android:layout_marginStart="10dp"
|
android:orientation="horizontal">
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:contentDescription="@string/favourite_add"
|
|
||||||
app:activeImage="@drawable/ic_round_star_24"
|
|
||||||
app:animationSpeed="1.5"
|
|
||||||
app:inactiveImage="@drawable/ic_round_star_border_24"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_bookmark"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_boost_count"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:primaryColor="@color/marked_icon"
|
|
||||||
app:secondaryColor="@color/marked_icon"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:id="@+id/action_button_favorite_count"
|
android:id="@+id/action_button_boost"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="48dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="48dp"
|
||||||
android:layout_gravity="bottom"
|
android:layout_marginStart="10dp"
|
||||||
android:text="0"
|
android:adjustViewBounds="true"
|
||||||
android:textColor="?colorControlNormal"
|
android:contentDescription="@string/reblog_add"
|
||||||
android:visibility="gone"
|
app:activeImage="@drawable/ic_round_repeat_active_24"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:iconSize="28dp"
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_favorite"
|
app:inactiveImage="@drawable/ic_round_repeat_24"
|
||||||
tools:ignore="HardcodedText"
|
app:primaryColor="@color/boost_icon"
|
||||||
tools:visibility="visible" />
|
app:secondaryColor="@color/boost_icon" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/action_button_boost_count"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:text="0"
|
||||||
|
android:textColor="?colorControlNormal"
|
||||||
|
android:visibility="gone"
|
||||||
|
tools:ignore="HardcodedText"
|
||||||
|
tools:visibility="visible" />
|
||||||
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
android:id="@+id/action_button_bookmark"
|
android:id="@+id/action_button_favorite_container"
|
||||||
android:layout_width="48dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="48dp"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_marginStart="10dp"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:contentDescription="@string/bookmark_add"
|
|
||||||
app:activeImage="@drawable/ic_round_bookmark_24"
|
|
||||||
app:animationSpeed="1.5"
|
|
||||||
app:inactiveImage="@drawable/ic_round_bookmark_border_24"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_quote"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_favorite"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:primaryColor="@color/marked_icon"
|
|
||||||
app:secondaryColor="@color/marked_icon"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/action_button_quote"
|
android:layout_weight="1"
|
||||||
android:layout_marginStart="10dp"
|
android:orientation="horizontal">
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_translate"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_bookmark"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:contentDescription="@string/quote"
|
|
||||||
app:activeImage="@drawable/ic_baseline_format_quote_24"
|
|
||||||
app:animationSpeed="1.5"
|
|
||||||
app:inactiveImage="@drawable/ic_baseline_format_quote_24"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:id="@+id/action_button_translate"
|
android:id="@+id/action_button_favorite"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_width="48dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_height="48dp"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_maths"
|
android:layout_gravity="center"
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_quote"
|
android:layout_marginStart="10dp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:adjustViewBounds="true"
|
||||||
android:layout_width="48dp"
|
android:contentDescription="@string/favourite_add"
|
||||||
android:layout_height="48dp"
|
app:activeImage="@drawable/ic_round_star_24"
|
||||||
android:layout_gravity="center"
|
app:animationSpeed="1.5"
|
||||||
android:adjustViewBounds="true"
|
app:inactiveImage="@drawable/ic_round_star_border_24"
|
||||||
android:contentDescription="@string/translate"
|
app:primaryColor="@color/marked_icon"
|
||||||
app:activeImage="@drawable/ic_baseline_translate_24"
|
app:secondaryColor="@color/marked_icon"
|
||||||
app:animationSpeed="1.5"
|
sparkbutton:iconSize="28dp" />
|
||||||
app:inactiveImage="@drawable/ic_baseline_translate_24"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/action_button_maths"
|
android:id="@+id/action_button_favorite_count"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/action_button_markdown"
|
android:layout_gravity="bottom"
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_translate"
|
android:text="0"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:textColor="?colorControlNormal"
|
||||||
android:layout_width="48dp"
|
android:visibility="gone"
|
||||||
android:layout_height="48dp"
|
tools:ignore="HardcodedText"
|
||||||
android:layout_gravity="center"
|
tools:visibility="visible" />
|
||||||
android:adjustViewBounds="true"
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
android:contentDescription="@string/formula"
|
|
||||||
app:activeImage="@drawable/ic_baseline_functions_24"
|
|
||||||
app:animationSpeed="1.5"
|
|
||||||
app:inactiveImage="@drawable/ic_baseline_functions_24"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:id="@+id/action_button_markdown"
|
android:id="@+id/action_button_bookmark"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_width="48dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_height="48dp"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/status_add_custom_emoji"
|
android:layout_gravity="center"
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_maths"
|
android:layout_marginStart="10dp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:layout_weight="1"
|
||||||
android:layout_width="48dp"
|
android:adjustViewBounds="true"
|
||||||
android:layout_height="48dp"
|
android:contentDescription="@string/bookmark_add"
|
||||||
android:layout_gravity="center"
|
app:activeImage="@drawable/ic_round_bookmark_24"
|
||||||
android:adjustViewBounds="true"
|
app:animationSpeed="1.5"
|
||||||
android:contentDescription="@string/markdown"
|
app:inactiveImage="@drawable/ic_round_bookmark_border_24"
|
||||||
app:activeImage="@drawable/baseline_code_24"
|
app:primaryColor="@color/marked_icon"
|
||||||
app:animationSpeed="1.5"
|
app:secondaryColor="@color/marked_icon"
|
||||||
app:inactiveImage="@drawable/baseline_code_24"
|
sparkbutton:iconSize="28dp" />
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:id="@+id/status_add_custom_emoji"
|
android:id="@+id/action_button_quote"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_width="48dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_height="48dp"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/status_emoji"
|
android:layout_gravity="center"
|
||||||
app:layout_constraintStart_toEndOf="@+id/action_button_markdown"
|
android:layout_marginStart="10dp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:layout_weight="1"
|
||||||
android:layout_width="48dp"
|
android:adjustViewBounds="true"
|
||||||
android:layout_height="48dp"
|
android:contentDescription="@string/quote"
|
||||||
android:layout_gravity="center"
|
app:activeImage="@drawable/ic_baseline_format_quote_24"
|
||||||
android:adjustViewBounds="true"
|
app:animationSpeed="1.5"
|
||||||
android:contentDescription="@string/add_reaction"
|
app:inactiveImage="@drawable/ic_baseline_format_quote_24"
|
||||||
app:activeImage="@drawable/ic_baseline_emoji_emotions_24"
|
sparkbutton:iconSize="28dp" />
|
||||||
app:animationSpeed="1.5"
|
|
||||||
app:inactiveImage="@drawable/ic_baseline_emoji_emotions_24"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:id="@+id/status_emoji"
|
android:id="@+id/action_button_translate"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_width="48dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_height="48dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_gravity="center"
|
||||||
app:layout_constraintStart_toEndOf="@+id/status_add_custom_emoji"
|
android:layout_marginStart="10dp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:layout_weight="1"
|
||||||
android:layout_width="48dp"
|
android:adjustViewBounds="true"
|
||||||
android:layout_height="48dp"
|
android:contentDescription="@string/translate"
|
||||||
android:layout_gravity="center"
|
app:activeImage="@drawable/ic_baseline_translate_24"
|
||||||
android:adjustViewBounds="true"
|
app:animationSpeed="1.5"
|
||||||
android:contentDescription="@string/add_reaction"
|
app:inactiveImage="@drawable/ic_baseline_translate_24"
|
||||||
app:activeImage="@drawable/ic_baseline_add_reaction_24"
|
sparkbutton:iconSize="28dp" />
|
||||||
app:animationSpeed="1.5"
|
|
||||||
app:inactiveImage="@drawable/ic_baseline_add_reaction_24"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
<com.varunest.sparkbutton.SparkButton
|
||||||
|
android:id="@+id/action_button_maths"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/formula"
|
||||||
|
app:activeImage="@drawable/ic_baseline_functions_24"
|
||||||
|
app:animationSpeed="1.5"
|
||||||
|
app:inactiveImage="@drawable/ic_baseline_functions_24"
|
||||||
|
sparkbutton:iconSize="28dp" />
|
||||||
|
|
||||||
</HorizontalScrollView>
|
<com.varunest.sparkbutton.SparkButton
|
||||||
|
android:id="@+id/action_button_markdown"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/markdown"
|
||||||
|
app:activeImage="@drawable/baseline_code_24"
|
||||||
|
app:animationSpeed="1.5"
|
||||||
|
app:inactiveImage="@drawable/baseline_code_24"
|
||||||
|
sparkbutton:iconSize="28dp" />
|
||||||
|
|
||||||
|
<com.varunest.sparkbutton.SparkButton
|
||||||
|
android:id="@+id/status_add_custom_emoji"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/add_reaction"
|
||||||
|
app:activeImage="@drawable/ic_baseline_emoji_emotions_24"
|
||||||
|
app:animationSpeed="1.5"
|
||||||
|
app:inactiveImage="@drawable/ic_baseline_emoji_emotions_24"
|
||||||
|
sparkbutton:iconSize="28dp" />
|
||||||
|
|
||||||
|
<com.varunest.sparkbutton.SparkButton
|
||||||
|
android:id="@+id/status_emoji"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/add_reaction"
|
||||||
|
app:activeImage="@drawable/ic_baseline_add_reaction_24"
|
||||||
|
app:animationSpeed="1.5"
|
||||||
|
app:inactiveImage="@drawable/ic_baseline_add_reaction_24"
|
||||||
|
sparkbutton:iconSize="28dp" />
|
||||||
|
|
||||||
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
</HorizontalScrollView>
|
||||||
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:id="@+id/action_button_more"
|
android:id="@+id/action_button_more"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_width="48dp"
|
android:layout_width="48dp"
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
|
@ -873,9 +874,6 @@
|
||||||
android:contentDescription="@string/display_options"
|
android:contentDescription="@string/display_options"
|
||||||
app:activeImage="@drawable/ic_round_more_horiz_24"
|
app:activeImage="@drawable/ic_round_more_horiz_24"
|
||||||
app:inactiveImage="@drawable/ic_round_more_horiz_24"
|
app:inactiveImage="@drawable/ic_round_more_horiz_24"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
sparkbutton:iconSize="28dp" />
|
sparkbutton:iconSize="28dp" />
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue