station_widget_content.xml: Replace background PNGs wuth XML drawable.

This commit is contained in:
Andreas Schildbach 2019-11-25 00:58:02 +01:00
parent 6b32f3e1d9
commit 18d45fe36d
9 changed files with 9 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 798 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,005 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="4dp" />
<solid android:color="#ff202020" />
</shape>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/appwidget_dark_bg_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/appwidget_dark_bg_focused" android:state_enabled="true" android:state_focused="true" android:state_window_focused="true"/>
<item android:drawable="@drawable/appwidget_dark_bg"/>
</selector>

View file

@ -3,7 +3,7 @@
android:id="@+id/station_widget_content" android:id="@+id/station_widget_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_dark_bg_clickable" android:background="@drawable/appwidget_background"
android:focusable="true" android:focusable="true"
android:orientation="vertical" > android:orientation="vertical" >