12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#70C1FF">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:gravity="center"
- android:orientation="vertical"
- android:showDividers="middle">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/activity_crash_icon"></ImageView>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="应用崩溃了~"
- android:textColor="@color/white"
- android:textSize="40dp"></TextView>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginTop="10dp"
- android:divider="@drawable/activity_crash_divider_btn"
- android:gravity="center"
- android:orientation="horizontal"
- android:showDividers="middle">
- <FrameLayout
- android:id="@+id/activity_crash_dialog_restart"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@color/blue"
- android:padding="8dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="给个机会"
- android:textColor="@color/white"
- android:textSize="30dp"></TextView>
- </FrameLayout>
- <FrameLayout
- android:id="@+id/activity_crash_dialog_exitapp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@color/cadetblue"
- android:padding="8dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="狠心退出"
- android:textColor="@color/white"
- android:textSize="30dp"></TextView>
- </FrameLayout>
- </LinearLayout>
- </LinearLayout>
- </FrameLayout>
|