Adding setting screen to AppRTCDemo.
- Move server URL from connection screen to the setting screen. - Add setting for local video resolution. - Auto save last entered room number. - Use full screen mode in video renderer and fix texture offsets recalculation when rendering type is dynamically changed. BUG=3935,3953 R=kjellander@webrtc.org, pbos@webrtc.org, pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7534 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
18
talk/examples/android/res/xml/preferences.xml
Normal file
18
talk/examples/android/res/xml/preferences.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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:summary="@string/pref_url_summary"
|
||||
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:summary="@string/pref_resolution_summary"
|
||||
android:defaultValue="@string/pref_resolution_default"
|
||||
android:dialogTitle="@string/pref_resolution_dlg"
|
||||
android:entries="@array/videoResolutions"
|
||||
android:entryValues="@array/videoResolutionsValues" />
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user