diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/episodes_apply_action_fragment.xml | 20 |
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> |