1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/web_app.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,60 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 1.6 + android:id="@+id/main_layout" 1.7 + android:orientation="vertical" 1.8 + android:layout_width="fill_parent" 1.9 + android:layout_height="fill_parent"> 1.10 + 1.11 + <LinearLayout android:id="@+id/webapp_titlebar" 1.12 + android:visibility="gone" 1.13 + style="@style/WebView.Titlebar" 1.14 + android:layout_width="fill_parent" 1.15 + android:layout_height="wrap_content" 1.16 + android:orientation="horizontal"> 1.17 + 1.18 + <TextView android:id="@+id/webapp_title" 1.19 + style="@style/WebView.Titlebar.Title" 1.20 + android:layout_width="fill_parent" 1.21 + android:layout_height="wrap_content" 1.22 + android:singleLine="true"/> 1.23 + 1.24 + </LinearLayout> 1.25 + 1.26 + <RelativeLayout android:id="@+id/gecko_layout" 1.27 + android:layout_width="fill_parent" 1.28 + android:layout_height="fill_parent" 1.29 + android:layout_weight="1" 1.30 + android:layout_below="@+id/webapp_titlebar"> 1.31 + 1.32 + <include layout="@layout/shared_ui_components"/> 1.33 + 1.34 + <RelativeLayout android:id="@+id/splashscreen" 1.35 + android:layout_width="fill_parent" 1.36 + android:layout_height="fill_parent" > 1.37 + 1.38 + <ImageView android:id="@+id/splashscreen_icon" 1.39 + android:minWidth="128dip" 1.40 + android:minHeight="128dip" 1.41 + android:layout_width="wrap_content" 1.42 + android:layout_height="wrap_content" 1.43 + android:layout_centerHorizontal="true" 1.44 + android:layout_centerVertical="true"/> 1.45 + 1.46 + <ProgressBar android:id="@+id/splashscreen_progress" 1.47 + android:layout_width="wrap_content" 1.48 + android:layout_height="wrap_content" 1.49 + android:gravity="center" 1.50 + android:layout_centerHorizontal="true" 1.51 + android:layout_alignParentBottom="true" 1.52 + android:paddingBottom="30dip" 1.53 + android:visibility="gone"/> 1.54 + 1.55 + </RelativeLayout> 1.56 + 1.57 + </RelativeLayout> 1.58 + 1.59 + <ViewStub android:id="@+id/toast_stub" 1.60 + android:layout="@layout/button_toast" 1.61 + style="@style/Toast"/> 1.62 + 1.63 +</RelativeLayout>