开发者

Writing to an ImageView in code with Droid

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

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

精彩评论

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