<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:orientation="vertical"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
>
|
|
<RelativeLayout
|
android:layout_width="280dp"
|
android:layout_height="wrap_content"
|
android:padding="10dp"
|
android:layout_margin="20dp"
|
android:background="@drawable/common_shape_r15_white_bg">
|
<LinearLayout
|
android:id="@+id/ll_1"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
>
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="18sp"
|
android:text=""
|
android:textColor="@color/black"/>
|
<TextView
|
android:id="@+id/tv_message"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text=""
|
android:padding="10dp"
|
android:textColor="@color/black"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:background="#aaa"
|
android:layout_marginBottom="10dp"
|
android:layout_marginTop="5dp"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:orientation="horizontal"
|
android:gravity="center_vertical">
|
<TextView
|
android:id="@+id/tv_no"
|
android:text="@string/cancel"
|
android:lines="1"
|
android:gravity="center"
|
android:layout_weight="1"
|
android:textColor="@color/black"
|
android:clickable="true"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:background="@color/white" />
|
<View
|
android:layout_width="0.5dp"
|
android:layout_height="match_parent"
|
android:background="#aaa"/>
|
<TextView
|
android:id="@+id/tv_ok"
|
android:text="@string/empower"
|
android:lines="1"
|
android:clickable="true"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:textColor="@color/black"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:background="@color/white"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<ImageView
|
android:id="@+id/im_cancle"
|
android:layout_width="30dp"
|
android:layout_height="30dp"
|
android:src="@mipmap/cancel"
|
android:layout_alignParentRight="true"
|
android:visibility="gone"/>
|
</RelativeLayout>
|
</LinearLayout>
|