Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom AlertDialog list layouts

I have been working with custom AlertDialog selections for the last few days and stumbled upon android.R.layout.xxx layouts.

A good example would be this question. The android documentation is extremely skimpy on this...

What I haven't found though is just how to look up components of such layouts. I tried to open these layouts in Eclipse, but it says it can't and I haven't been able to find a site that would list these layouts.

So how do I find out what android.R.id's are in such a layout and what layout is good for what usage?

like image 372
velis Avatar asked Nov 28 '25 02:11

velis


1 Answers

You can check the list of layout files here:

https://github.com/android/platform_frameworks_base/tree/master/core/res/res/layout

Open up the file you're interested in to check which IDs are in each

like image 84
dymmeh Avatar answered Nov 30 '25 17:11

dymmeh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!