Tweak layout

This commit is contained in:
tzugen 2021-10-28 09:36:46 +02:00
parent 6636d6a558
commit c83a9778fc
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 6 additions and 5 deletions

View File

@ -24,18 +24,19 @@
style="@style/Widget.MaterialComponents.Button.TextButton.Icon" style="@style/Widget.MaterialComponents.Button.TextButton.Icon"
a:layout_width="match_parent" a:layout_width="match_parent"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:layout_marginTop="8dp" a:layout_marginTop="0dp"
a:background="@drawable/default_ripple" a:background="@drawable/default_ripple"
a:gravity="center_vertical" a:gravity="center_vertical"
a:paddingHorizontal="22dp" a:paddingHorizontal="22dp"
a:paddingTop="14dp" a:paddingTop="16dp"
a:paddingBottom="14dp" a:paddingBottom="16dp"
a:text="@string/main.offline" a:text="@string/main.offline"
a:textAppearance="@style/MenuDrawer.Widget" a:textAppearance="@style/MenuDrawer.Widget"
a:textColor="?attr/colorOnPrimary" a:textColor="?attr/colorOnPrimary"
a:textSize="14sp" a:textSize="17sp"
a:textStyle="bold"
app:icon="@drawable/ic_menu_select_server_dark" app:icon="@drawable/ic_menu_select_server_dark"
app:iconPadding="16dp" app:iconPadding="12dp"
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"