|
@@ -0,0 +1,295 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:background="@color/black"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d410"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:background="@drawable/shape_dorm_call_item_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/f_drom_set_ll_1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/d25"
|
|
|
+ android:layout_marginRight="@dimen/d16"
|
|
|
+ android:layout_marginTop="@dimen/d25"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/volume_seek"
|
|
|
+ android:layout_width="@dimen/d300"
|
|
|
+ android:layout_height="@dimen/d58"
|
|
|
+ android:max="100"
|
|
|
+ android:splitTrack="false"
|
|
|
+ android:thumb="@mipmap/thumb_img"
|
|
|
+ android:thumbOffset="@dimen/d15"
|
|
|
+ android:progressDrawable="@drawable/po_seekbar_v">
|
|
|
+
|
|
|
+ </SeekBar>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
+ android:layout_height="@dimen/d58"
|
|
|
+ android:layout_marginLeft="@dimen/d15"
|
|
|
+ android:padding="@dimen/d15"
|
|
|
+ android:background="@drawable/shape_drom_curtain_bg"
|
|
|
+ android:src="@mipmap/d_xz_z"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_bg"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d79"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:src="@mipmap/curtain_bg"/>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_img1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d49"
|
|
|
+ android:layout_marginLeft="@dimen/d25"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@mipmap/curtain_img"/>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_img2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toRightOf="@+id/curtain_img1"
|
|
|
+ android:layout_marginTop="@dimen/d49"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@mipmap/curtain_img"/>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_top"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:src="@mipmap/curtain_top"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:text="客厅窗帘"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="36sp"
|
|
|
+ android:textStyle="bold"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_marginTop="@dimen/d45"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/d160"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@mipmap/d_btn_bg"
|
|
|
+ android:drawableLeft="@mipmap/d_light_off"
|
|
|
+ android:drawablePadding="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d40"
|
|
|
+ android:text="开启"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/d160"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@mipmap/d_btn_bg"
|
|
|
+ android:layout_marginLeft="@dimen/d25"
|
|
|
+ android:drawableLeft="@mipmap/d_timer"
|
|
|
+ android:drawablePadding="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d40"
|
|
|
+ android:text="校准"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d410"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
+ android:background="@drawable/shape_dorm_call_item_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/f_drom_set_ll_2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/d25"
|
|
|
+ android:layout_marginRight="@dimen/d16"
|
|
|
+ android:layout_marginTop="@dimen/d25"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/volume_seek_2"
|
|
|
+ android:layout_width="@dimen/d300"
|
|
|
+ android:layout_height="@dimen/d58"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="20"
|
|
|
+ android:splitTrack="false"
|
|
|
+ android:thumb="@mipmap/thumb_img"
|
|
|
+ android:thumbOffset="@dimen/d15"
|
|
|
+ android:progressDrawable="@drawable/po_seekbar_w">
|
|
|
+
|
|
|
+ </SeekBar>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
+ android:layout_height="@dimen/d58"
|
|
|
+ android:layout_marginLeft="@dimen/d15"
|
|
|
+ android:padding="@dimen/d15"
|
|
|
+ android:background="@drawable/shape_drom_curtain_bg"
|
|
|
+ android:src="@mipmap/d_xz_z"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_bg_2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d79"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:src="@mipmap/curtain_bg"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginTop="@dimen/d45"
|
|
|
+ android:layout_marginLeft="@dimen/d25"
|
|
|
+ android:clipChildren="false">
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_img1_2"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="0.5"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@mipmap/curtain_img"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:layout_gravity="right"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_img2_2"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="0.5"
|
|
|
+ android:layout_toRightOf="@+id/curtain_img1_2"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@mipmap/curtain_img"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:layout_gravity="left"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/curtain_top_2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:src="@mipmap/curtain_top"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:text="客厅窗帘"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="36sp"
|
|
|
+ android:textStyle="bold"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_marginTop="@dimen/d45"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/d160"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@mipmap/d_btn_bg"
|
|
|
+ android:drawableLeft="@mipmap/d_light_off"
|
|
|
+ android:drawablePadding="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d40"
|
|
|
+ android:text="开启"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/d160"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@mipmap/d_btn_bg"
|
|
|
+ android:layout_marginLeft="@dimen/d25"
|
|
|
+ android:drawableLeft="@mipmap/d_timer"
|
|
|
+ android:drawablePadding="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d40"
|
|
|
+ android:text="校准"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|
|
|
+
|
|
|
+
|