summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/episodes_apply_action_fragment.xml
diff options
context:
space:
mode:
authororionlee <orionlee@yahoo.com>2019-04-04 15:30:00 -0700
committerorionlee <orionlee@yahoo.com>2019-04-06 11:12:34 -0700
commit46f7805a963f0d89cb1443105529d6cc804f2513 (patch)
tree4caa8b4547c5eca3e700af22d84346b40bf84791 /app/src/main/res/layout/episodes_apply_action_fragment.xml
parentb3fbf0b4aa6a7b51238f446f34f38a792ec81868 (diff)
downloadAntennaPod-46f7805a963f0d89cb1443105529d6cc804f2513.zip
refactor - bulk edit UI - make fab clickable on Pre-Lollipop devices without custom codes.
Diffstat (limited to 'app/src/main/res/layout/episodes_apply_action_fragment.xml')
-rw-r--r--app/src/main/res/layout/episodes_apply_action_fragment.xml20
1 files changed, 13 insertions, 7 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 4ac9e25cf..9693d44d4 100644
--- a/app/src/main/res/layout/episodes_apply_action_fragment.xml
+++ b/app/src/main/res/layout/episodes_apply_action_fragment.xml
@@ -4,11 +4,24 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_marginTop="0dp" />
<com.leinardi.android.speeddial.SpeedDialOverlayLayout
android:id="@+id/fabSDOverlay"
android:layout_width="match_parent"
android:layout_height="match_parent" />
+ <!-- The FAB SpeedDial
+ 1. MUST be placed at the bottom of the layout xml to ensure it is at the front,
+ clickable on Pre-Lollipop devices (that do not support elevation).
+ See: https://stackoverflow.com/a/2614402
+ 2. ScrollView is needed to ensure the vertical list of speed dials are
+ accessible when screen height is small, eg., landscape mode on most phones.
+ -->
<ScrollView
android:id="@+id/fabSDScrollCtr"
android:layout_width="wrap_content"
@@ -37,11 +50,4 @@
/>
</ScrollView>
- <ListView
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_marginTop="0dp" />
-
</RelativeLayout>