<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:id="@+id/fragment_home"
|
android:background="#f0f4f7"
|
>
|
|
<LinearLayout
|
android:layout_centerInParent="true"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h822">
|
<LinearLayout
|
android:layout_width="@dimen/w430"
|
android:layout_height="@dimen/h822"
|
android:orientation="vertical">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h197"
|
android:orientation="horizontal"
|
android:background="@drawable/home_enter_background"
|
android:gravity="center_vertical"
|
>
|
<LinearLayout
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_width="@dimen/w117"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_gravity="center_vertical"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="进校人数"
|
android:textSize="@dimen/h18"
|
android:textColor="@color/white"/>
|
<TextView
|
android:layout_marginTop="@dimen/h9"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="Enter the school"
|
android:textSize="@dimen/h10"
|
android:textColor="@color/white"/>
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/todayEnters"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:singleLine="true"
|
android:text="0"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h55" />
|
<TextView
|
android:layout_marginLeft="@dimen/w5"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18"
|
android:text="人"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_marginTop="@dimen/h37"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h197"
|
android:orientation="horizontal"
|
android:background="@drawable/home_exit_background"
|
android:gravity="center_vertical"
|
>
|
<LinearLayout
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_width="@dimen/w117"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_gravity="center_vertical"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="出校人数"
|
android:textSize="@dimen/h18"
|
android:textColor="@color/white"/>
|
<TextView
|
android:layout_marginTop="@dimen/h9"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="Enter the school"
|
android:textSize="@dimen/h10"
|
android:textColor="@color/white"/>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h55"
|
android:text="0"
|
android:id="@+id/todayExits"
|
/>
|
<TextView
|
android:layout_marginLeft="@dimen/w5"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18"
|
android:text="人"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_marginTop="@dimen/h37"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h197"
|
android:orientation="horizontal"
|
android:background="@drawable/home_exist_background"
|
android:gravity="center_vertical"
|
>
|
<LinearLayout
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_width="@dimen/w117"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_gravity="center_vertical"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="校内人数"
|
android:textSize="@dimen/h18"
|
android:textColor="@color/white"/>
|
<TextView
|
android:layout_marginTop="@dimen/h9"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="Enter the school"
|
android:textSize="@dimen/h10"
|
android:textColor="@color/white"/>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h55"
|
android:text="0"
|
android:id="@+id/todayRemaining"
|
/>
|
<TextView
|
android:layout_marginLeft="@dimen/w5"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18"
|
android:text="人"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_marginTop="@dimen/h37"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h120">
|
<ImageView
|
android:id="@+id/clearBegin"
|
android:layout_width="@dimen/w51"
|
android:layout_height="match_parent"
|
android:scaleType="fitCenter"
|
android:src="@drawable/u4"
|
android:background="#545454"
|
/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h120"
|
android:layout_marginLeft="@dimen/h10"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:paddingLeft="@dimen/w60"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h55"
|
android:background="#0d26b6"
|
android:gravity="left|center_vertical"
|
android:paddingRight="@dimen/w14">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="当前进校"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18" />
|
|
<TextView
|
android:id="@+id/entersSinceLastClear"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w4"
|
android:layout_marginRight="@dimen/w4"
|
android:gravity="center_vertical"
|
android:text="0"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h35" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="人"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18" />
|
</LinearLayout>
|
|
<TextView
|
android:layout_width="1px"
|
android:layout_height="@dimen/h10" />
|
|
<LinearLayout
|
android:paddingLeft="@dimen/w60"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h55"
|
android:background="#0d26b6"
|
android:gravity="left|center_vertical"
|
android:paddingRight="@dimen/w14">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="当前出校"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18" />
|
|
<TextView
|
android:id="@+id/exitsSinceLastClear"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w4"
|
android:layout_marginRight="@dimen/w4"
|
android:gravity="center_vertical"
|
android:text="0"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h35" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="人"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h18" />
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
<RelativeLayout
|
android:layout_marginLeft="@dimen/w84"
|
android:layout_width="@dimen/w1167"
|
android:layout_height="wrap_content"
|
android:background="@drawable/layout_bg"
|
>
|
<com.basic.security.widget.SuitLines
|
android:paddingTop="16dp"
|
xmlns:line="http://schemas.android.com/apk/res-auto"
|
android:id="@+id/suitLines"
|
android:background="@color/white"
|
line:lineType="curve"
|
android:layout_marginLeft="@dimen/w75"
|
android:layout_marginRight="@dimen/w121"
|
android:layout_marginBottom="@dimen/h115"
|
android:layout_marginTop="@dimen/h200"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h200"
|
android:layout_marginLeft="@dimen/w90"
|
android:text="人数"
|
android:textColor="#72a7f3"
|
android:textSize="@dimen/h14"
|
/>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_above="@+id/empty_view"
|
android:layout_alignParentRight="true"
|
android:layout_marginRight="@dimen/w90"
|
android:text="时间"
|
android:textColor="#72a7f3"
|
android:textSize="@dimen/h14" />
|
|
<View
|
android:id="@+id/empty_view"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h115"
|
android:layout_alignParentBottom="true"
|
android:layout_marginBottom="4dp"
|
android:visibility="invisible" />
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h90"
|
android:layout_marginLeft="@dimen/w90"
|
android:text="校内人数统计图"
|
android:textColor="@color/black"
|
android:textSize="@dimen/h23"
|
/>
|
</RelativeLayout>
|
</LinearLayout>
|
|
|
</RelativeLayout>
|