|
27 | 27 | app:title="App Settings" /> |
28 | 28 | </com.google.android.material.appbar.AppBarLayout> |
29 | 29 |
|
| 30 | + <LinearLayout |
| 31 | + app:layout_constraintTop_toBottomOf="@+id/settings_app_bar_layout" |
| 32 | + android:layout_width="match_parent" |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:paddingLeft="16dp" |
| 35 | + android:layout_marginTop="16dp" |
| 36 | + android:paddingRight="16dp" |
| 37 | + android:orientation="vertical"> |
| 38 | + <com.google.android.material.textfield.TextInputLayout |
| 39 | + android:id="@+id/settingsSIM1" |
| 40 | + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
| 41 | + android:layout_width="match_parent" |
| 42 | + android:layout_height="wrap_content" |
| 43 | + app:errorEnabled="true" |
| 44 | + android:hint="@string/settings_sim1" |
| 45 | + app:layout_constraintTop_toTopOf="parent" |
| 46 | + tools:layout_editor_absoluteX="16dp"> |
| 47 | + |
| 48 | + <com.google.android.material.textfield.TextInputEditText |
| 49 | + android:id="@+id/settingsSIM1Input" |
| 50 | + android:layout_width="match_parent" |
| 51 | + android:layout_height="wrap_content" |
| 52 | + android:inputType="textMultiLine" |
| 53 | + tools:ignore="TextContrastCheck" /> |
| 54 | + |
| 55 | + </com.google.android.material.textfield.TextInputLayout> |
| 56 | + |
| 57 | + <com.google.android.material.switchmaterial.SwitchMaterial |
| 58 | + android:id="@+id/settings_sim1_incoming_messages" |
| 59 | + android:layout_width="match_parent" |
| 60 | + android:layout_height="wrap_content" |
| 61 | + android:textSize="18sp" |
| 62 | + android:layout_marginBottom="16dp" |
| 63 | + android:text="@string/settings_incoming_messages_sim1" |
| 64 | + android:minHeight="48dp" |
| 65 | + tools:ignore="TouchTargetSizeCheck" /> |
| 66 | + |
| 67 | + <com.google.android.material.textfield.TextInputLayout |
| 68 | + android:id="@+id/settingsSIM2" |
| 69 | + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
| 70 | + android:layout_width="match_parent" |
| 71 | + android:layout_height="wrap_content" |
| 72 | + app:errorEnabled="true" |
| 73 | + android:hint="@string/settings_sim_2" |
| 74 | + app:layout_constraintTop_toTopOf="parent" |
| 75 | + tools:layout_editor_absoluteX="16dp"> |
| 76 | + |
| 77 | + <com.google.android.material.textfield.TextInputEditText |
| 78 | + android:id="@+id/loginApiKeyTextInput" |
| 79 | + android:layout_width="match_parent" |
| 80 | + android:layout_height="wrap_content" |
| 81 | + android:inputType="textMultiLine" |
| 82 | + tools:ignore="TextContrastCheck" /> |
| 83 | + |
| 84 | + </com.google.android.material.textfield.TextInputLayout> |
| 85 | + |
| 86 | + <com.google.android.material.switchmaterial.SwitchMaterial |
| 87 | + android:id="@+id/settings_sim2_incoming_messages" |
| 88 | + android:layout_width="match_parent" |
| 89 | + android:layout_height="wrap_content" |
| 90 | + android:textSize="18sp" |
| 91 | + android:text="@string/settings_incoming_messages_sim2" |
| 92 | + android:minHeight="48dp" |
| 93 | + android:layout_marginBottom="16dp" |
| 94 | + tools:ignore="TouchTargetSizeCheck" /> |
| 95 | + |
| 96 | + |
| 97 | + </LinearLayout> |
| 98 | + |
30 | 99 | <com.google.android.material.button.MaterialButton |
31 | 100 | android:id="@+id/settingsLogoutButton" |
32 | 101 | style="@style/Widget.MaterialComponents.Button.Icon" |
|
0 commit comments