Remove hardcoded text

This commit is contained in:
Andrew Rabert 2017-03-05 13:07:05 -05:00
parent 6c5929db20
commit cff384d311
5 changed files with 12 additions and 9 deletions

View File

@ -45,7 +45,7 @@
android:paddingTop="4dip" android:paddingTop="4dip"
android:maxLines="1" android:maxLines="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="Title" android:text="@string/widget.title"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" android:textStyle="bold"
@ -71,7 +71,7 @@
android:paddingRight="4dip" android:paddingRight="4dip"
android:maxLines="1" android:maxLines="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="Artist" android:text="@string/widget.artist"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="12sp" /> android:textSize="12sp" />
</LinearLayout> </LinearLayout>

View File

@ -48,7 +48,7 @@
android:paddingBottom="2dip" android:paddingBottom="2dip"
android:maxLines="1" android:maxLines="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="Title" android:text="@string/widget.title"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" android:textStyle="bold"
@ -75,7 +75,7 @@
android:paddingBottom="2dip" android:paddingBottom="2dip"
android:maxLines="1" android:maxLines="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="Artist" android:text="@string/widget.artist"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="12sp" /> android:textSize="12sp" />
@ -92,7 +92,7 @@
android:paddingRight="4dip" android:paddingRight="4dip"
android:maxLines="1" android:maxLines="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="Album" android:text="@string/widget.album"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="12sp" /> android:textSize="12sp" />

View File

@ -49,7 +49,7 @@
android:maxLines="1" android:maxLines="1"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="16sp" android:textSize="16sp"
android:text="Title" android:text="@string/widget.title"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center" android:gravity="center"
android:textStyle="bold" android:textStyle="bold"
@ -74,7 +74,7 @@
android:paddingBottom="2dip" android:paddingBottom="2dip"
android:paddingLeft="5dip" android:paddingLeft="5dip"
android:maxLines="1" android:maxLines="1"
android:text="Artist" android:text="@string/widget.artist"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center" android:gravity="center"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"

View File

@ -50,7 +50,7 @@
android:maxLines="1" android:maxLines="1"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"
android:textSize="16sp" android:textSize="16sp"
android:text="Title" android:text="@string/widget.title"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center" android:gravity="center"
android:textStyle="bold" android:textStyle="bold"
@ -75,7 +75,7 @@
android:paddingBottom="2dip" android:paddingBottom="2dip"
android:paddingLeft="5dip" android:paddingLeft="5dip"
android:maxLines="1" android:maxLines="1"
android:text="Artist" android:text="@string/widget.artist"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center" android:gravity="center"
android:textColor="@color/appwidget_text" android:textColor="@color/appwidget_text"

View File

@ -294,6 +294,9 @@
<string name="widget.initial_text">Touch to select music</string> <string name="widget.initial_text">Touch to select music</string>
<string name="widget.sdcard_busy">SD card unavailable</string> <string name="widget.sdcard_busy">SD card unavailable</string>
<string name="widget.sdcard_missing">No SD card</string> <string name="widget.sdcard_missing">No SD card</string>
<string name="widget.title">Title</string>
<string name="widget.artist">Artist</string>
<string name="widget.album">Album</string>
<string name="util.bytes_format.gigabyte">0.00 GB</string> <string name="util.bytes_format.gigabyte">0.00 GB</string>
<string name="util.bytes_format.megabyte">0.00 MB</string> <string name="util.bytes_format.megabyte">0.00 MB</string>