<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="vertical"
|
android:gravity="center"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<LinearLayout
|
android:id="@+id/dialog_add_linear_layout"
|
android:layout_width="@dimen/w350dp"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:background="@android:color/white"
|
android:orientation="vertical">
|
<TextView
|
android:id="@+id/dialog_add_title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="@dimen/w20dp"
|
android:gravity="center"
|
android:textColor="@android:color/white"
|
android:textSize="@dimen/w20dp"
|
android:background="@color/colorPrimary"
|
/>
|
<EditText
|
android:id="@+id/dialog_add_content"
|
android:layout_width="@dimen/w200dp"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:textColor="@color/colorText_5"
|
android:padding="@dimen/w22dp"
|
android:gravity="center"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:background="@color/colorText_b"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h50dp"
|
android:orientation="horizontal">
|
<TextView
|
android:id="@+id/dialog_add_ok"
|
android:layout_weight="1"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="@string/confirm"
|
android:textSize="@dimen/w16dp"/>
|
<View
|
android:layout_width="0.5dp"
|
android:layout_height="match_parent"
|
android:background="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/dialog_add_cancel"
|
android:layout_weight="1"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="@string/cancel"
|
android:textSize="@dimen/w16dp"/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|