Bug 1394404 - Part 2: Keep AnimatedProgressBar has same height in both BrowserApp and CustomTabsActivity. r?walkingice draft
authorJing-wei Wu <topwu.tw@gmail.com>
Fri, 08 Sep 2017 18:16:50 +0800
changeset 661407 9ed6c2521f6ea64c265d2f65b55345a3fad07eff
parent 661406 f8b0fdbca28d079a9c91569f49ff8bd5edd7b763
child 730548 21e2447c34f583080e1ee7d9c5a731435088e03f
push id78734
push userbmo:topwu.tw@gmail.com
push dateFri, 08 Sep 2017 10:18:07 +0000
reviewerswalkingice
bugs1394404
milestone57.0a1
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"