|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 android:id="@+id/main_layout" |
|
4 android:orientation="vertical" |
|
5 android:layout_width="fill_parent" |
|
6 android:layout_height="fill_parent"> |
|
7 |
|
8 <LinearLayout android:id="@+id/webapp_titlebar" |
|
9 android:visibility="gone" |
|
10 style="@style/WebView.Titlebar" |
|
11 android:layout_width="fill_parent" |
|
12 android:layout_height="wrap_content" |
|
13 android:orientation="horizontal"> |
|
14 |
|
15 <TextView android:id="@+id/webapp_title" |
|
16 style="@style/WebView.Titlebar.Title" |
|
17 android:layout_width="fill_parent" |
|
18 android:layout_height="wrap_content" |
|
19 android:singleLine="true"/> |
|
20 |
|
21 </LinearLayout> |
|
22 |
|
23 <RelativeLayout android:id="@+id/gecko_layout" |
|
24 android:layout_width="fill_parent" |
|
25 android:layout_height="fill_parent" |
|
26 android:layout_weight="1" |
|
27 android:layout_below="@+id/webapp_titlebar"> |
|
28 |
|
29 <include layout="@layout/shared_ui_components"/> |
|
30 |
|
31 <RelativeLayout android:id="@+id/splashscreen" |
|
32 android:layout_width="fill_parent" |
|
33 android:layout_height="fill_parent" > |
|
34 |
|
35 <ImageView android:id="@+id/splashscreen_icon" |
|
36 android:minWidth="128dip" |
|
37 android:minHeight="128dip" |
|
38 android:layout_width="wrap_content" |
|
39 android:layout_height="wrap_content" |
|
40 android:layout_centerHorizontal="true" |
|
41 android:layout_centerVertical="true"/> |
|
42 |
|
43 <ProgressBar android:id="@+id/splashscreen_progress" |
|
44 android:layout_width="wrap_content" |
|
45 android:layout_height="wrap_content" |
|
46 android:gravity="center" |
|
47 android:layout_centerHorizontal="true" |
|
48 android:layout_alignParentBottom="true" |
|
49 android:paddingBottom="30dip" |
|
50 android:visibility="gone"/> |
|
51 |
|
52 </RelativeLayout> |
|
53 |
|
54 </RelativeLayout> |
|
55 |
|
56 <ViewStub android:id="@+id/toast_stub" |
|
57 android:layout="@layout/button_toast" |
|
58 style="@style/Toast"/> |
|
59 |
|
60 </RelativeLayout> |