Add button for opening Xiaomi battery settings during setup.

This commit is contained in:
akwizgran
2021-04-26 16:10:19 +01:00
parent 2f719d7f2c
commit f9277767d3
6 changed files with 97 additions and 3 deletions

View File

@@ -38,6 +38,15 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/huaweiProtectedAppsView" />
<org.briarproject.briar.android.account.XiaomiBatterySaverView
android:id="@+id/xiaomiBatterySaverView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/margin_large"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/huaweiAppLaunchView" />
<Button
android:id="@+id/next"
style="@style/BriarButton"
@@ -48,7 +57,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/huaweiAppLaunchView"
app:layout_constraintTop_toBottomOf="@+id/xiaomiBatterySaverView"
app:layout_constraintVertical_bias="1.0"
tools:enabled="true" />