<?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright © 2019 Damyan Ivanov.
+ ~ Copyright © 2020 Damyan Ivanov.
~ This file is part of MoLe.
~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
<TextView
android:id="@+id/btn_add_new"
- style="@style/TextAppearance.AppCompat.Widget.Button.Colored"
- android:textColor="@color/colorPrimary"
+ style="@style/Widget.MaterialComponents.Button.TextButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/add_button"
android:layout_height="wrap_content"
android:id="@+id/btn_no_currency"
android:text="@string/btn_no_currency"
- style="@style/TextAppearance.AppCompat.Widget.Button.Colored"
- android:textColor="@color/colorPrimary"
+ style="@style/Widget.MaterialComponents.Button.TextButton"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:id="@+id/new_currency_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:ems="10"
android:hint="@string/new_currency_name_hint"
android:inputType="text"
android:singleLine="true"
<TextView
android:id="@+id/btn_add_currency"
- style="@style/TextAppearance.AppCompat.Button"
+ style="@style/Widget.MaterialComponents.Button.TextButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin"