开发者

How to add an Android widget to my app?

I want to put the Android's Analog Clock开发者_如何学JAVA in my app, is there a way?

--update

Studying android developers page. It says that

"App Widgets are miniature application views that can be embedded in other applications (such as the Home screen)"

so, looks like there is a way.

--update

Still nothing, read all details of the above page, but found nothing about how to add a widget to my app.


the closest will be adding the analog clock widget to your app

<AnalogClock android:id="@+id/AnalogClock01" 
android:layout_height="wrap_content" 
android:layout_width="wrap_content"></AnalogClock>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜