Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schaal <daniel@schaal.email>2015-08-11 20:23:29 +0300
committerDaniel Schaal <daniel@schaal.email>2015-08-18 16:44:14 +0300
commit18adf015ab1f0b423c015e52fe1786bc401ae906 (patch)
tree86a174161451c477ff28ac5ad68f2a77baaaf399 /News-Android-App/src/main/res/drawable
parentb4d27c5d7c520ac63ede2035b812d004f7965cfc (diff)
Use Drawables and tint for play/pause instead of Drawable states.
Using states is unreliable, e.g. when scrolling the ViewHolder out of view and then back sometimes the wrong Drawable is shown.
Diffstat (limited to 'News-Android-App/src/main/res/drawable')
-rw-r--r--News-Android-App/src/main/res/drawable/newsreader_playpause.xml9
-rw-r--r--News-Android-App/src/main/res/drawable/newsreader_playpause_light.xml9
2 files changed, 0 insertions, 18 deletions
diff --git a/News-Android-App/src/main/res/drawable/newsreader_playpause.xml b/News-Android-App/src/main/res/drawable/newsreader_playpause.xml
deleted file mode 100644
index ce6537c9..00000000
--- a/News-Android-App/src/main/res/drawable/newsreader_playpause.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_active="true">
- <bitmap android:src="@drawable/ic_action_pause_dark" />
- </item>
- <item>
- <bitmap android:src="@drawable/ic_action_play_arrow_dark" />
- </item>
-</selector> \ No newline at end of file
diff --git a/News-Android-App/src/main/res/drawable/newsreader_playpause_light.xml b/News-Android-App/src/main/res/drawable/newsreader_playpause_light.xml
deleted file mode 100644
index a9104c9e..00000000
--- a/News-Android-App/src/main/res/drawable/newsreader_playpause_light.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_active="true">
- <bitmap android:src="@drawable/ic_action_pause" />
- </item>
- <item>
- <bitmap android:src="@drawable/ic_action_play_arrow" />
- </item>
-</selector> \ No newline at end of file