JLChen
2020-12-10 a8c5f79b0d93adfa7f23601dd0fee30edc14f0d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:linphone="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="5dp"
        android:paddingBottom="5dp"
        android:orientation="vertical">
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_device_ringtone"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_device_ringtone" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_vibrate_on_incoming_calls"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_vibrate_on_incoming_calls" />
 
        <org.linphone.settings.widget.BasicSetting
            android:id="@+id/pref_grant_read_dnd_settings_permission"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_grant_read_dnd_settings_permission_title"
            linphone:subtitle="@string/pref_grant_read_dnd_settings_permission_desc"/>
 
        <org.linphone.settings.widget.ListSetting
            android:id="@+id/pref_media_encryption"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_media_encryption" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_media_encryption_mandatory"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_media_encryption_mandatory_title" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_sipinfo_dtmf"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_sipinfo_dtmf" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_rfc2833_dtmf"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_rfc2833_dtmf" />
 
        <org.linphone.settings.widget.BasicSetting
            android:id="@+id/pref_android_app_notif_settings"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_android_app_notif_settings_title"/>
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_auto_answer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_auto_answer" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_auto_answer_time"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_auto_answer_time"
            linphone:title="@string/pref_auto_answer_time" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_incoming_call_timeout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_incoming_call_timeout_title"
            linphone:title="@string/pref_incoming_call_timeout_title" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_voice_mail"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_voice_mail"
            linphone:title="@string/pref_voice_mail" />
 
    </LinearLayout>
 
</ScrollView>