diff options
| author | Lena <lena@omega> | 2026-08-16 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-08-16 00:00:00 +0000 |
| commit | 0e8a87f2ad2bd40d34996374aebb6dff070e4b5f (patch) | |
| tree | 0d233593ac24181b58fea9c4a68d58ef070482f6 /app/src/main/res/layout/activity_picker.xml | |
| parent | beaa0c970d6c3538119b8a34a3f2f754b45e54cf (diff) | |
| download | rsend-0e8a87f2ad2bd40d34996374aebb6dff070e4b5f.tar.gz | |
app: harden backup execution
Validate persisted state and destination boundaries, make interruption
and mirror deletion explicit, and keep scheduled work singular.
Diffstat (limited to 'app/src/main/res/layout/activity_picker.xml')
| -rw-r--r-- | app/src/main/res/layout/activity_picker.xml | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/app/src/main/res/layout/activity_picker.xml b/app/src/main/res/layout/activity_picker.xml index db4a044..39d8d94 100644 --- a/app/src/main/res/layout/activity_picker.xml +++ b/app/src/main/res/layout/activity_picker.xml @@ -7,11 +7,10 @@ <include layout="@layout/app_toolbar" /> - <LinearLayout + <RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" - android:orientation="vertical" android:padding="@dimen/space_m"> <TextView @@ -19,43 +18,47 @@ style="@style/Widget.Rsend.Card" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_alignParentTop="true" android:textAppearance="@style/TextAppearance.Rsend.Mono" android:textSize="12sp" /> - <ScrollView - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1"> - - <LinearLayout - android:id="@+id/list" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" /> - </ScrollView> - <LinearLayout + android:id="@+id/pickerActions" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal" - android:layout_marginTop="@dimen/space_m"> + android:layout_alignParentBottom="true" + android:layout_marginTop="@dimen/space_m" + android:orientation="horizontal"> <Button - android:id="@+id/use" - style="@style/Widget.Rsend.Button.Primary" + android:id="@+id/cancel" + style="@style/Widget.Rsend.Button.Secondary" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_weight="1" android:layout_marginEnd="@dimen/space_s" - android:text="Use this folder" /> + android:layout_weight="1" + android:text="Cancel" /> <Button - android:id="@+id/cancel" - style="@style/Widget.Rsend.Button.Secondary" + android:id="@+id/use" + style="@style/Widget.Rsend.Button.Primary" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:text="Cancel" /> + android:text="Use this folder" /> </LinearLayout> - </LinearLayout> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_above="@id/pickerActions" + android:layout_below="@id/currentPath"> + + <LinearLayout + android:id="@+id/list" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" /> + </ScrollView> + </RelativeLayout> </LinearLayout> |