|
@@ -0,0 +1,107 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:id="@+id/dialogalert"
|
|
|
+ android:layout_width="480dp"
|
|
|
+ android:layout_height="266dp"
|
|
|
+ android:background="@drawable/dialog_error_bg">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="0.2"></Space>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:src="@drawable/dialog_icon"></ImageView>
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="0.4">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="阿欧,请检查你的网络,一会再来找他吧!"
|
|
|
+ android:textColor="#99000000"
|
|
|
+ android:textSize="15sp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_weight="0.8"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="0.1"></Space>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/dialog_cancel_button"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:layout_weight="1.2"
|
|
|
+ android:background="@drawable/dialog_error_button_bg"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:alpha="0.6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="取消"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textStyle="bold"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="0.05"
|
|
|
+ android:visibility="gone"></Space>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/dialog_confirm_button"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:layout_weight="1.2"
|
|
|
+ android:background="@drawable/dialog_error_button_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:alpha="0.6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="确认"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textStyle="bold"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="0.1"></Space>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+</FrameLayout>
|