Search code examples
androidlayoutthemessystem

How to use inbuilt icons and template?


I'm trying to make a list that looks exactly like Sound setting in 2.3.4 as in this screenshot: example

  1. The problem is that I tried using TableRow and ended up like this:

    ------------------------------------------
    Vibration                                >
    ------------------------------------------
    Only when not in Silent Mode
    ------------------------------------------
    

    instead of one large row as in the screenshot. What did I do wrong?

  2. These inbuilt icons are nice (such as the ">" icon) - couldn't find on Google Image so I guess these icons are "inbuilt" in the Android OS. Is there any document we can refer about this? I'd like to use system text colours/background colours and these icons but don't know how to implement in the code.


Solution

  • it is Listview but it is customizable you have to make xml file which display this tow Textview and icon(in your words).

    These inbuilt icons are nice (such as the ">" icon) - couldn't find on Google Image so I guess these icons are "inbuilt"

    This is not a inbuilt icons but this is just image that set customarily.

    Here are some links:

    1. Official Developer Community
    2. fentastic Sai geetha blog
    3. josecgomez.com