Just use the app icon rather than a text message for the disconnected widget
This commit is contained in:
parent
a222d6fa62
commit
6b035ef230
BIN
res/drawable/icon_selected.png
Executable file
BIN
res/drawable/icon_selected.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
10
res/drawable/icon_variable.xml
Normal file
10
res/drawable/icon_variable.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?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/icon_selected" />
|
||||
<item
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/icon_selected" />
|
||||
<item android:drawable="@drawable/icon" />
|
||||
</selector>
|
@ -1,10 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView
|
||||
<ImageButton
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/stopped_text"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:background="#000"
|
||||
android:textColor="#fff"
|
||||
android:text="@string/widget_start_service" />
|
||||
android:background="@null"
|
||||
android:src="@drawable/icon_variable" />
|
Loading…
x
Reference in New Issue
Block a user