Compare commits

..
Author SHA1 Message Date
shihaam e717360d00 Merge pull request 'fix language toggle alignment' from azuwlaa/android:fix/language-toggle-alignment 2026-09-25 17:53:03 +05:00
shihaam 2f26599931 fix language toggle misaligned on onboarding screen #58 2026-09-25 17:50:17 +05:00
azuwlaaandClaude Opus 5.5 f8f9d82440 fix language toggle buttons misaligned
The Dhivehi button sat a few pixels lower than English because the
toggle group aligns children by text baseline and Thaana has different
font metrics. Turn off baseline alignment for the language toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FQUrmJjrypeoPsubpzuezC
2026-09-25 17:35:45 +05:00
2 changed files with 2 additions and 0 deletions
@@ -48,6 +48,7 @@
android:id="@+id/languageToggle" android:id="@+id/languageToggle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:baselineAligned="false"
app:singleSelection="true" app:singleSelection="true"
app:selectionRequired="true"> app:selectionRequired="true">
@@ -282,6 +282,7 @@
android:id="@+id/languageToggle" android:id="@+id/languageToggle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:baselineAligned="false"
app:singleSelection="true" app:singleSelection="true"
app:selectionRequired="true"> app:selectionRequired="true">