summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authororionlee <orionlee@yahoo.com>2019-04-02 13:59:54 -0700
committerorionlee <orionlee@yahoo.com>2019-04-02 13:59:54 -0700
commitacbb1cf5e296f32b528856a88d36d7ff736daf75 (patch)
tree1f4349a29d1f7d081bf983efffb7d0cc504f3438 /app/src
parent9925830fffe5226e0de1d5531d67fa175c4fbe0f (diff)
downloadAntennaPod-acbb1cf5e296f32b528856a88d36d7ff736daf75.zip
document android:elevation API compatibility
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/episodes_apply_action_fragment.xml10
1 files changed, 9 insertions, 1 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 bd6de847c..4ac9e25cf 100644
--- a/app/src/main/res/layout/episodes_apply_action_fragment.xml
+++ b/app/src/main/res/layout/episodes_apply_action_fragment.xml
@@ -1,5 +1,6 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -16,7 +17,14 @@
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
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 -->
+ tools:ignore="UnusedAttribute">
+ <!-- android:elevation:
+ 1. Needs to match the speed dial's minimal elevation,
+ or the speed dial can't be clicked at all
+ 2. It is honored for API >= 21, but it does not hurt to be added here.
+ Use tools:ignore to suppress warnings.
+ Otherwise, we need a custom layout for API >= 21 that is more difficult to maintain.
+ -->
<com.leinardi.android.speeddial.SpeedDialView
android:id="@+id/fabSD"
android:layout_width="match_parent"