开发者

How to add an Android widget to my app?

开发者 https://www.devze.com 2023-01-07 18:00 出处:网络
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

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

精彩评论

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