|
@@ -1,523 +1,492 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
-<LinearLayout
|
|
|
- android:id="@+id/calling_door_babymom_mian"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@color/baby_bg"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="42dp"
|
|
|
-
|
|
|
- >
|
|
|
- <!--设备号-->
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/mom_view_title_layout_return"
|
|
|
- android:layout_width="@dimen/d105"
|
|
|
- android:layout_height="@dimen/d30"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:background="@drawable/shape_time_bu_bg"
|
|
|
- android:clickable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mom_view_title_layout_img"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginRight="6dp"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@mipmap/return_b" />
|
|
|
- <!--医院名称-->
|
|
|
- <TextView
|
|
|
- android:id="@+id/mom_view_title_layout_tv_hospital_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="科室名称"
|
|
|
- android:textColor="@color/title_text"
|
|
|
- android:textSize="@dimen/font_size_14" />
|
|
|
- </LinearLayout>
|
|
|
- <TextView
|
|
|
- android:id="@+id/mom_view_title_layout_tv_no"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:text="ID:"
|
|
|
- android:visibility="gone"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
- <!--状态图标-->
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/mom_view_title_layout_ll_right"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="@dimen/d22"
|
|
|
- android:layout_height="@dimen/d22"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:background="@mipmap/riqi_b" />
|
|
|
- <!--日期-->
|
|
|
- <TextClock
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:format12Hour="yyyy-MM-dd EEEE"
|
|
|
- android:format24Hour="yyyy-MM-dd EEEE"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_14"
|
|
|
- android:layout_marginLeft="@dimen/d5"
|
|
|
- android:text="16:08"/>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="@dimen/d22"
|
|
|
- android:layout_height="@dimen/d22"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="@dimen/d23"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:background="@mipmap/shijian_b" />
|
|
|
- <!--时间-->
|
|
|
- <TextClock
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:format12Hour="HH:mm"
|
|
|
- android:format24Hour="HH:mm"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_14"
|
|
|
- android:layout_marginLeft="@dimen/d5"
|
|
|
- android:layout_marginRight="@dimen/d15"
|
|
|
- android:text="16:08"/>
|
|
|
-
|
|
|
- <!--SIP状态图标-->
|
|
|
- <TextView
|
|
|
- android:id="@+id/mom_view_title_layout_tv_point"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@mipmap/sip_b"/>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mom_view_title_layout_iv_bt"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:visibility="gone"/>
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mom_view_title_layout_iv_wifi"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:visibility="gone"/>
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mom_view_title_layout_iv_tcp"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:src="@mipmap/ic_tcp_fail"/>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mom_view_title_layout_iv_ethernet"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:src="@mipmap/ic_ethernet_success_w"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mom_view_title_layout_iv_day_night"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
- android:layout_marginRight="4dp"
|
|
|
- android:src="@mipmap/ic_daylight_w" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/babymom_mian_top"
|
|
|
+ android:id="@+id/calling_door_babymom_mian"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/d100"
|
|
|
- android:background="@drawable/shape_baby_top_bg2"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_marginTop="@dimen/d20"
|
|
|
- android:layout_marginLeft="@dimen/d30"
|
|
|
- android:layout_marginRight="@dimen/d30"
|
|
|
- >
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_top_txt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="0025房"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/baby_top_txt"
|
|
|
- android:textSize="@dimen/font_size_60"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/baby_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d10"
|
|
|
- android:layout_marginLeft="@dimen/d30"
|
|
|
- android:layout_marginRight="@dimen/d30"
|
|
|
- >
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
-
|
|
|
- >
|
|
|
- <ImageView
|
|
|
- android:id="@+id/baby_mom_img"
|
|
|
- android:layout_width="180dp"
|
|
|
- android:layout_height="165dp"
|
|
|
- android:src="@mipmap/mom"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_bg_txt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d40"
|
|
|
- android:text="@string/baby_bg_txt"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="32sp"
|
|
|
- android:layout_toRightOf="@+id/baby_mom_img"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/d300"
|
|
|
- android:background="@mipmap/baby_bg"
|
|
|
- android:layout_marginTop="155dp"
|
|
|
- >
|
|
|
-
|
|
|
+ android:layout_height="42dp">
|
|
|
+ <!--设备号-->
|
|
|
<LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_title_tx1"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d43"
|
|
|
- android:layout_marginRight="@dimen/d30"
|
|
|
- android:paddingLeft="@dimen/d18"
|
|
|
- android:paddingRight="@dimen/d18"
|
|
|
- android:paddingTop="@dimen/d5"
|
|
|
- android:paddingBottom="@dimen/d5"
|
|
|
- android:text="@string/door_mom_title_2"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="32sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_bg_title2"
|
|
|
- />
|
|
|
+ android:id="@+id/mom_view_title_layout_return"
|
|
|
+ android:layout_width="@dimen/d120"
|
|
|
+ android:layout_height="@dimen/d30"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:background="@drawable/shape_time_bu_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_name"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mom_view_title_layout_img"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d22"
|
|
|
- android:layout_marginRight="@dimen/d22"
|
|
|
- android:text="张翠华"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="60sp"
|
|
|
- android:gravity="center"
|
|
|
- />
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
+ android:background="@mipmap/return_b"
|
|
|
+ android:visibility="gone" />
|
|
|
+ <!--医院名称-->
|
|
|
<TextView
|
|
|
- android:id="@+id/babymom_mian_time_out"
|
|
|
+ android:id="@+id/mom_view_title_layout_tv_hospital_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d25"
|
|
|
- android:layout_marginRight="@dimen/d5"
|
|
|
- android:paddingBottom="@dimen/d15"
|
|
|
- android:paddingTop="@dimen/d15"
|
|
|
- android:paddingRight="@dimen/d20"
|
|
|
- android:paddingLeft="@dimen/d20"
|
|
|
- android:text="入住日期:2023年7月17日"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="#F8757E"
|
|
|
- android:textSize="16sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_time_out_bg"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
+ android:paddingLeft="6dp"
|
|
|
+ android:paddingRight="6dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:text="----"
|
|
|
+ android:textColor="@color/title_text"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/mom_view_title_layout_tv_no"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:text="ID:"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:visibility="gone" />
|
|
|
+ <!--状态图标-->
|
|
|
<LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
-
|
|
|
+ android:id="@+id/mom_view_title_layout_ll_right"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_title_tx2"
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d22"
|
|
|
+ android:layout_height="@dimen/d22"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:background="@mipmap/riqi_b" />
|
|
|
+ <!--日期-->
|
|
|
+ <TextClock
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d43"
|
|
|
- android:layout_marginLeft="@dimen/d30"
|
|
|
- android:paddingLeft="@dimen/d18"
|
|
|
- android:paddingRight="@dimen/d18"
|
|
|
- android:paddingTop="@dimen/d5"
|
|
|
- android:paddingBottom="@dimen/d5"
|
|
|
- android:text="@string/door_mom_title_3"
|
|
|
- android:textStyle="bold"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/d5"
|
|
|
+ android:format12Hour="yyyy-MM-dd EEEE"
|
|
|
+ android:format24Hour="yyyy-MM-dd EEEE"
|
|
|
+ android:text="----"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="32sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_bg_title2"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_age"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d22"
|
|
|
- android:layout_marginLeft="@dimen/d50"
|
|
|
- android:text="38岁"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="60sp"
|
|
|
- android:gravity="center"
|
|
|
- />
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_time_end"
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d22"
|
|
|
+ android:layout_height="@dimen/d22"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/d23"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:background="@mipmap/shijian_b" />
|
|
|
+ <!--时间-->
|
|
|
+ <TextClock
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d25"
|
|
|
- android:layout_marginRight="@dimen/d5"
|
|
|
- android:paddingBottom="@dimen/d15"
|
|
|
- android:paddingTop="@dimen/d15"
|
|
|
- android:paddingRight="@dimen/d20"
|
|
|
- android:paddingLeft="@dimen/d20"
|
|
|
- android:text="离宫日期:2023年7月17日"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="#FF9B6E"
|
|
|
- android:textSize="16sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_time_end_bg"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_title_tx"
|
|
|
- android:layout_width="@dimen/d230"
|
|
|
- android:layout_height="@dimen/d60"
|
|
|
- android:text="@string/door_mom_title_1"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="32sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_bg_title"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="@dimen/d105"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/d5"
|
|
|
+ android:layout_marginRight="@dimen/d15"
|
|
|
+ android:format12Hour="HH:mm"
|
|
|
+ android:format24Hour="HH:mm"
|
|
|
+ android:text="--:--"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
|
|
+ <!--SIP状态图标-->
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/mom_view_title_layout_tv_point"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:background="@mipmap/sip_b"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mom_view_title_layout_iv_bt"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mom_view_title_layout_iv_wifi"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mom_view_title_layout_iv_tcp"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:src="@mipmap/ic_tcp_fail" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mom_view_title_layout_iv_ethernet"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:src="@mipmap/ic_ethernet_success_w" />
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mom_view_title_layout_iv_day_night"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
+ android:src="@mipmap/ic_daylight_w" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/d30"
|
|
|
- android:layout_marginRight="@dimen/d30"
|
|
|
- >
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/babymom_mian_top"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="266dp"
|
|
|
- android:background="@mipmap/baby_bg"
|
|
|
- android:layout_marginTop="90dp"
|
|
|
- >
|
|
|
+ android:layout_height="@dimen/d120"
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_marginRight="@dimen/d30"
|
|
|
+ android:background="@drawable/shape_baby_top_bg2"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
+ android:id="@+id/babymom_mian_top_txt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/baby_top_txt"
|
|
|
+ android:textSize="88sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- >
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
+ android:layout_marginRight="@dimen/d30">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/baby_img"
|
|
|
- android:layout_width="@dimen/d100"
|
|
|
- android:layout_height="@dimen/d100"
|
|
|
- android:layout_marginLeft="@dimen/d10"
|
|
|
- android:layout_marginBottom="@dimen/d10"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- />
|
|
|
+ android:id="@+id/baby_mom_img"
|
|
|
+ android:layout_width="180dp"
|
|
|
+ android:layout_height="165dp"
|
|
|
+ android:src="@mipmap/mom" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_bg_txt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d40"
|
|
|
+ android:layout_toRightOf="@+id/baby_mom_img"
|
|
|
+ android:text="@string/baby_bg_txt"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d300"
|
|
|
+ android:layout_marginTop="155dp"
|
|
|
+ android:background="@mipmap/baby_bg">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_toRightOf="@+id/baby_img"
|
|
|
- >
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/babymom_mian_title_tx4"
|
|
|
+ android:id="@+id/babymom_mian_title_tx1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/d43"
|
|
|
+ android:layout_marginRight="@dimen/d30"
|
|
|
+ android:background="@drawable/shape_baby_bg_title2"
|
|
|
+ android:gravity="center"
|
|
|
android:paddingLeft="@dimen/d18"
|
|
|
- android:paddingRight="@dimen/d18"
|
|
|
android:paddingTop="@dimen/d5"
|
|
|
+ android:paddingRight="@dimen/d18"
|
|
|
android:paddingBottom="@dimen/d5"
|
|
|
- android:text="@string/door_mom_title_5"
|
|
|
- android:textStyle="bold"
|
|
|
+ android:text="@string/door_mom_title_2"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="28sp"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:background="@drawable/shape_baby_bg_title2"
|
|
|
- />
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/babymom_mian_baby_name"
|
|
|
+ android:id="@+id/babymom_mian_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/babymom_mian_title_tx4"
|
|
|
- android:layout_gravity="right"
|
|
|
android:layout_marginTop="@dimen/d22"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="刘一帆"
|
|
|
+ android:layout_marginRight="@dimen/d22"
|
|
|
+ android:gravity="center"
|
|
|
android:textColor="@color/black"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:textSize="50sp"
|
|
|
+ android:textSize="60sp"
|
|
|
android:textStyle="bold" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_time_out"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d25"
|
|
|
+ android:layout_marginRight="@dimen/d5"
|
|
|
+ android:background="@drawable/shape_baby_time_out_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingLeft="@dimen/d20"
|
|
|
+ android:paddingTop="@dimen/d15"
|
|
|
+ android:paddingRight="@dimen/d20"
|
|
|
+ android:paddingBottom="@dimen/d15"
|
|
|
+ android:text="@string/door_mom_main_1"
|
|
|
+ android:textColor="#F8757E"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_toLeftOf="@+id/baby_img2"
|
|
|
- >
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/babymom_mian_title_tx5"
|
|
|
+ android:id="@+id/babymom_mian_title_tx2"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
android:layout_marginTop="@dimen/d43"
|
|
|
+ android:background="@drawable/shape_baby_bg_title2"
|
|
|
+ android:gravity="center"
|
|
|
android:paddingLeft="@dimen/d18"
|
|
|
- android:paddingRight="@dimen/d18"
|
|
|
android:paddingTop="@dimen/d5"
|
|
|
+ android:paddingRight="@dimen/d18"
|
|
|
android:paddingBottom="@dimen/d5"
|
|
|
- android:text="@string/door_mom_title_6"
|
|
|
- android:textStyle="bold"
|
|
|
+ android:text="@string/door_mom_title_3"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="28sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_bg_title2"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- />
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/babymom_mian_baby_sex"
|
|
|
+ android:id="@+id/babymom_mian_age"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/babymom_mian_title_tx5"
|
|
|
+ android:layout_marginLeft="@dimen/d50"
|
|
|
android:layout_marginTop="@dimen/d22"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="女宝"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="50sp"
|
|
|
android:gravity="center"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
- <ImageView
|
|
|
- android:id="@+id/baby_img2"
|
|
|
- android:layout_width="@dimen/d100"
|
|
|
- android:layout_height="@dimen/d100"
|
|
|
- android:layout_marginRight="@dimen/d10"
|
|
|
- android:layout_marginBottom="@dimen/d10"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="60sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_time_end"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d25"
|
|
|
+ android:layout_marginRight="@dimen/d5"
|
|
|
+ android:background="@drawable/shape_baby_time_end_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingLeft="@dimen/d20"
|
|
|
+ android:paddingTop="@dimen/d15"
|
|
|
+ android:paddingRight="@dimen/d20"
|
|
|
+ android:paddingBottom="@dimen/d15"
|
|
|
+ android:text="@string/door_mom_main_2"
|
|
|
+ android:textColor="#FF9B6E"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_title_tx"
|
|
|
+ android:layout_width="@dimen/d230"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="@dimen/d105"
|
|
|
+ android:background="@drawable/shape_baby_bg_title"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/door_mom_title_1"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
+ android:layout_marginRight="@dimen/d30">
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="266dp"
|
|
|
+ android:layout_marginTop="90dp"
|
|
|
+ android:background="@mipmap/baby_bg">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/baby_img"
|
|
|
+ android:layout_width="@dimen/d100"
|
|
|
+ android:layout_height="@dimen/d100"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
+ android:layout_marginBottom="@dimen/d10" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_toRightOf="@+id/baby_img">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_title_tx4"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="@dimen/d43"
|
|
|
+ android:background="@drawable/shape_baby_bg_title2"
|
|
|
+ android:paddingLeft="@dimen/d18"
|
|
|
+ android:paddingTop="@dimen/d5"
|
|
|
+ android:paddingRight="@dimen/d18"
|
|
|
+ android:paddingBottom="@dimen/d5"
|
|
|
+ android:text="@string/door_mom_title_5"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="28sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_baby_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/babymom_mian_title_tx4"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="50sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/babymom_mian_title_tx3"
|
|
|
- android:layout_width="@dimen/d230"
|
|
|
- android:layout_height="@dimen/d60"
|
|
|
- android:text="@string/door_mom_title_4"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="32sp"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_baby_bg_title"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="@dimen/d30"
|
|
|
- />
|
|
|
- </RelativeLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_toLeftOf="@+id/baby_img2">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_title_tx5"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="@dimen/d43"
|
|
|
+ android:background="@drawable/shape_baby_bg_title2"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingLeft="@dimen/d18"
|
|
|
+ android:paddingTop="@dimen/d5"
|
|
|
+ android:paddingRight="@dimen/d18"
|
|
|
+ android:paddingBottom="@dimen/d5"
|
|
|
+ android:text="@string/door_mom_title_6"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="28sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_baby_sex"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/babymom_mian_title_tx5"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="50sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/baby_img2"
|
|
|
+ android:layout_width="@dimen/d100"
|
|
|
+ android:layout_height="@dimen/d100"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginRight="@dimen/d10"
|
|
|
+ android:layout_marginBottom="@dimen/d10" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_mian_title_tx3"
|
|
|
+ android:layout_width="@dimen/d230"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="@dimen/d30"
|
|
|
+ android:background="@drawable/shape_baby_bg_title"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/door_mom_title_4"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/babymom_main_version"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:text="V--"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
</layout>
|