• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修订版cd5e69361dd0eaed477182cb9789f3fd45e5e764 (tree)
时间2011-06-10 20:16:40
作者Anirudh Dewani <anirudhd@goog...>
CommiterAnirudh Dewani

Log Message

Adding resizeMode to widget samples.

Change-Id: I60e43f4f2f3726f7b268f532f2da86913df72982

更改概述

差异

--- a/samples/ApiDemos/res/xml/appwidget_provider.xml
+++ b/samples/ApiDemos/res/xml/appwidget_provider.xml
@@ -20,6 +20,7 @@
2020 android:updatePeriodMillis="86400000"
2121 android:initialLayout="@layout/appwidget_provider"
2222 android:configure="com.example.android.apis.appwidget.ExampleAppWidgetConfigure"
23+ android:resizeMode="horizontal"
2324 >
2425 </appwidget-provider>
2526
--- a/samples/StackWidget/res/xml/stackwidgetinfo.xml
+++ b/samples/StackWidget/res/xml/stackwidgetinfo.xml
@@ -20,5 +20,6 @@
2020 android:updatePeriodMillis="3600000"
2121 android:previewImage="@drawable/preview"
2222 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>