ProfileHelper layout buttons fix

This commit is contained in:
Milos Kozak 2020-12-25 14:42:39 +01:00
parent d035e13203
commit 3c32583d8c
2 changed files with 7 additions and 7 deletions

View file

@ -12,9 +12,9 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<Button
<info.nightscout.androidaps.utils.ui.SingleClickButton
android:id="@+id/profilehelper_compareprofile"
style="@style/ButtonMediumFontStyle"
style="?android:attr/buttonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_compare_profiles"
@ -50,8 +50,8 @@
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:id="@+id/profilehelper_profiletype_title"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/profiletype"
@ -173,11 +173,11 @@
android:layout_marginStart="10dp"
android:textAppearance="@style/TextAppearance.AppCompat.Small" />
<Button
<info.nightscout.androidaps.utils.ui.SingleClickButton
android:id="@+id/profilehelper_copytolocalprofile"
style="@style/ButtonMediumFontStyle"
style="?android:attr/buttonStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_clone_48"
android:text="@string/clone_label" />

View file

@ -52,5 +52,5 @@
<item name="android:textColor">#ff0000</item>
</style>
<style name="ProfileHelperAppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar"/>
<style name="ProfileHelperAppTheme" parent="Theme.MaterialComponents.NoActionBar"/>
</resources>