mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 18:38:48 +00:00
station_widget_content.xml: Replace background PNGs wuth XML drawable.
This commit is contained in:
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 |
8
oeffi/res/drawable/appwidget_background.xml
Normal file
8
oeffi/res/drawable/appwidget_background.xml
Normal 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>
|
|
@ -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>
|
|
|
@ -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" >
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue