nonetwork_activity.xml
2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black50"
android:gravity="center"
android:orientation="vertical"
tools:context="com.studymachine.www.ui.activity.NoNetworkActivity">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
android:layout_width="@dimen/dp_259"
android:layout_height="@dimen/dp_122">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/tanchuang1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingBottom="@dimen/dp_22">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/common_network_error"
android:textColor="#ff333333"
android:textSize="@dimen/sp_8" />
</LinearLayout>
</FrameLayout>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/bt_setting"
android:layout_width="@dimen/dp_63"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center"
android:background="@drawable/button_update_selector"
android:text="@string/common_network_setting"
android:textColor="@color/white"
android:textSize="@dimen/sp_10"
android:textStyle="italic|bold" />
</LinearLayout>
</LinearLayout>