|
28 | 28 | </com.google.android.material.appbar.AppBarLayout> |
29 | 29 |
|
30 | 30 | <LinearLayout |
31 | | - app:layout_constraintTop_toBottomOf="@+id/settings_app_bar_layout" |
| 31 | + android:id="@+id/linearLayout2" |
32 | 32 | android:layout_width="match_parent" |
33 | 33 | android:layout_height="wrap_content" |
34 | | - android:paddingLeft="16dp" |
35 | 34 | android:layout_marginTop="16dp" |
| 35 | + android:orientation="vertical" |
| 36 | + android:paddingLeft="16dp" |
36 | 37 | android:paddingRight="16dp" |
37 | | - android:orientation="vertical"> |
| 38 | + app:layout_constraintTop_toBottomOf="@+id/settings_app_bar_layout"> |
| 39 | + |
38 | 40 | <com.google.android.material.textfield.TextInputLayout |
39 | 41 | android:id="@+id/settingsSIM1" |
40 | 42 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
41 | 43 | android:layout_width="match_parent" |
42 | 44 | android:layout_height="wrap_content" |
43 | | - app:errorEnabled="true" |
44 | 45 | android:hint="@string/settings_sim1" |
| 46 | + app:errorEnabled="true" |
45 | 47 | app:layout_constraintTop_toTopOf="parent" |
46 | 48 | tools:layout_editor_absoluteX="16dp"> |
47 | 49 |
|
|
58 | 60 | android:id="@+id/settings_sim1_outgoing_messages" |
59 | 61 | android:layout_width="match_parent" |
60 | 62 | android:layout_height="wrap_content" |
61 | | - android:textSize="18sp" |
62 | 63 | android:layout_marginBottom="16dp" |
63 | | - android:text="@string/settings_outgoing_messages_sim1" |
64 | 64 | android:minHeight="48dp" |
| 65 | + android:text="@string/settings_outgoing_messages_sim1" |
| 66 | + android:textSize="18sp" |
65 | 67 | tools:ignore="TouchTargetSizeCheck" /> |
66 | 68 |
|
67 | 69 | <com.google.android.material.switchmaterial.SwitchMaterial |
68 | 70 | android:id="@+id/settings_sim1_incoming_messages" |
69 | 71 | android:layout_width="match_parent" |
70 | 72 | android:layout_height="wrap_content" |
71 | | - android:textSize="18sp" |
72 | 73 | android:layout_marginBottom="16dp" |
73 | | - android:text="@string/settings_incoming_messages_sim1" |
74 | 74 | android:minHeight="48dp" |
| 75 | + android:text="@string/settings_incoming_messages_sim1" |
| 76 | + android:textSize="18sp" |
75 | 77 | tools:ignore="TouchTargetSizeCheck" /> |
76 | 78 |
|
77 | 79 | <com.google.android.material.textfield.TextInputLayout |
78 | 80 | android:id="@+id/settingsSIM2Layout" |
79 | 81 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
80 | 82 | android:layout_width="match_parent" |
81 | 83 | android:layout_height="wrap_content" |
82 | | - app:errorEnabled="true" |
83 | 84 | android:hint="@string/settings_sim_2" |
| 85 | + app:errorEnabled="true" |
84 | 86 | app:layout_constraintTop_toTopOf="parent" |
85 | 87 | tools:layout_editor_absoluteX="16dp"> |
86 | 88 |
|
|
97 | 99 | android:id="@+id/settings_sim2_outgoing_messages" |
98 | 100 | android:layout_width="match_parent" |
99 | 101 | android:layout_height="wrap_content" |
100 | | - android:textSize="18sp" |
101 | | - android:text="@string/settings_outgoing_messages_sim2" |
102 | | - android:minHeight="48dp" |
103 | 102 | android:layout_marginBottom="16dp" |
| 103 | + android:minHeight="48dp" |
| 104 | + android:text="@string/settings_outgoing_messages_sim2" |
| 105 | + android:textSize="18sp" |
104 | 106 | tools:ignore="TouchTargetSizeCheck" /> |
105 | 107 |
|
106 | 108 | <com.google.android.material.switchmaterial.SwitchMaterial |
107 | 109 | android:id="@+id/settings_sim2_incoming_messages" |
108 | 110 | android:layout_width="match_parent" |
109 | 111 | android:layout_height="wrap_content" |
110 | | - android:textSize="18sp" |
111 | | - android:text="@string/settings_incoming_messages_sim2" |
112 | | - android:minHeight="48dp" |
113 | 112 | android:layout_marginBottom="16dp" |
| 113 | + android:minHeight="48dp" |
| 114 | + android:text="@string/settings_incoming_messages_sim2" |
| 115 | + android:textSize="18sp" |
114 | 116 | tools:ignore="TouchTargetSizeCheck" /> |
115 | 117 |
|
116 | 118 | <com.google.android.material.textfield.TextInputLayout |
117 | 119 | android:id="@+id/settingsEncryptionKeyLayout" |
118 | 120 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
119 | 121 | android:layout_width="match_parent" |
120 | 122 | android:layout_height="wrap_content" |
121 | | - app:errorEnabled="true" |
122 | 123 | android:hint="@string/encryption_key" |
| 124 | + app:errorEnabled="true" |
123 | 125 | app:layout_constraintTop_toTopOf="parent" |
124 | 126 | tools:layout_editor_absoluteX="16dp"> |
125 | 127 |
|
|
136 | 138 | android:id="@+id/settingsEncryptReceivedMessages" |
137 | 139 | android:layout_width="match_parent" |
138 | 140 | android:layout_height="wrap_content" |
139 | | - android:textSize="18sp" |
140 | | - android:text="@string/encrypt_received_messages" |
| 141 | + android:layout_marginBottom="16dp" |
141 | 142 | android:minHeight="48dp" |
| 143 | + android:text="@string/encrypt_received_messages" |
| 144 | + android:textSize="18sp" |
| 145 | + tools:ignore="TouchTargetSizeCheck" /> |
| 146 | + |
| 147 | + <com.google.android.material.switchmaterial.SwitchMaterial |
| 148 | + android:id="@+id/settingEnableDebugLogs" |
| 149 | + android:layout_width="match_parent" |
| 150 | + android:layout_height="wrap_content" |
142 | 151 | android:layout_marginBottom="16dp" |
| 152 | + android:minHeight="48dp" |
| 153 | + android:text="@string/enable_debug_logs" |
| 154 | + android:textSize="18sp" |
143 | 155 | tools:ignore="TouchTargetSizeCheck" /> |
144 | 156 | </LinearLayout> |
145 | 157 |
|
|
148 | 160 | style="@style/Widget.MaterialComponents.Button.Icon" |
149 | 161 | android:layout_width="wrap_content" |
150 | 162 | android:layout_height="wrap_content" |
151 | | - android:layout_marginBottom="16dp" |
152 | 163 | android:backgroundTint="@color/black" |
153 | 164 | android:drawableTint="@color/white" |
154 | 165 | android:padding="10dp" |
155 | 166 | android:text="@string/main_log_out" |
156 | 167 | android:textColor="@color/white" |
157 | 168 | android:textSize="16sp" |
| 169 | + android:layout_marginTop="16dp" |
| 170 | + android:layout_marginLeft="16dp" |
| 171 | + android:layout_marginRight="16dp" |
158 | 172 | app:icon="@drawable/ic_login" |
159 | 173 | app:iconTint="@color/white" |
160 | | - app:layout_constraintBottom_toBottomOf="parent" |
161 | 174 | app:layout_constraintEnd_toEndOf="parent" |
162 | 175 | app:layout_constraintStart_toStartOf="parent" |
| 176 | + app:layout_constraintTop_toBottomOf="@+id/linearLayout2" |
163 | 177 | tools:ignore="TextContrastCheck" /> |
164 | 178 | </androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments