diff options
author | ByteHamster <info@bytehamster.com> | 2022-05-07 11:10:00 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-05-07 20:45:47 +0200 |
commit | 02197e31b3822d2420a654c03058a62d3b5820db (patch) | |
tree | 9e6598e6261b11dd9d32088d88bb2cca7dd5d56e /app/src/main/res/layout | |
parent | 77ced35dff5b9d398575913e7b751ce2d53f7c6e (diff) | |
download | AntennaPod-02197e31b3822d2420a654c03058a62d3b5820db.zip |
Convert share dialog to bottom sheet
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/share_episode_dialog.xml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/app/src/main/res/layout/share_episode_dialog.xml b/app/src/main/res/layout/share_episode_dialog.xml index f03899671..9d0a2f38d 100644 --- a/app/src/main/res/layout/share_episode_dialog.xml +++ b/app/src/main/res/layout/share_episode_dialog.xml @@ -7,6 +7,13 @@ android:gravity="center" android:padding="16dp"> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/share_label" + android:layout_marginBottom="8dp" + style="@style/AntennaPod.TextView.Heading" /> + <RadioGroup android:id="@+id/share_dialog_radio_group" android:layout_width="match_parent" @@ -38,7 +45,7 @@ android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginVertical="8dp" - android:background="?android:attr/listDivider" /> + android:background="?attr/background_elevated" /> <CheckBox android:id="@+id/share_position_checkbox" @@ -46,4 +53,12 @@ android:layout_height="wrap_content" android:text="@string/share_playback_position_dialog_label" /> + <Button + android:id="@+id/shareButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end" + android:text="@string/share_label" + style="@style/Widget.MaterialComponents.Button.TextButton" /> + </LinearLayout> |