开发者

How can I attach a clock or a calendar to my application?

I would like to know how i can attach the Android clock or calendar into my application.

That is when my application comes up one part of the view will be reserved for this a开发者_开发技巧pplication.

Please guide me.

Thanks,

Sen


Check out this guide for what you can and can't add, the top one is an AnalogClock

http://www.droiddraw.org/widgetguide.html

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

Some are a little old so double check on android.dev if you want to see the api


I would like to know how i can attach the Android clock or calendar into my application.

Use AnalogClock or DigitalClock for the clock. There is no calendar in the Android OS.

That is when my application comes up one part of the view will be reserved for this application.

You cannot embed another application in yours -- sorry!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜