<?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:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:orientation="vertical">
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/time_rule_btn_add"
|
android:layout_width="@dimen/w155"
|
android:layout_height="@dimen/h60"
|
android:layout_gravity="right"
|
android:layout_marginRight="@dimen/w60"
|
android:layout_marginTop="@dimen/h20"
|
android:background="@drawable/blue_button"
|
android:gravity="center"
|
android:text="新增"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h25" />
|
|
<ListView
|
android:id="@+id/time_rule_lv"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="@dimen/h20"
|
android:layout_marginLeft="@dimen/w45"
|
android:layout_marginRight="@dimen/h45"
|
android:layout_marginTop="@dimen/h20"
|
android:layout_weight="1"
|
android:divider="#00000000"
|
android:dividerHeight="0dip"
|
android:listSelector="@color/transparent"
|
android:scrollbars="none" />
|
|
|
<LinearLayout
|
android:id="@+id/time_rule_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h40"
|
android:orientation="horizontal"
|
android:visibility="gone">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w20"
|
android:background="@drawable/bule_circle" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w20"
|
android:text="时间规则"
|
android:textColor="@color/press_setting_text_color"
|
android:textSize="@dimen/h21" />
|
|
|
</LinearLayout>
|
|
<View
|
android:id="@+id/line1"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_below="@+id/time_rule_tv"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:layout_marginTop="@dimen/h40"
|
android:background="@color/setting_line"
|
android:visibility="gone" />
|
|
</LinearLayout>
|
</RelativeLayout>
|