From 41bc5a329c73e3b43695f73f11c47c97c44cc1b6 Mon Sep 17 00:00:00 2001 From: chenke <chenke@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 20 七月 2017 09:45:41 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right.xml | 165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 164 insertions(+), 1 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 fc0ef08..3fefa4c 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 @@ -2,5 +2,168 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> - + <ScrollView + android:layout_width="match_parent" + android:layout_height="match_parent"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center_horizontal" + android:orientation="vertical"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="@dimen/h76dp" + android:gravity="right|center_vertical" + android:orientation="horizontal"> + <TextView + android:id="@+id/fragment_device_right_delete" + 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="@dimen/w40dp" + android:layout_height="@dimen/h36dp" + android:gravity="center" + 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="@dimen/w40dp" + android:layout_height="@dimen/h36dp" + android:gravity="center" + 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="@dimen/w596dp" + android:layout_height="wrap_content" + > + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <LinearLayout + android:paddingTop="@dimen/h13dp" + android:paddingBottom="@dimen/h13dp" + android:gravity="center_horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_weight="1" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="@dimen/w20dp" + android:text="鏃犵嚎WIFI璁剧疆" + android:gravity="left" + android:layout_gravity="left" + android:textColor="@color/colorPrimary" + /> + </LinearLayout> + <Switch + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="0" + android:checked="true" + /> + </LinearLayout> + <View + android:layout_width="match_parent" + android:layout_height="@dimen/view_size_1" + android:background="@color/colorText_b" + android:layout_marginLeft="@dimen/w5dp"/> + </LinearLayout> + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <LinearLayout + android:paddingTop="@dimen/h13dp" + android:gravity="center_horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_weight="1" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="@dimen/w16dp" + android:text="閫夋嫨缃戠粶" + android:gravity="left" + android:layout_gravity="left" + android:textColor="@color/colorText_b" + /> + </LinearLayout> + </LinearLayout> + </LinearLayout> + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <LinearLayout + android:paddingTop="@dimen/h13dp" + android:paddingBottom="@dimen/h13dp" + android:gravity="center_horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_weight="1" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="@dimen/w16dp" + android:text="缃戠粶1" + android:gravity="left" + android:layout_gravity="left" + /> + </LinearLayout> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/u39" + /> + <TextView + android:layout_width="@dimen/w10dp" + android:layout_height="wrap_content" + /> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/u41" + /> + </LinearLayout> + <View + android:layout_width="match_parent" + android:layout_height="@dimen/view_size_1" + android:background="@color/colorText_b" + android:layout_marginLeft="@dimen/w5dp"/> + </LinearLayout> + </LinearLayout> + </LinearLayout> + </ScrollView> </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0