res/layout/preferences.xml
changeset 882 d1b0d878eac9
parent 857 53a2e0015adb
child 907 7b5e29b3603b
equal deleted inserted replaced
880:f0f107c35a07 882:d1b0d878eac9
     6     TODO: There is still a lot of keys to convert
     6     TODO: There is still a lot of keys to convert
     7 -->
     7 -->
     8 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     8 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     9 	android:shouldDisableView="true" android:selectable="true">
     9 	android:shouldDisableView="true" android:selectable="true">
    10 	<PreferenceCategory android:title="@string/general_preferences">
    10 	<PreferenceCategory android:title="@string/general_preferences">
    11 		<CheckBoxPreference android:id="@+id/settings_key_history"
       
    12 			android:title="@string/history" android:defaultValue="false"
       
    13 			android:key="settings_key_history" />
       
    14 		<PreferenceScreen android:key="contact_list"
    11 		<PreferenceScreen android:key="contact_list"
    15 			android:title="@string/contact_list_preferences" android:summary="@string/contact_list_preferences_sum">
    12 			android:title="@string/contact_list_preferences" android:summary="@string/contact_list_preferences_sum">
    16 			<CheckBoxPreference android:title="@string/CLP_hidden_contact"
    13 			<CheckBoxPreference android:title="@string/CLP_hidden_contact"
    17 				android:defaultValue="false" android:summary="@string/CLP_hidden_contact_sum"
    14 				android:defaultValue="false" android:summary="@string/CLP_hidden_contact_sum"
    18 				android:key="settings_key_hidden_contact" />
    15 				android:key="settings_key_hidden_contact" />
    24 				android:key="settings_away_chk" />
    21 				android:key="settings_away_chk" />
    25 			<EditTextPreference android:dependency="settings_away_chk"
    22 			<EditTextPreference android:dependency="settings_away_chk"
    26 				android:singleLine="true" android:summary="@string/away_message_sum"
    23 				android:singleLine="true" android:summary="@string/away_message_sum"
    27 				android:title="@string/away_message_title" android:key="settings_away_message"
    24 				android:title="@string/away_message_title" android:key="settings_away_message"
    28 				android:hint="@string/away_message_hint" />
    25 				android:hint="@string/away_message_hint" />
    29 			<CheckBoxPreference android:title="@string/settings_chat_compact"
       
    30 				android:defaultValue="false" android:summary="@string/settings_chat_compact_sum"
       
    31 				android:key="settings_chat_compact_key" />
       
    32 		</PreferenceScreen>
    26 		</PreferenceScreen>
       
    27 		<PreferenceScreen android:key="chat"
       
    28 			android:title="@string/chat_preferences" android:summary="@string/chat_preferences_sum">
       
    29 			<PreferenceCategory android:title="@string/history_preferences">
       
    30 				<CheckBoxPreference android:id="@+id/chat_history"
       
    31 					android:title="@string/history" android:summary="@string/history_sum"
       
    32 					 android:defaultValue="false" android:key="settings_key_history" />
       
    33 				<EditTextPreference android:dependency="settings_key_history"
       
    34 					android:singleLine="true" android:title="@string/chat_history_path"
       
    35 					android:summary="@string/chat_history_path_sum" android:key="settings_chat_history_path"
       
    36 					android:hint="/Android/data/com.beem.project.beem/chat/" />
       
    37 			</PreferenceCategory>
       
    38 			<PreferenceCategory android:title="@string/chat_layout_option">
       
    39 				<CheckBoxPreference android:title="@string/settings_chat_compact"
       
    40 					android:defaultValue="false" android:summary="@string/settings_chat_compact_sum"
       
    41 					android:key="settings_chat_compact_key" />
       
    42 			</PreferenceCategory>
       
    43 			</PreferenceScreen>
    33 		<PreferenceScreen android:title="@string/notification_preferences">
    44 		<PreferenceScreen android:title="@string/notification_preferences">
    34 			<CheckBoxPreference android:title="@string/notification_enable_vibrate_title"
    45 			<CheckBoxPreference android:title="@string/notification_enable_vibrate_title"
    35 				android:defaultValue="false" android:summary="@string/notification_enable_vibrate_sum"
    46 				android:defaultValue="false" android:summary="@string/notification_enable_vibrate_sum"
    36 				android:key="notification_vibrate" />
    47 				android:key="notification_vibrate" />
    37 			<RingtonePreference android:title="@string/notification_snd_title"
    48 			<RingtonePreference android:title="@string/notification_snd_title"