diff options
author | ByteHamster <info@bytehamster.com> | 2019-08-31 01:09:19 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-08-31 01:10:44 +0200 |
commit | be6c8c70b4327e972a01d69ece742e5f1a6f6da4 (patch) | |
tree | b6b7b497c301ba09c920b15053067e4f12c59d6f /core | |
parent | b147b3c07a4a7eea9fe1111c3e91e965dc05251f (diff) | |
download | AntennaPod-be6c8c70b4327e972a01d69ece742e5f1a6f6da4.zip |
Added fast scroll to episodes fragment
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/res/drawable/line.xml | 12 | ||||
-rw-r--r-- | core/src/main/res/drawable/line_drawable.xml | 9 | ||||
-rw-r--r-- | core/src/main/res/drawable/thumb.xml | 11 | ||||
-rw-r--r-- | core/src/main/res/drawable/thumb_drawable.xml | 9 |
4 files changed, 41 insertions, 0 deletions
diff --git a/core/src/main/res/drawable/line.xml b/core/src/main/res/drawable/line.xml new file mode 100644 index 000000000..1d5362840 --- /dev/null +++ b/core/src/main/res/drawable/line.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <solid android:color="#33666666"/> + + <padding + android:top="10dp" + android:left="10dp" + android:right="10dp" + android:bottom="10dp"/> +</shape> diff --git a/core/src/main/res/drawable/line_drawable.xml b/core/src/main/res/drawable/line_drawable.xml new file mode 100644 index 000000000..503179b12 --- /dev/null +++ b/core/src/main/res/drawable/line_drawable.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:state_pressed="true" + android:drawable="@drawable/line"/> + + <item + android:drawable="@drawable/line"/> +</selector> diff --git a/core/src/main/res/drawable/thumb.xml b/core/src/main/res/drawable/thumb.xml new file mode 100644 index 000000000..0416c8be9 --- /dev/null +++ b/core/src/main/res/drawable/thumb.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <padding + android:paddingLeft="22dp" + android:paddingRight="22dp" /> + + <solid android:color="#99666666" /> + +</shape> diff --git a/core/src/main/res/drawable/thumb_drawable.xml b/core/src/main/res/drawable/thumb_drawable.xml new file mode 100644 index 000000000..37e7c4896 --- /dev/null +++ b/core/src/main/res/drawable/thumb_drawable.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:state_pressed="true" + android:drawable="@drawable/thumb"/> + + <item + android:drawable="@drawable/thumb"/> +</selector> |