Skip to content

Commit

Permalink
Move margin from inner LinearLayout to ScrollView to fix cut-off content
Browse files Browse the repository at this point in the history
It affects Password and Manual add activities.
  • Loading branch information
joggee-fr committed Jun 25, 2024
1 parent a36f44b commit 0b1cd58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mobile/src/main/res/layout/activity_manual_add.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<ScrollView
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_margin="@dimen/margin"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin"
android:orientation="vertical"
>
<EditText
Expand Down
5 changes: 2 additions & 3 deletions mobile/src/main/res/layout/activity_password.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@
<ScrollView
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_margin="@dimen/margin"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_margin="@dimen/margin">
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:text="@string/password_info"
android:id="@+id/info"

android:layout_height="wrap_content"
android:layout_width="match_parent"
/>
Expand Down

0 comments on commit 0b1cd58

Please sign in to comment.