Skip to content

Commit

Permalink
Merge pull request #20804 from wordpress-mobile/fix/20803-rtl-alignme…
Browse files Browse the repository at this point in the history
…nt-issue

Fix the alignment issue in RTL
  • Loading branch information
jarvislin authored May 13, 2024
2 parents 3728e64 + bb30192 commit 09194c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-----
* [*] [Jetpack-only] Removed Social section from the detail screen of Total Followers card [https://github.com/wordpress-mobile/WordPress-Android/pull/20763]
* [***] [Jetpack-only] Reorganized Stats to include updated Traffic and Insights tabs, along with a newly added Subscribers tab to improve subscriber metrics analysis [https://github.com/wordpress-mobile/WordPress-Android/pull/20756]
* [*] Site picker: Fixed the UI alignment issue in RTL [https://github.com/wordpress-mobile/WordPress-Android/pull/20804]

24.8
-----
Expand Down
4 changes: 4 additions & 0 deletions WordPress/src/main/res/layout/item_choose_site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
style="@style/Widget.LoginFlow.TextView.List.Line1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
android:layout_marginStart="@dimen/margin_extra_large"
android:ellipsize="end"
android:maxLines="1"
Expand All @@ -77,6 +78,7 @@
app:layout_constraintEnd_toStartOf="@+id/pin"
app:layout_constraintStart_toEndOf="@+id/avatar_container"
app:layout_constraintTop_toTopOf="@+id/avatar_container"
app:layout_goneMarginEnd="@dimen/margin_extra_large"
tools:text="Around the World with Pam" />

<org.wordpress.android.widgets.WPTextView
Expand All @@ -85,6 +87,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_extra_large"
android:textAlignment="viewStart"
android:ellipsize="end"
android:maxLines="1"
android:textSize="15sp"
Expand All @@ -93,6 +96,7 @@
app:layout_constraintStart_toEndOf="@+id/avatar_container"
app:layout_constraintTop_toBottomOf="@+id/text_title"
app:layout_constraintVertical_chainStyle="packed"
app:layout_goneMarginEnd="@dimen/margin_extra_large"
tools:text="pamelanguyen.com" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>

0 comments on commit 09194c1

Please sign in to comment.