开发者

Writing to an ImageView in code with Droid

How do I go about writing text to an ImageView in a c开发者_运维技巧lass?

SO, if I am in the main class, using an Intent, I have this:

setContentView(R.layout.result); if (currentHour > 8 && currentHour < 22) { //Write formatted text into a textbox in the ImageView

Is there a simple line of code for that?

Thanks!


just read this and you will get your answer ... http://developer.android.com/resources/articles/layout-tricks-merge.html...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜