egads, the post edit box uses a non mono-spaced font, but when it
appears, it's just mono-spaced -- easy wysiwig solution - use notepad
to create your posts.  egads.

if i want a toggle button that looks like this:

+=====+=====+
| On  |     |
+=====+=====+

+=====+=====+
|     | Off |
+=====+=====+

where the empty space goes from right to left (and vice versa) when
you click on it -- revealing some text, what's the easiest way to do
that?  I imagine I could do it with a LinearLayout and a bunch of
ImageView objects and handle the image in code, but that just seems
really gross....

a variation on this would be like this:
+=====+=====+
| On  | Off |
+=====+=====+

and a different background image on the one that's selected.

tia.

On Sep 10, 11:20 am, sdphil <[email protected]> wrote:
> if i want a toggle button that looks like this:
>
> +=====+=====+
> |    On    |           |
> +=====+=====+
>
> +=====+=====+
> |            |   Off    |
> +=====+=====+
>
> where the empty space goes from right to left (and vice versa) when
> you click on it -- revealing some text, what's the easiest way to do
> that?  I imagine I could do it with a LinearLayout and a bunch of
> ImageView objects and handle the image in code, but that just seems
> really gross....
>
> a variation on this would be like this:
> +=====+=====+
> |    On    |   Off    |
> +=====+=====+
>
> and a different background image on the one that's selected.
>
> tia.
>
> (I bet this does not come out aligned and the ascii-art images look
> awful -- must be a wysiwyg way to do this...)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to