Bug 1394404 - Part 2: Keep AnimatedProgressBar has same height in both BrowserApp and CustomTabsActivity. r=walkingice
authorJing-wei Wu <topwu.tw@gmail.com>
Fri, 08 Sep 2017 18:16:50 +0800
changeset 429498 1f1893590a1df0ecf2d4f9e2dfdc3223991a942f
parent 429497 a2ed5fdd3fc33be5a9c8defbe2dec306caeab88f
child 429508 f9a5e9ed62103c84e4cde915f4d08f1ce71be83e
child 429511 109e5bafd7a34423f6ed3ae03fcd277004fa41a5
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswalkingice
bugs1394404
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1394404 - Part 2: Keep AnimatedProgressBar has same height in both BrowserApp and CustomTabsActivity. r=walkingice MozReview-Commit-ID: EWXn98emP2g
mobile/android/app/src/main/res/layout/customtabs_activity.xml
--- a/mobile/android/app/src/main/res/layout/customtabs_activity.xml
+++ b/mobile/android/app/src/main/res/layout/customtabs_activity.xml
@@ -26,17 +26,17 @@
         android:layout_below="@id/actionbar"
         android:layout_height="match_parent"
         android:scrollbars="none"/>
 
     <org.mozilla.gecko.widget.AnimatedProgressBar
         android:id="@id/page_progress"
         style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
         android:layout_width="match_parent"
-        android:layout_height="4dp"
+        android:layout_height="2dp"
         android:layout_alignTop="@id/gecko_view"
         android:background="@drawable/url_bar_bg"
         android:progressDrawable="@drawable/progressbar"
         app:shiftDuration="@integer/shift_duration_suggestion"
         app:wrapShiftDrawable="true"
         tools:progress="70" />
 
     <View android:id="@+id/custom_tabs_doorhanger_overlay"