I don't know what you are trying to do, but if it's just simple layout
stuff you may be making life more difficult for yourself than
necessary. Try one of these things instead:
a: use a textView and set it's background property (either to a color
#argb or to a drawable). This has limitations,
Kent is right, the easy way is with TextView, but if you want the
flexibility of placing your text and rectangle anywhere (like with a
bouncing text+rectangle on the screen), then the Canvas class has
drawText() and drawRect().
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views,
2 matches
Mail list logo