CustomChoiceList
    UI
    com.example.android.customchoicelist
    
    14
    
        
            
        
    
    
    
    
        PUBLISHED
        Widgets
        Android
        Java
        Mobile
        BEGINNER
        screenshots/icon-web.png
        
            
screenshots/1-main.png
            
screenshots/2-settings.png
        
        
            android.widget.Checkable
            android.widget.ListView
        
        
        
        
        
```
The framework provides these default list item layouts that show standard radio buttons or check boxes next to a single
line of text:
- android.R.layout.simple_list_item_single_choice
- android.R.layout.simple_list_item_multiple_choice.
In some cases, you may want to customize this layout. When doing so, the root view must implement the Checkable
interface. For an example, see this sample's `CheckableLinearLayout` class.
Lastly, remember to use padding on your ListViews to adhere to the standard metrics described in the Android Design
guidelines. When doing so, you should set the `android:scrollbarStyle` attribute such that the scrollbar doesn't inset.
[1]: http://developer.android.com/reference/android/widget/ListView.html
]]>