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-07-14 18:48:31 +0300
committerDaniel Schaal <daniel@schaal.email>2015-07-19 10:14:48 +0300
commitd2da52686b485ae73085d350a260b4ddbad26c1c (patch)
treee4d548ce428334c695cf618547449a3782db96dc /News-Android-App/src/main/res/drawable
parent2d92094dad79b02cae9ca6e02be6decc785826a5 (diff)
Extract play pause button in separate layout
Use drawable for play/pause button
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, 18 insertions, 0 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
new file mode 100644
index 00000000..ce6537c9
--- /dev/null
+++ b/News-Android-App/src/main/res/drawable/newsreader_playpause.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_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
new file mode 100644
index 00000000..a9104c9e
--- /dev/null
+++ b/News-Android-App/src/main/res/drawable/newsreader_playpause_light.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_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