Adapt hotspot buttons to latest design and add a nullability annotation

This commit is contained in:
Torsten Grote
2021-05-26 10:33:33 -03:00
committed by Sebastian Kürten
parent d6f985174a
commit cbdbd10cb3
4 changed files with 8 additions and 7 deletions

View File

@@ -134,7 +134,7 @@
<Button
android:id="@+id/fallbackButton"
style="@style/BriarButton"
style="@style/BriarButtonFlat.Positive"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="16dp"

View File

@@ -76,15 +76,15 @@
<Button
android:id="@+id/stopButton"
style="@style/BriarButton"
android:layout_width="0dp"
style="@style/BriarButtonFlat.Negative"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:drawablePadding="8dp"
android:text="@string/hotspot_button_stop_sharing"
app:backgroundTint="@color/briar_red_500"
app:drawableLeftCompat="@drawable/ic_portable_wifi_off"
app:drawableStartCompat="@drawable/ic_portable_wifi_off"
app:drawableTint="@color/button_text"
app:drawableTint="@color/briar_red_500"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"