development
修订版 | b79c8d0583f84b185d0bd2a47d41a25aaee469b8 (tree) |
---|---|
时间 | 2011-06-16 02:57:44 |
作者 | Anirudh Dewani <anirudhd@goog...> |
Commiter | Android (Google) Code Review |
Merge "Adding resizeMode to widget samples." into honeycomb-mr2
@@ -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> |