aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-11-09 17:29:17 -0800
committerScott Jackson <daneren2005@gmail.com>2015-11-09 17:29:17 -0800
commitae77659307ef8b9dfadf2eb3dae0e406ddae7903 (patch)
treeeea511112b00ec02de3aeefb95cd2f04630ebec5 /app/src
parent2fa4595ea11e60df6699654e8656b11adf604847 (diff)
downloaddsub-ae77659307ef8b9dfadf2eb3dae0e406ddae7903.tar.gz
dsub-ae77659307ef8b9dfadf2eb3dae0e406ddae7903.tar.bz2
dsub-ae77659307ef8b9dfadf2eb3dae0e406ddae7903.zip
#49 Add scrolling to widgets title's
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/appwidget4x1.xml11
-rw-r--r--app/src/main/res/layout/appwidget4x2.xml11
-rw-r--r--app/src/main/res/layout/appwidget4x3.xml11
-rw-r--r--app/src/main/res/layout/appwidget4x4.xml11
4 files changed, 40 insertions, 4 deletions
diff --git a/app/src/main/res/layout/appwidget4x1.xml b/app/src/main/res/layout/appwidget4x1.xml
index 5e306847..5f2536d8 100644
--- a/app/src/main/res/layout/appwidget4x1.xml
+++ b/app/src/main/res/layout/appwidget4x1.xml
@@ -48,7 +48,16 @@
android:text="Title"
android:textColor="@color/appwidget_text"
android:textSize="16sp"
- android:textStyle="bold"/>
+ android:textStyle="bold"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:scrollHorizontally="true"
+ android:marqueeRepeatLimit="marquee_forever">
+
+ <requestFocus android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:duplicateParentState="true" />
+ </TextView>
<TextView
android:id="@+id/artist"
diff --git a/app/src/main/res/layout/appwidget4x2.xml b/app/src/main/res/layout/appwidget4x2.xml
index 9d94a3c6..ae613534 100644
--- a/app/src/main/res/layout/appwidget4x2.xml
+++ b/app/src/main/res/layout/appwidget4x2.xml
@@ -51,7 +51,16 @@
android:text="Title"
android:textColor="@color/appwidget_text"
android:textSize="16sp"
- android:textStyle="bold" />
+ android:textStyle="bold"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:scrollHorizontally="true"
+ android:marqueeRepeatLimit="marquee_forever">
+
+ <requestFocus android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:duplicateParentState="true" />
+ </TextView>
<TextView
android:id="@+id/artist"
diff --git a/app/src/main/res/layout/appwidget4x3.xml b/app/src/main/res/layout/appwidget4x3.xml
index 989e9e3e..0ffb9d4f 100644
--- a/app/src/main/res/layout/appwidget4x3.xml
+++ b/app/src/main/res/layout/appwidget4x3.xml
@@ -52,7 +52,16 @@
android:text="Title"
android:layout_gravity="center_horizontal"
android:gravity="center"
- android:textStyle="bold" />
+ android:textStyle="bold"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:scrollHorizontally="true"
+ android:marqueeRepeatLimit="marquee_forever">
+
+ <requestFocus android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:duplicateParentState="true" />
+ </TextView>
<TextView
android:id="@+id/artist"
diff --git a/app/src/main/res/layout/appwidget4x4.xml b/app/src/main/res/layout/appwidget4x4.xml
index 96dceebb..d0668c28 100644
--- a/app/src/main/res/layout/appwidget4x4.xml
+++ b/app/src/main/res/layout/appwidget4x4.xml
@@ -53,7 +53,16 @@
android:text="Title"
android:layout_gravity="center_horizontal"
android:gravity="center"
- android:textStyle="bold" />
+ android:textStyle="bold"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:scrollHorizontally="true"
+ android:marqueeRepeatLimit="marquee_forever">
+
+ <requestFocus android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:duplicateParentState="true" />
+ </TextView>
<TextView
android:id="@+id/artist"