Bug 1107636 - Replace RelativeLayout with FrameLayout in WebApp. r=me
☠☠ backed out by 5f9371f97e1e ☠ ☠
authorMichael Comella <michael.l.comella@gmail.com>
Mon, 09 Nov 2015 14:44:59 -0800
changeset 308409 c575729788a7bb3c6632a4a29063c0d5c4150629
parent 308408 2b6f2bcfe767c326e67e8d89b2b3cb7d9f9ec849
child 308410 9145f78bb39c3fbc447e3d0b743e46615f405ffc
push id7470
push users.kaspari@gmail.com
push dateThu, 12 Nov 2015 12:51:02 +0000
reviewersme
bugs1107636
milestone45.0a1
Bug 1107636 - Replace RelativeLayout with FrameLayout in WebApp. r=me It shares an implementation with GeckoApp so it needs to match.
mobile/android/base/resources/layout/web_app.xml
--- a/mobile/android/base/resources/layout/web_app.xml
+++ b/mobile/android/base/resources/layout/web_app.xml
@@ -15,20 +15,20 @@
         <TextView android:id="@+id/webapp_title"
                   style="@style/WebView.Titlebar.Title"
                   android:layout_width="match_parent"
                   android:layout_height="wrap_content"
                   android:singleLine="true"/>
 
     </LinearLayout>
 
-    <RelativeLayout android:id="@+id/gecko_layout"
-                    android:layout_width="match_parent"
-                    android:layout_height="match_parent"
-                    android:layout_below="@+id/webapp_titlebar">
+    <FrameLayout android:id="@+id/gecko_layout"
+                 android:layout_width="match_parent"
+                 android:layout_height="match_parent"
+                 android:layout_below="@+id/webapp_titlebar">
 
         <include layout="@layout/shared_ui_components"/>
 
         <RelativeLayout android:id="@+id/splashscreen"
                         android:layout_width="match_parent"
                         android:layout_height="match_parent" >
 
             <ImageView android:id="@+id/splashscreen_icon"
@@ -45,15 +45,15 @@
                          android:gravity="center"
                          android:layout_centerHorizontal="true"
                          android:layout_alignParentBottom="true"
                          android:paddingBottom="30dip"
                          android:visibility="gone"/>
 
         </RelativeLayout>
 
-    </RelativeLayout>
+    </FrameLayout>
 
     <ViewStub android:id="@+id/toast_stub"
               android:layout="@layout/button_toast"
               style="@style/Toast"/>
 
 </RelativeLayout>