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

This commit is contained in:
Brian Nicholson 2014-02-27 14:12:11 -08:00
parent dd0aed7be9
commit 00c79e6b37
6 changed files with 12 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 B

After

Width:  |  Height:  |  Size: 572 B

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="14dp"
android:layout_marginBottom="-7dp"
android:layout_alignBottom="@id/shadow"
android:src="@drawable/progress"
android:background="@null"

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="14dp"
android:layout_marginBottom="-7dp"
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,8 +91,13 @@
android:layout_width="fill_parent"
android:layout_height="@dimen/browser_toolbar_height"
android:clickable="true"
android:clipChildren="false"
android:focusable="true">
<!-- clipChildren="false" allows the child ToolbarProgressView to be drawn
outside of BrowserToolbar's boundaries. Likewise, we need this property
on BrowserToolbar's parent ViewFlipper, then on its parent MainLayout
to allow the progress to overlap the content LayerView. -->
<org.mozilla.gecko.toolbar.BrowserToolbar
android:id="@+id/browser_toolbar"
style="@style/BrowserToolbar"
@ -99,6 +105,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"