Widget: transparent background
This commit is contained in:
parent
4bf3879377
commit
1d2ecb257c
2 changed files with 7 additions and 0 deletions
6
app/src/main/res/drawable-nodpi/widget_background.xml
Normal file
6
app/src/main/res/drawable-nodpi/widget_background.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<solid android:color="#11000000" />
|
||||||
|
|
||||||
|
<corners android:radius="16dp" />
|
||||||
|
</shape>
|
|
@ -5,6 +5,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
android:background="@drawable/widget_background"
|
||||||
android:theme="@style/AppTheme.Launcher.AppWidgetContainer">
|
android:theme="@style/AppTheme.Launcher.AppWidgetContainer">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
Loading…
Reference in a new issue