<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/fragment_home"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<TextView
|
android:id="@+id/textView"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/transparent" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginRight="@dimen/w20"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="0dp"
|
android:layout_weight="635">
|
<LinearLayout
|
android:id="@+id/call"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentRight="true"
|
android:layout_marginBottom="@dimen/h24"
|
android:layout_marginRight="@dimen/w15"
|
android:orientation="vertical">
|
|
<ImageView
|
android:layout_width="@dimen/h42"
|
android:layout_height="@dimen/h42"
|
android:layout_gravity="center_horizontal"
|
android:scaleType="fitXY"
|
android:src="@drawable/call" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h14"
|
android:text="呼叫开门"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_19" />
|
</LinearLayout>
|
</RelativeLayout>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h20" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="520" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/keyboard"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:background="@drawable/identity_list_background"
|
android:orientation="vertical"
|
android:padding="@dimen/h40"
|
android:visibility="gone">
|
|
<EditText
|
android:id="@+id/password"
|
style="@style/editText2"
|
android:layout_width="@dimen/w400"
|
android:layout_height="@dimen/h70"
|
android:layout_gravity="center"
|
android:enabled="false"
|
android:gravity="center"
|
android:hint=""
|
android:inputType="textPassword"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_21" />
|
|
<GridLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20"
|
android:columnCount="3"
|
android:rowCount="4">
|
|
<Button
|
android:id="@+id/k1"
|
style="@style/keyboard_button"
|
android:text="1" />
|
|
<Button
|
android:id="@+id/k2"
|
style="@style/keyboard_button"
|
android:text="2" />
|
|
<Button
|
android:id="@+id/k3"
|
style="@style/keyboard_button"
|
android:text="3" />
|
|
<Button
|
android:id="@+id/k4"
|
style="@style/keyboard_button"
|
android:text="4" />
|
|
<Button
|
android:id="@+id/k5"
|
style="@style/keyboard_button"
|
android:text="5" />
|
|
<Button
|
android:id="@+id/k6"
|
style="@style/keyboard_button"
|
android:text="6" />
|
|
<Button
|
android:id="@+id/k7"
|
style="@style/keyboard_button"
|
android:text="7" />
|
|
<Button
|
android:id="@+id/k8"
|
style="@style/keyboard_button"
|
android:text="8" />
|
|
<Button
|
android:id="@+id/k9"
|
style="@style/keyboard_button"
|
android:text="9" />
|
|
<Button
|
android:id="@+id/k0"
|
style="@style/keyboard_button"
|
android:text="0" />
|
|
<Button
|
android:id="@+id/kDelete"
|
style="@style/keyboard_button"
|
android:text="<-" />
|
|
<Button
|
android:id="@+id/kEnter"
|
style="@style/keyboard_button1"
|
android:text="确定" />
|
</GridLayout>
|
</LinearLayout>
|
|
|
</RelativeLayout>
|