inital commit of a working example of a widget
This commit is contained in:
14
HelloWidget/res/xml/hello_widget_provider.xml
Normal file
14
HelloWidget/res/xml/hello_widget_provider.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
AppWidget default settings:
|
||||
- setting width and hight
|
||||
- setting update periode to 1 second
|
||||
- setting the initialLayout to layout/widget_text.xml
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:minWidth="146dip"
|
||||
android:minHeight="72dip"
|
||||
android:updatePeriodMillis="10000"
|
||||
android:initialLayout="@layout/main"
|
||||
/>
|
||||
Reference in New Issue
Block a user