From 03feef076e951a3f7926ceff9601d5669b07d475 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Thu, 20 Oct 2022 15:32:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=B8=83=E5=B1=80=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/drawable/ic_add_bg.xml | 9 ++++ .../res/layout/main_nav_fragment_device.xml | 43 +++++++++++++------ iconfront/add.svg | 1 + 3 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 app/src/main/res/drawable/ic_add_bg.xml create mode 100644 iconfront/add.svg diff --git a/app/src/main/res/drawable/ic_add_bg.xml b/app/src/main/res/drawable/ic_add_bg.xml new file mode 100644 index 0000000..c18ef6a --- /dev/null +++ b/app/src/main/res/drawable/ic_add_bg.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/main_nav_fragment_device.xml b/app/src/main/res/layout/main_nav_fragment_device.xml index 196816a..4280038 100644 --- a/app/src/main/res/layout/main_nav_fragment_device.xml +++ b/app/src/main/res/layout/main_nav_fragment_device.xml @@ -3,32 +3,51 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto" tools:context=".ui.nav.device.NavDeviceFragment"> - + android:layout_height="50dp" + android:background="@color/main_bg_color" + android:gravity="center"> - + + + + + + android:horizontalSpacing="12dp" + android:numColumns="2" + android:paddingTop="5dp" + android:paddingBottom="5dp" + android:verticalSpacing="12dp" /> \ No newline at end of file diff --git a/iconfront/add.svg b/iconfront/add.svg new file mode 100644 index 0000000..79c5642 --- /dev/null +++ b/iconfront/add.svg @@ -0,0 +1 @@ + \ No newline at end of file