Bug 962103 - Make progress bar overlap content. r=lucasr

This commit is contained in:
Brian Nicholson 2014-03-04 12:57:23 -08:00
parent 2aa48a9683
commit 553b10d067
6 changed files with 11 additions and 2 deletions

View File

@ -1305,6 +1305,11 @@ public abstract class GeckoApp
mGeckoLayout = (RelativeLayout) findViewById(R.id.gecko_layout);
mMainLayout = (RelativeLayout) findViewById(R.id.main_layout);
// Removing the view clipping causes layout issues on < 3.0 (bug 978796).
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
mMainLayout.setClipChildren(true);
}
// Determine whether we should restore tabs.
mShouldRestore = getSessionRestoreState(savedInstanceState);
if (mShouldRestore && savedInstanceState != null) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 B

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -107,7 +107,8 @@
<org.mozilla.gecko.toolbar.ToolbarProgressView android:id="@+id/progress"
android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_height="16dp"
android:layout_marginBottom="-8dp"
android:layout_alignBottom="@id/shadow"
android:src="@drawable/progress"
android:background="@null"

View File

@ -17,7 +17,8 @@
android:id="@+id/main_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/transparent">
android:background="@android:color/transparent"
android:clipChildren="false">
<RelativeLayout android:id="@+id/gecko_layout"
android:layout_width="fill_parent"
@ -90,6 +91,7 @@
android:layout_width="fill_parent"
android:layout_height="@dimen/browser_toolbar_height"
android:clickable="true"
android:clipChildren="false"
android:focusable="true">
<org.mozilla.gecko.toolbar.BrowserToolbar
@ -99,6 +101,7 @@
android:layout_height="@dimen/browser_toolbar_height"
android:clickable="true"
android:focusable="true"
android:clipChildren="false"
android:background="@drawable/url_bar_bg"/>
<org.mozilla.gecko.ActionModeCompatView android:id="@+id/actionbar"