1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <appwidget-provider xmlns:
android=
"http://schemas.android.com/apk/res/android"
3 android:
minWidth=
"${-30 + 70 * minWidth?number}dp"
4 android:
minHeight=
"${-30 + 70 * minHeight?number}dp"
5 android:
updatePeriodMillis=
"86400000"
6 android:
previewImage=
"@drawable/example_appwidget_preview"
7 android:
initialLayout=
"@layout/${class_name}"
9 android:
configure=
"${packageName}.${className}ConfigureActivity"
11 <#if resizable='both'
>
12 android:
resizeMode=
"horizontal|vertical"
13 <#elseif resizable='horizontal'
>
14 android:
resizeMode=
"horizontal"
15 <#elseif resizable='vertical'
>
16 android:
resizeMode=
"vertical"
17 <#elseif resizable='none'
>
19 <#if placement='both'
>
20 android:
widgetCategory=
"home_screen|keyguard"
21 <#elseif placement='homescreen'
>
22 android:
widgetCategory=
"home_screen"
23 <#elseif placement='keyguard'
>
24 android:
widgetCategory=
"keyguard"
26 android:
initialKeyguardLayout=
"@layout/${class_name}">