refactor(add-mute-timer): change of the mute timer popup layout

This commit is contained in:
LucasGGamerM
2023-03-06 20:19:21 -03:00
parent 08aa64a666
commit 222c3a2526

View File

@@ -1,26 +1,32 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_gravity="start" android:minHeight="48dp"
android:gravity="center" android:gravity="center_vertical"
android:paddingVertical="12dp"> android:layoutDirection="locale">
<TextView <TextView
android:id="@+id/text"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_marginStart="24dp"
android:layout_weight="1"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingVertical="8dp"
android:gravity="center_vertical"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:text="@string/mo_mute_label" android:text="@string/mo_mute_label"
android:textSize="16sp"/> android:textSize="16sp" />
<Button <Button
android:id="@+id/button" android:id="@+id/button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="32dp" android:layout_height="32dp"
android:layout_weight="0" android:layout_weight="0"
android:layout_marginEnd="16dp" android:layout_marginEnd="24dp"
android:maxWidth="140dp" android:maxWidth="140dp"
android:background="@drawable/bg_inline_button" android:background="@drawable/bg_inline_button"
android:elevation="0dp" android:elevation="0dp"
@@ -30,5 +36,6 @@
android:stateListAnimator="@null" android:stateListAnimator="@null"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textSize="16sp" android:textSize="16sp"
android:text="Duration" /> tools:text="@string/mute_user" />
</LinearLayout> </LinearLayout>