Skip to content

Commit

Permalink
Merge pull request #13420 from woocommerce/feature/update-login-prolo…
Browse files Browse the repository at this point in the history
…gue-headers-size

Update line height for prologue headers
  • Loading branch information
JorgeMucientes authored Jan 30, 2025
2 parents e97e33b + c30a7a7 commit 31671f1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/image_prologue"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintWidth_percent="@dimen/prologue_width_percent" />
app:layout_constraintWidth_percent="@dimen/prologue_width_percent"
app:lineHeight="29sp" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/prologueTitle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
android:breakStrategy="balanced"
android:gravity="center"
android:textStyle="bold"
app:lineHeight="29sp"
tools:text="@string/login_prologue_label_analytics" />

<com.google.android.material.textview.MaterialTextView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/imageView"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintWidth_percent="@dimen/prologue_width_percent" />
app:layout_constraintWidth_percent="@dimen/prologue_width_percent"
app:lineHeight="29sp" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/prologueTitle"
Expand Down
3 changes: 2 additions & 1 deletion WooCommerce/src/main/res/layout/fragment_login_prologue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/imageView"
app:layout_constraintVertical_chainStyle="packed" />
app:layout_constraintVertical_chainStyle="packed"
app:lineHeight="29sp" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/prologueTitle"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand All @@ -24,6 +25,7 @@
android:breakStrategy="balanced"
android:gravity="center"
android:textStyle="bold"
app:lineHeight="29sp"
tools:text="@string/login_prologue_label_analytics" />

<com.google.android.material.textview.MaterialTextView
Expand Down

0 comments on commit 31671f1

Please sign in to comment.