From 99202702a35679ed420be21bf3818a5985ea4315 Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期五, 17 四月 2020 14:06:52 +0800 Subject: [PATCH] xin ui --- app/src/main/res/layout/layout_home_fragment.xml | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/app/src/main/res/layout/layout_home_fragment.xml b/app/src/main/res/layout/layout_home_fragment.xml index b03871d..d827884 100644 --- a/app/src/main/res/layout/layout_home_fragment.xml +++ b/app/src/main/res/layout/layout_home_fragment.xml @@ -3,14 +3,25 @@ android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto"> - <include android:id="@+id/tb" layout="@layout/toolbar"/> + + <safeluck.drive.evaluation.customview.CircleImageView + android:layout_width="104dp" + android:layout_height="104dp" + android:src="@drawable/home_circle" + app:civ_fill_color="#2B3140" + app:civ_border_width="10dp" + android:layout_centerInParent="true" + + /> + + <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_below="@+id/tb" android:orientation="horizontal" android:gravity="center" - android:background="@color/home_bg_color"> + android:visibility="gone" + > <LinearLayout android:layout_width="100dp" android:layout_height="100dp" @@ -20,9 +31,6 @@ android:orientation="vertical"> <safeluck.drive.evaluation.customview.CircleImageView style="@style/home_fragment_icon" - app:civ_fill_color="@android:color/white" - app:civ_border_width="15dp" - app:civ_border_color="@android:color/white" android:src="@drawable/vehicle_network" /> @@ -38,13 +46,12 @@ android:layout_weight="1" android:id="@+id/car_train" android:orientation="vertical"> + <safeluck.drive.evaluation.customview.CircleImageView - app:civ_fill_color="@android:color/white" - app:civ_border_width="15dp" - app:civ_border_color="@android:color/white" - android:src="@drawable/wheel" - style="@style/home_fragment_icon"/> + style="@style/home_fragment_icon" + android:src="@drawable/wheel" /> + <TextView style="@style/home_fragment_text_sub" android:text="@string/vehicle_train" @@ -58,9 +65,6 @@ android:layout_weight="1" android:orientation="vertical"> <safeluck.drive.evaluation.customview.CircleImageView - app:civ_fill_color="@android:color/white" - app:civ_border_width="15dp" - app:civ_border_color="@android:color/white" android:src="@drawable/setting" style="@style/home_fragment_icon"/> <TextView @@ -76,9 +80,6 @@ android:layout_weight="1" android:orientation="vertical"> <safeluck.drive.evaluation.customview.CircleImageView - app:civ_fill_color="@android:color/white" - app:civ_border_width="15dp" - app:civ_border_color="@android:color/white" android:src="@drawable/exit" style="@style/home_fragment_icon"/> <TextView -- Gitblit v1.8.0