Bug 1405954 - Part 1: Increase progress bar height from 2dp to 3dp. r?nechen draft
authorJing-wei Wu <topwu.tw@gmail.com>
Mon, 02 Oct 2017 14:39:00 +0800
changeset 675351 6869f69ca3afafaad84cf835169cf35bd3b9fd37
parent 675350 b59f4d249f1c1037598017851f73e7623cf0a36d
child 675352 c739d4f5e8babeb35c514ccb9b33da0456b2b984
push id83109
push userbmo:topwu.tw@gmail.com
push dateThu, 05 Oct 2017 06:44:50 +0000
reviewersnechen
bugs1405954
milestone58.0a1
Bug 1405954 - Part 1: Increase progress bar height from 2dp to 3dp. r?nechen MozReview-Commit-ID: CKLzo7SWKiX
mobile/android/app/src/main/res/layout/customtabs_activity.xml
mobile/android/app/src/main/res/layout/gecko_app.xml
--- a/mobile/android/app/src/main/res/layout/customtabs_activity.xml
+++ b/mobile/android/app/src/main/res/layout/customtabs_activity.xml
@@ -31,17 +31,17 @@
                                        android:layout_width="match_parent"
                                        android:layout_height="match_parent"
                                        android:visibility="gone"/>
 
     <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="2dp"
+        android:layout_height="3dp"
         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"
--- a/mobile/android/app/src/main/res/layout/gecko_app.xml
+++ b/mobile/android/app/src/main/res/layout/gecko_app.xml
@@ -141,17 +141,17 @@
             </ViewFlipper>
 
         </LinearLayout>
 
         <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="2dp"
+            android:layout_height="3dp"
             android:layout_below="@id/browser_chrome"
             android:layout_marginTop="-2dp"
             android:background="@null"
             android:progressDrawable="@drawable/progressbar"
             android:visibility="gone"
             app:shiftDuration="@integer/shift_duration_suggestion"
             app:wrapShiftDrawable="true" />