fancy_webview_service.xml
4.5 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/qdservice_webview_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<FrameLayout
android:layout_width="match_parent"
android:layout_height="@dimen/qdservice_header_height" >
<Button
android:layout_width="match_parent"
android:layout_height="@dimen/qdservice_header_height"
android:background="#ff373737" />
<Button
android:layout_width="@dimen/qdservice_btn_bg_width"
android:layout_height="@dimen/qdservice_header_height"
android:background="#ff191919" />
<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="right"
android:orientation="horizontal"
android:stretchColumns="4" >
<TableRow>
<ImageView
android:id="@+id/qdservice_btn_close"
android:layout_width="@dimen/qdservice_btn_size"
android:layout_height="@dimen/qdservice_btn_size"
android:layout_marginTop="@dimen/qdservice_btn_margin"
android:background="@drawable/fancyservice_btn_close" />
<ImageView
android:id="@+id/qdservice_btn_back"
android:layout_width="@dimen/qdservice_btn_size"
android:layout_height="@dimen/qdservice_btn_size"
android:layout_marginTop="@dimen/qdservice_btn_margin"
android:background="@drawable/fancyservice_btn_back" />
<ImageView
android:id="@+id/qdservice_btn_forward"
android:layout_width="@dimen/qdservice_btn_size"
android:layout_height="@dimen/qdservice_btn_size"
android:layout_marginTop="@dimen/qdservice_btn_margin"
android:background="@drawable/qdservice_btn_forw" />
<ImageView
android:id="@+id/qdservice_btn_reload"
android:layout_width="@dimen/qdservice_btn_size"
android:layout_height="@dimen/qdservice_btn_size"
android:layout_marginTop="@dimen/qdservice_btn_margin"
android:background="@drawable/fancyservice_btn_relo" />
<ImageView
android:id="@+id/qdservice_btn_blank"
android:background="#00000000" />
</TableRow>
</TableLayout>
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<WebView
android:id="@+id/qdservice_webview_page"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none" />
<LinearLayout
android:id="@+id/qdservice_webview_error"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffffff"
android:gravity="center"
android:orientation="horizontal"
android:paddingBottom="30dp" >
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/fancyservice_error"
android:contentDescription="@string/qdservice_webview_error_desc1" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:gravity="center_vertical"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/qdservice_webview_error_desc1"
android:textColor="#aa666666"
android:textSize="30sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/qdservice_webview_error_desc2"
android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
</LinearLayout>