From 94e4b1668ffbc3461452cb0d992c854f7f71a490 Mon Sep 17 00:00:00 2001
From: lizhanwei <Dana_Lee1016@126.com>
Date: 星期一, 27 四月 2020 14:14:34 +0800
Subject: [PATCH] 完善信号配置;修改主界面
---
app/src/main/res/layout/layout_home_fragment.xml | 61 +++++++++++++++---------------
1 files changed, 31 insertions(+), 30 deletions(-)
diff --git a/app/src/main/res/layout/layout_home_fragment.xml b/app/src/main/res/layout/layout_home_fragment.xml
index dee3ee6..69133fd 100644
--- a/app/src/main/res/layout/layout_home_fragment.xml
+++ b/app/src/main/res/layout/layout_home_fragment.xml
@@ -4,13 +4,14 @@
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<RelativeLayout
- android:layout_width="560dp"
- android:layout_height="254dp"
- android:layout_centerInParent="true">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ >
<RelativeLayout
- android:layout_width="280dp"
- android:layout_height="122dp"
- android:background="@drawable/sys_home_part_bg"
+ android:layout_width="558px"
+ android:layout_height="244px"
+ android:background="@mipmap/let_top"
android:id="@+id/network_train"
>
<include
@@ -20,56 +21,56 @@
layout="@layout/layout_sys_home_part"/>
</RelativeLayout>
<RelativeLayout
- android:layout_width="280dp"
- android:layout_height="122dp"
-
- android:background="@drawable/sys_home_part_bg"
+ android:layout_width="512px"
+ android:layout_height="244px"
+ android:layout_marginLeft="-45px"
+ android:background="@mipmap/right_top"
android:layout_toRightOf="@+id/network_train"
android:id="@+id/car_train"
>
<include
- android:layout_width="280dp"
- android:layout_height="122dp"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_centerInParent="true"
layout="@layout/layout_sys_home_part_train"/>
</RelativeLayout>
<RelativeLayout
- android:layout_width="280dp"
- android:layout_height="122dp"
- android:layout_marginTop="7dp"
- android:background="@drawable/sys_home_part_bg"
+ android:layout_width="512px"
+ android:layout_height="244px"
+ android:layout_marginTop="13px"
+ android:background="@mipmap/left_bottom"
android:id="@+id/system_setting"
android:layout_below="@+id/network_train"
>
<include
- android:layout_width="280dp"
- android:layout_height="122dp"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_centerInParent="true"
layout="@layout/layout_sys_home_part_set"/>
</RelativeLayout>
<RelativeLayout
- android:layout_width="280dp"
- android:layout_height="122dp"
- android:background="@drawable/sys_home_part_bg"
+ android:layout_width="550px"
+ android:layout_height="244px"
+ android:background="@mipmap/right_bottom"
android:id="@+id/exit_sys"
- android:layout_marginTop="7dp"
+ android:layout_marginLeft="-37px"
+ android:layout_marginTop="13px"
android:layout_toRightOf="@+id/system_setting"
android:layout_below="@+id/network_train"
>
<include
- android:layout_width="280dp"
- android:layout_height="122dp"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_centerInParent="true"
layout="@layout/layout_sys_home_part_exit"/>
</RelativeLayout>
<safeluck.drive.evaluation.customview.CircleImageView
- android:layout_width="104dp"
- android:layout_height="104dp"
+ android:layout_width="208px"
+ android:layout_height="208px"
+ android:layout_marginLeft="411px"
+ android:layout_marginTop="147px"
+ app:civ_fill_color="#2A303F"
android:src="@drawable/home_circle"
- app:civ_fill_color="#2B3140"
- app:civ_border_width="10dp"
- android:layout_centerInParent="true"
-
/>
</RelativeLayout>
--
Gitblit v1.8.0