Bug 1392917 - fix photon layout bug. r?jwu,walkingice draft
authorNevin Chen <cnevinchen@gmail.com>
Wed, 23 Aug 2017 14:17:13 +0800
changeset 651103 9f4614906bc89e3958b8ab6adefd43d0bf86f8ca
parent 650228 128a79130ecd6f277190d031a623f991c73c5272
child 651104 d4c54b78a2e77baa99894c3922f620c5b8d23262
push id75584
push userbmo:cnevinchen@gmail.com
push dateWed, 23 Aug 2017 06:43:44 +0000
reviewersjwu, walkingice
bugs1392917
milestone57.0a1
Bug 1392917 - fix photon layout bug. r?jwu,walkingice MozReview-Commit-ID: Ad9PS8Xks1r
mobile/android/app/src/main/res/layout/firstrun_basepanel_checkable_fragment.xml
--- a/mobile/android/app/src/main/res/layout/firstrun_basepanel_checkable_fragment.xml
+++ b/mobile/android/app/src/main/res/layout/firstrun_basepanel_checkable_fragment.xml
@@ -15,18 +15,18 @@
                   android:minHeight="@dimen/firstrun_min_height"
                   android:background="@color/about_page_header_grey"
                   android:gravity="center_horizontal"
                   android:orientation="vertical">
 
         <ImageView android:id="@+id/firstrun_image"
                    android:layout_width="wrap_content"
                    android:layout_height="@dimen/firstrun_background_height"
-                   android:layout_marginTop="40dp"
-                   android:layout_marginBottom="40dp"
+                   android:layout_marginTop="30dp"
+                   android:layout_marginBottom="18dp"
                    android:scaleType="fitCenter"
                    android:layout_gravity="center"
                    android:adjustViewBounds="true"/>
 
         <TextView android:id="@+id/firstrun_text"
                   android:layout_width="@dimen/firstrun_content_width"
                   android:layout_height="wrap_content"
                   android:gravity="center"
@@ -44,15 +44,15 @@
                   android:layout_width="wrap_content"
                   android:layout_height="0dp"
                   android:layout_weight="1"
                   android:visibility="invisible"/>
 
         <TextView android:id="@+id/firstrun_link"
                   android:layout_width="wrap_content"
                   android:layout_height="wrap_content"
-                  android:padding="30dp"
+                  android:layout_marginBottom="30dp"
                   android:gravity="center"
                   android:textAppearance="@style/TextAppearance.FirstrunRegular.Link"
                   android:textAllCaps="true"
                   android:text="@string/firstrun_button_next"/>
     </LinearLayout>
 </ScrollView>