gecko-dev/mobile/android/base/resources/layout/web_app.xml
Chris Lord e91bccc03f Bug 849539 - Fix launching web-apps after bug 716403. r=mfinkle
Forgot to change the Web-App layout to use RelativeLayout instead of
LinearLayout.
2013-03-11 14:29:47 +00:00

57 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_layout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:id="@+id/webapp_titlebar"
android:visibility="gone"
style="@style/WebView.Titlebar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView android:id="@+id/webapp_title"
style="@style/WebView.Titlebar.Title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"/>
</LinearLayout>
<RelativeLayout android:id="@+id/gecko_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:layout_below="@+id/webapp_titlebar">
<include layout="@layout/shared_ui_components"/>
<RelativeLayout android:id="@+id/splashscreen"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ImageView android:id="@+id/splashscreen_icon"
android:minWidth="128dip"
android:minHeight="128dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"/>
<ProgressBar android:id="@+id/splashscreen_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
android:paddingBottom="30dip"
android:visibility="gone"/>
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>