From 54ee6e00def90552c41588c74f436fd0d181eae3 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期二, 02 五月 2017 18:09:01 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right.xml | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right.xml index fd73119..d38cae4 100644 --- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right.xml +++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right.xml @@ -12,40 +12,40 @@ android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" - android:layout_height="76dp" + android:layout_height="@dimen/h76dp" android:gravity="right|center_vertical" android:orientation="horizontal"> <TextView android:id="@+id/fragment_device_right_delete" - android:layout_width="40dp" - android:layout_height="36dp" + android:layout_width="@dimen/w40dp" + android:layout_height="@dimen/h36dp" android:gravity="center" android:textColor="@android:color/white" android:background="@drawable/u194" android:text=""/> <TextView android:id="@+id/fragment_device_right_add" - android:layout_width="40dp" - android:layout_height="36dp" + android:layout_width="@dimen/w40dp" + android:layout_height="@dimen/h36dp" android:gravity="center" - android:layout_marginLeft="10dp" + android:layout_marginLeft="@dimen/w10dp" android:textColor="@android:color/white" android:background="@drawable/u249" android:text=""/> <TextView android:id="@+id/fragment_device_right_save" - android:layout_width="40dp" - android:layout_height="36dp" + android:layout_width="@dimen/w40dp" + android:layout_height="@dimen/h36dp" android:gravity="center" - android:layout_marginLeft="10dp" - android:layout_marginRight="10dp" + android:layout_marginLeft="@dimen/w10dp" + android:layout_marginRight="@dimen/h10dp" android:textColor="@android:color/white" android:background="@drawable/u208" android:text=""/> </LinearLayout> <LinearLayout android:orientation="vertical" - android:layout_width="596dp" + android:layout_width="@dimen/w596dp" android:layout_height="wrap_content" > <LinearLayout @@ -53,8 +53,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout - android:paddingTop="13dp" - android:paddingBottom="13dp" + android:paddingTop="@dimen/h13dp" + android:paddingBottom="@dimen/h13dp" android:gravity="center_horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -85,14 +85,14 @@ android:layout_width="match_parent" android:layout_height="@dimen/view_size_1" android:background="@color/colorText_b" - android:layout_marginLeft="5dp"/> + android:layout_marginLeft="@dimen/w5dp"/> </LinearLayout> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout - android:paddingTop="13dp" + android:paddingTop="@dimen/h13dp" android:gravity="center_horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -120,8 +120,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout - android:paddingTop="13dp" - android:paddingBottom="13dp" + android:paddingTop="@dimen/h13dp" + android:paddingBottom="@dimen/h13dp" android:gravity="center_horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -160,7 +160,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/view_size_1" android:background="@color/colorText_b" - android:layout_marginLeft="5dp"/> + android:layout_marginLeft="@dimen/w5dp"/> </LinearLayout> </LinearLayout> </LinearLayout> -- Gitblit v1.8.0