diff options
author | orionlee <orionlee@yahoo.com> | 2019-03-20 11:44:30 -0700 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-04-02 11:47:57 -0700 |
commit | f7fa0836eae071502b0a2b0157b9ec80425dce81 (patch) | |
tree | bc468d26ad71570de8d206e8f975d6a2359a9849 /app/src | |
parent | 737f7571abff032ab914d7b59e68f7851f52d664 (diff) | |
download | AntennaPod-f7fa0836eae071502b0a2b0157b9ec80425dce81.zip |
make speed dials scrollable, so that they work in landscape / split window mode.
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/res/layout/episodes_apply_action_fragment.xml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/app/src/main/res/layout/episodes_apply_action_fragment.xml b/app/src/main/res/layout/episodes_apply_action_fragment.xml index 1bbe7e61f..7e338a6ff 100644 --- a/app/src/main/res/layout/episodes_apply_action_fragment.xml +++ b/app/src/main/res/layout/episodes_apply_action_fragment.xml @@ -103,19 +103,25 @@ android:id="@+id/fabSDOverlay" android:layout_width="match_parent" android:layout_height="match_parent" /> - <com.leinardi.android.speeddial.SpeedDialView - android:id="@+id/fabSD" + <ScrollView android:layout_width="wrap_content" android:layout_height="wrap_content" - app:sdMainFabClosedSrc="@drawable/ic_fab_edit" - app:sdOverlayLayout="@id/fabSDOverlay" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" - android:layout_marginEnd="16dp" - android:layout_marginRight="16dp" - android:layout_marginBottom="16dp" - /> + android:elevation="@dimen/sd_close_elevation" + > <!-- needs to match the speed dial's minimal elevation, or the speed dial can't be clicked at all --> + <com.leinardi.android.speeddial.SpeedDialView + android:id="@+id/fabSD" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:sdMainFabClosedSrc="@drawable/ic_fab_edit" + app:sdOverlayLayout="@id/fabSDOverlay" + android:layout_marginEnd="16dp" + android:layout_marginRight="16dp" + android:layout_marginBottom="16dp" + /> + </ScrollView> <View android:visibility="gone" android:id="@+id/divider" |