Remove style in order to make the buttons to have the correct color.

This commit is contained in:
jacques 2024-04-17 22:24:46 +02:00
parent 2603111293
commit dd50af72c6

View file

@ -20,7 +20,6 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/notagreed" android:id="@+id/notagreed"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="28dp" android:layout_marginStart="28dp"
@ -32,8 +31,9 @@
android:paddingStart="25dp" android:paddingStart="25dp"
android:paddingEnd="25dp" android:paddingEnd="25dp"
android:text="@string/button_cancel" android:text="@string/button_cancel"
android:textColor="#212121"
android:textSize="16sp" android:textSize="16sp"
android:textAlignment="center"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
tools:ignore="HardcodedText,SpUsage" /> tools:ignore="HardcodedText,SpUsage" />
@ -48,7 +48,6 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/agreed" android:id="@+id/agreed"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="28dp" android:layout_marginEnd="28dp"
@ -59,7 +58,7 @@
android:paddingStart="25dp" android:paddingStart="25dp"
android:paddingEnd="25dp" android:paddingEnd="25dp"
android:text="@string/button_ok" android:text="@string/button_ok"
android:textColor="#212121" android:textColor="@color/white"
android:textSize="16sp" android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="@+id/notagreed" app:layout_constraintBottom_toBottomOf="@+id/notagreed"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -79,10 +78,12 @@
android:labelFor="@id/editcip13" android:labelFor="@id/editcip13"
android:minHeight="48dp" android:minHeight="48dp"
android:textAlignment="textStart" android:textAlignment="textStart"
android:textColorHint="#757575"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.416" /> app:layout_constraintVertical_bias="0.416"
tools:ignore="LabelFor" />
<com.google.android.material.imageview.ShapeableImageView <com.google.android.material.imageview.ShapeableImageView
android:id="@+id/imageView" android:id="@+id/imageView"