JLChen
2021-01-04 ed86fe7ed952bb2151aac8841134246bbde152c9
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
93
94
95
96
97
98
99
<?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_debug"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_debug" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_java_debug"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_java_debug" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_background_mode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:subtitle="@string/pref_background_mode_desc"
            linphone:title="@string/pref_background_mode" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_autostart"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_autostart" />
 
        <org.linphone.settings.widget.SwitchSetting
            android:id="@+id/pref_dark_mode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_dark_mode" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_device_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:subtitle="@string/pref_display_name_subtitle"
            linphone:hint="@string/pref_device_name"
            linphone:title="@string/pref_device_name" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_remote_provisioning"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_remote_provisioning_title"
            linphone:title="@string/pref_remote_provisioning_title" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_log_collection_upload_server_url"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_log_collection_sharing_server_title"
            linphone:subtitle="@string/pref_log_collection_sharing_server_desc"
            linphone:title="@string/pref_log_collection_sharing_server_title" />
 
        <org.linphone.settings.widget.BasicSetting
            android:id="@+id/pref_android_app_settings"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:title="@string/pref_android_app_settings_title" />
 
        <TextView
            style="@style/settings_category_font"
            android:text="@string/pref_primary_account_title"
            android:paddingTop="15dp"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_display_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_display_name_title"
            linphone:title="@string/pref_display_name_title" />
 
        <org.linphone.settings.widget.TextSetting
            android:id="@+id/pref_user_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            linphone:hint="@string/pref_user_name_title"
            linphone:title="@string/pref_user_name_title" />
 
    </LinearLayout>
 
</ScrollView>