Improve right to left support #130

Merged
AmineL merged 5 commits from davidoskky/ReaderForSelfoss-multiplatform:rtl into master 2023-01-29 12:55:29 +00:00
Contributor

Types of changes

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • This is NOT translation related.

Improved the layout for phones using right to left languages.
Some pages were previously completely unusable.

## Types of changes - [x] I have read the **CONTRIBUTING** document. - [x] My code follows the code style of this project. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [x] All new and existing tests passed. - [x] This is **NOT** translation related. Improved the layout for phones using right to left languages. Some pages were previously completely unusable.
davidoskky added 5 commits 2023-01-28 16:43:25 +00:00
Adapted the layout for LTR, in LTR the title is always aligned on the right while the error depends on the language. Gave more prominence to the title text and set the error to italic.
Clean up fragments layout
All checks were successful
continuous-integration/drone/pr Build is passing
45e4215a6b
AmineL reviewed 2023-01-28 19:21:38 +00:00
@ -37,2 +35,3 @@
android:visibility="gone" />
<ScrollView
<LinearLayout
Owner

Why did you remove the scroll view ?

Why did you remove the scroll view ?
Author
Contributor

The layout is quite small, it doesn't appear to require scrolling on any kind of device.

The layout is quite small, it doesn't appear to require scrolling on any kind of device.
AmineL reviewed 2023-01-28 19:25:47 +00:00
@ -33,4 +27,0 @@
android:layout_height="match_parent"
android:layout_width="match_parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
Owner

Why was this line removed ?

Why was this line removed ?
Author
Contributor

It's implicit in match_parent dimension

It's implicit in match_parent dimension
AmineL reviewed 2023-01-28 19:25:57 +00:00
@ -35,4 +27,0 @@
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
Owner

Why was this line removed ?

Why was this line removed ?
Author
Contributor

It's implicit in match_parent dimension

It's implicit in match_parent dimension
AmineL merged commit ee064f3cb4 into master 2023-01-29 12:55:28 +00:00
davidoskky deleted branch rtl 2023-01-29 13:02:18 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Louvorg/ReaderForSelfoss-multiplatform#130
No description provided.