if you want a traditional dialog-box look, then another option would
be to implement the built in Dialog Theme on your Activity containing
the ListView. also, you can override the standard Dialog Theme and
make changes to the background colour, fonts etc.
theres a short-and-sweet example on how to do this in the Android
Documentation under the section on User Interfaces => Applying Styles
and Themes. apart from the Dialog Theme you also have a Translucent
Theme. however, based on discussion forums, it seems that the
Translucent Theme cant be overridden and customized.



On Jun 9, 12:31 am, mastix mc <[email protected]> wrote:
> Hi Mark,
>
> I haven't tried it yet, but I guess I can say that you're my hero! :)
>
> thank you very much!
>
> Thanks,
>
> Sascha
>
> On 8 Jun., 20:19, Mark Murphy <[email protected]> wrote:
>
> > mastix mc wrote:
> > > thanks for that hint. :)
>
> > Well, you only asked if it was possible, not how to actually *do* it... ;-)
>
> > > Do you have a demo/example/documentation that shows me what I have to
> > > do?
>
> > 1. Create a layout for your rows. Make sure your containers
> > (LinearLayout, etc.) have android:background set with an appropriate
> > transparency (e.g., "#80FF0000" is red with 50% transparency).
>
> > 2. Specify that layout when you create your adapter. This could be as
> > simply as providing the layout ID in the adapter constructor, all the
> > way to implementing getView() (or newView()/bindView() for
> > CursorAdapter), depending on what you want to do with your rows.
>
> > For the getView() scenario, visit:
>
> >http://wiki.andmob.org/samplecode
>
> > where you will find links to the half-dozen or so blog posts I made
> > under the Fancy ListViews series.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to