Archived
Visual bugfixes: first time screen now shows status bar icons in dark mode, long names now don't cut off anymore in toolbar, status bar colour corrected on some devices. First time screen hides dark mode toggle and defaults to "conform to system setting" on Android 10 and above
This commit is contained in:
@@ -19,14 +19,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layoutAnimation="@anim/layout_animation_fall_down">
|
||||
|
||||
<!-- <LinearLayout-->
|
||||
<!-- android:layout_width="0dp"-->
|
||||
<!-- android:layout_height="0dp"-->
|
||||
<!-- android:focusable="true"-->
|
||||
<!-- android:focusableInTouchMode="true"-->
|
||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtWelcome"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -223,83 +215,56 @@
|
||||
app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtLayoutCourses" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbGreetings"
|
||||
<LinearLayout android:id="@+id/checkBoxLinearLayout"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/enableGreeting"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtMore" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbDark"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/enableDarkMode"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintTop_toBottomOf="@+id/cbGreetings" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbNotif"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notificationsAndSync"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintTop_toBottomOf="@+id/cbDark" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbPersonalised"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/personalised"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginBottom="64dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtMore"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"
|
||||
app:layout_constraintTop_toBottomOf="@+id/cbNotif" />
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent">
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/txtOr"-->
|
||||
<!-- android:layout_width="0dp"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:text="@string/or"-->
|
||||
<!-- app:layout_constraintTop_toBottomOf="@+id/cbPersonalised"-->
|
||||
<!-- app:layout_constraintEnd_toEndOf="@+id/txtLayoutClasses"-->
|
||||
<!-- app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"-->
|
||||
<!-- android:gravity="start"-->
|
||||
<!-- android:layout_marginTop="16dp"-->
|
||||
<!-- android:textColor="@color/colorText"/>-->
|
||||
<CheckBox
|
||||
android:id="@+id/cbGreetings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/enableGreeting"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<!-- <com.google.android.material.button.MaterialButton style="@style/Widget.MaterialComponents.Button.OutlinedButton"-->
|
||||
<!-- android:id="@+id/btnRestoreFromFile"-->
|
||||
<!-- android:layout_width="0dp"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- app:strokeColor="@color/colorAccent"-->
|
||||
<!-- app:strokeWidth="2dp"-->
|
||||
<!-- android:textColor="@color/colorAccent"-->
|
||||
<!-- android:text="@string/restoreFromFile"-->
|
||||
<!-- android:layout_marginBottom="64dp"-->
|
||||
<!-- android:layout_marginTop="8dp"-->
|
||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toBottomOf="@+id/txtOr"-->
|
||||
<!-- app:layout_constraintEnd_toEndOf="@+id/txtLayoutClasses"-->
|
||||
<!-- app:layout_constraintStart_toStartOf="@+id/txtLayoutClasses"/>-->
|
||||
<CheckBox
|
||||
android:id="@+id/cbDark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/enableDarkMode"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbNotif"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notificationsAndSync"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbPersonalised"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/personalised"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/colorText"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user