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 662289 1f1893590a1df0ecf2d4f9e2dfdc3223991a942f
parent 662288 a2ed5fdd3fc33be5a9c8defbe2dec306caeab88f
child 662290 f9a5e9ed62103c84e4cde915f4d08f1ce71be83e
child 662552 109e5bafd7a34423f6ed3ae03fcd277004fa41a5
push id79014
push userbmo:bpostelnicu@mozilla.com
push dateMon, 11 Sep 2017 09:58:20 +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"