ListPreference how to create Multi-Choice?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

ListPreference how to create Multi-Choice?

Postby valid » Sun May 31, 2009 3:13 am

ListPreference default is Single-Choice, how to create Multi-Choice? help!

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <ListPreference android:key="xxx_key"
  2.  
  3.         android:title="@string/xxx_title"
  4.  
  5.         android:summary="@string/xxx_summary"
  6.  
  7.         android:entries="@array/xxx_choices"
  8.  
  9.         android:entryValues="@array/xxx_values"
  10.  
  11.         android:dialogTitle="@string/xxx_dialogtitle"
  12.  
  13.         android:defaultValue="@string/xxx" />
  14.  
  15.  
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
valid
Freshman
Freshman
 
Posts: 2
Joined: Wed May 20, 2009 3:24 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: theronmcclune and 8 guests