webrtc/talk/examples/android/res/xml/preferences.xml
mcasas@webrtc.org 6340acde68 AppRTCDemoActivity: Add a config CheckBox for enabling/disabling CPU overuse adaptation.
Also removed some unused "summary" ListPreference
fields.

The looks of it can be found in [1] (lowest row).

[1] https://drive.google.com/file/d/0By6DR2QIwc_ZQm9TMW5YVEpsMWc/view?usp=sharing

R=glaznev@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/27939004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7646 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-06 09:05:48 +00:00

30 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<EditTextPreference
android:key="@string/pref_url_key"
android:title="@string/pref_url_title"
android:defaultValue="@string/pref_url_default"
android:inputType="textWebEmailAddress"
android:dialogTitle="@string/pref_url_dlg" />
<ListPreference
android:key="@string/pref_resolution_key"
android:title="@string/pref_resolution_title"
android:defaultValue="@string/pref_resolution_default"
android:dialogTitle="@string/pref_resolution_dlg"
android:entries="@array/videoResolutions"
android:entryValues="@array/videoResolutionsValues" />
<ListPreference
android:key="@string/pref_fps_key"
android:title="@string/pref_fps_title"
android:defaultValue="@string/pref_fps_default"
android:dialogTitle="@string/pref_fps_dlg"
android:entries="@array/cameraFps"
android:entryValues="@array/cameraFps" />
<CheckBoxPreference
android:key="@string/pref_cpu_usage_detection_key"
android:title="@string/pref_cpu_usage_detection_title"
android:dialogTitle="@string/pref_cpu_usage_detection_dlg"
android:defaultValue="@string/pref_cpu_usage_detection_default" />
</PreferenceScreen>