Well, alrighty then...
I have cases where graphics coincide with other widgets...
Perhaps the idea you need is to add a ImageView widget to your
main.xml. Then you can grab it's R.id.blah and draw into it.
I use a RELATIVE LAYOUT as the base and I have a static ICON like
thingy in the upper
You can (easily?) create a simple main.xml layout file that contains,
say, a LINEAR LAYOUT with the buttons...
Then in your programming call the SetContextView(R.layout.main) and
you WILL have an R.id.BUTTON#1 to use.
You may have to call the super(canvas) in the override of onDraw() to
ensure
Hi Tony. Thanks for replying. Seems like what happens is: I make the
GraphicsView view that extends view, and the first thing one has to do
in graphics mode is drawPaint, which clears the whole screen,
including the buttons which had been drawn in the startup Textview. So
Someone needs to point me
Can't you add BUTTONs to whatever main layout your invoking?
On Apr 14, 12:16 pm, BobG bobgard...@aol.com wrote:
I have a little app that reads the accelerometer and draws a vector in
graphics. Seems to be working ok, but I'd like to have a pair of
buttons 'up' and 'dn' underneath it to inc
4 matches
Mail list logo