[android] Add new outlined buttons

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-09-03 23:11:22 +02:00
committed by jeanbaptisteC
parent b70d45691a
commit 2f5f9e15c3
7 changed files with 23 additions and 27 deletions

View File

@@ -121,13 +121,11 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/report"
style="@style/MwmWidget.M3.Button"
style="@style/MwmWidget.M3.Button.Secondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_half"
android:text="@string/report_a_bug"
android:textColor="@color/text_dark"
app:backgroundTint="@color/light_gray"/>
android:text="@string/report_a_bug" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/faq"

View File

@@ -412,20 +412,16 @@
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/cv__more"
style="@style/MwmWidget.Editor.CardView"
android:layout_marginTop="@dimen/margin_double"
android:layout_marginBottom="@dimen/margin_base">
<com.google.android.material.textview.MaterialTextView
<com.google.android.material.button.MaterialButton
android:id="@+id/reset"
style="@style/MwmWidget.M3.Button.Secondary"
android:layout_width="match_parent"
android:layout_height="36dp"
android:background="?selectableItemBackground"
android:layout_height="wrap_content"
android:gravity="center"
android:textAppearance="@style/MwmTextAppearance.Button"
android:layout_marginBottom="@dimen/margin_base"
app:backgroundTint="?cardBackground"
android:textColor="@color/base_red"
app:strokeColor="@color/base_red"
tools:text="Reset my changes"/>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</androidx.core.widget.NestedScrollView>

View File

@@ -88,14 +88,12 @@
android:textColor="?android:textColorPrimary" />
<com.google.android.material.button.MaterialButton
android:id="@+id/register"
style="@style/MwmWidget.M3.Button"
style="@style/MwmWidget.M3.Button.Secondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_base"
android:padding="@dimen/margin_quarter"
android:text="@string/register_at_openstreetmap"
android:textColor="@color/text_dark"
app:backgroundTint="@color/bg_editor_light"/>
android:text="@string/register_at_openstreetmap" />
</LinearLayout>
</ScrollView>
</LinearLayout>