development
修訂 | cd5e69361dd0eaed477182cb9789f3fd45e5e764 (tree) |
---|---|
時間 | 2011-06-10 20:16:40 |
作者 | Anirudh Dewani <anirudhd@goog...> |
Commiter | Anirudh Dewani |
Adding resizeMode to widget samples.
Change-Id: I60e43f4f2f3726f7b268f532f2da86913df72982
@@ -20,6 +20,7 @@ | ||
20 | 20 | android:updatePeriodMillis="86400000" |
21 | 21 | android:initialLayout="@layout/appwidget_provider" |
22 | 22 | android:configure="com.example.android.apis.appwidget.ExampleAppWidgetConfigure" |
23 | + android:resizeMode="horizontal" | |
23 | 24 | > |
24 | 25 | </appwidget-provider> |
25 | 26 |
@@ -20,5 +20,6 @@ | ||
20 | 20 | android:updatePeriodMillis="3600000" |
21 | 21 | android:previewImage="@drawable/preview" |
22 | 22 | android:initialLayout="@layout/widget_layout" |
23 | - android:autoAdvanceViewId="@id/stack_view"> | |
24 | -</appwidget-provider> | |
\ No newline at end of file | ||
23 | + android:autoAdvanceViewId="@id/stack_view" | |
24 | + android:resizeMode="horizontal|vertical"> | |
25 | +</appwidget-provider> |