修复侧边栏UI在英文状态下显示不全的问题

This commit is contained in:
zlzw 2023-04-19 14:07:56 +08:00
parent bddf8c71ae
commit 703bafa013
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="220dp" android:layout_width="wrap_content"
android:layout_height="62dp" android:layout_height="62dp"
app:cardBackgroundColor="#0F0B14" app:cardBackgroundColor="#0F0B14"
app:cardCornerRadius="4dp" app:cardCornerRadius="4dp"
@ -84,6 +84,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="18dp" android:layout_marginStart="18dp"
android:layout_marginEnd="18dp"
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="170dp" android:layout_width="wrap_content"
android:layout_height="62dp" android:layout_height="62dp"
app:cardBackgroundColor="#0F0B14" app:cardBackgroundColor="#0F0B14"
app:cardCornerRadius="4dp" app:cardCornerRadius="4dp"
@ -9,6 +9,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_marginEnd="10dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center_vertical"> android:gravity="center_vertical">