Skip to content

Commit

Permalink
rollback onboarding + margin/font reduced
Browse files Browse the repository at this point in the history
  • Loading branch information
xanscale committed Jan 10, 2019
1 parent 901fb1f commit b4b1f00
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 31 deletions.
25 changes: 16 additions & 9 deletions app/src/main/res/layout/fragment_onboarding_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@
android:layout_height="match_parent"
android:background="#002B54">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/onboarding_1" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/onboarding_1" />

<TextView
style="@style/TextAppearance.MaterialComponents.Headline6"
android:layout_width="match_parent"
Expand All @@ -26,13 +25,21 @@
android:textColor="@color/color_white" />

<TextView
style="@style/TextAppearance.MaterialComponents.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="8dp"
android:text="@string/Onboarding_WhatIsOONIProbe_Paragraph"
android:textColor="@color/color_white" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">

<Button
android:id="@+id/master"
style="@style/TextAppearance.MaterialComponents.Body1"
Expand Down
25 changes: 15 additions & 10 deletions app/src/main/res/layout/fragment_onboarding_2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@
android:layout_height="match_parent"
android:background="#0F3E74">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/onboarding_2" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/onboarding_2" />

<TextView
style="@style/TextAppearance.MaterialComponents.Headline4"
style="@style/TextAppearance.MaterialComponents.Headline6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
Expand All @@ -30,7 +29,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="16dp"
android:layout_marginTop="8dp"
android:text="@string/Onboarding_ThingsToKnow_Bullet_1"
android:textColor="@color/color_white" />

Expand All @@ -47,9 +46,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginBottom="16dp"
android:text="@string/Onboarding_ThingsToKnow_Bullet_3"
android:textColor="@color/color_white" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">

<Button
android:id="@+id/master"
Expand Down
28 changes: 16 additions & 12 deletions app/src/main/res/layout/fragment_onboarding_3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,31 @@
android:layout_height="match_parent"
android:background="#001A33">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="#002B54"
android:src="@drawable/onboarding_3" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="#002B54"
android:src="@drawable/onboarding_3" />

<TextView
style="@style/TextAppearance.MaterialComponents.Headline4"
style="@style/TextAppearance.MaterialComponents.Headline6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/Onboarding_DefaultSettings_Title"
android:textColor="@color/color_white" />

<TextView
style="@style/TextAppearance.MaterialComponents.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="16dp"
android:layout_marginTop="8dp"
android:text="@string/Onboarding_DefaultSettings_Header"
android:textColor="@color/color_white"
android:textStyle="bold" />
Expand Down Expand Up @@ -65,9 +63,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginBottom="16dp"
android:text="@string/Onboarding_DefaultSettings_Paragraph"
android:textColor="@color/color_white" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">

<Button
android:id="@+id/master"
Expand Down

0 comments on commit b4b1f00

Please sign in to comment.