Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Well , <a href="http://blog.350nice.com/wp/archives/240">http://blog.350nice.com/wp/archives/240</a> does provide a solution , but a simpler solution would be just implementing a child preference screen inside the parent , and then the child preference screen can have multiple check boxes . I know , its not the best solution , but gets the job done . </p> <p>For eg - the Below preference.xml</p> <p></p> <pre><code>&lt;PreferenceCategory android:title="Regular messages" android:key="regular_messages"&gt; &lt;CheckBoxPreference android:key="enable_regular_messages" android:summary="Enable or disable regular messages" android:title="Send regular messages" android:defaultValue="true" /&gt; &lt;ListPreference android:key="send_interval" android:title="Send interval" android:summary="Define how often you want to send messages" android:defaultValue="60000" android:entries="@array/send_interval" android:entryValues="@array/send_interval_values" android:dependency="enable_regular_messages" /&gt; &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:title="Messages type" android:key="messages_type" android:summary="Select the type of messages to be sent" android:dependency="enable_regular_messages"&gt; &lt;CheckBoxPreference android:key="enable_status_messages" android:summary="Enable or disable status messages" android:title="Send status messages" android:defaultValue="true" /&gt; &lt;CheckBoxPreference android:key="enable_event_messages" android:summary="Enable or disable event messages" android:title="Send event messages" android:defaultValue="true" /&gt; &lt;CheckBoxPreference android:key="enable_critical_messages" android:summary="Enable or disable critical messages" android:title="Send critical messages" android:defaultValue="true" /&gt; &lt;/PreferenceScreen&gt; &lt;/PreferenceCategory&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload