make the input boxes look prettier
This commit is contained in:
parent
fac728df0a
commit
139a64a765
|
@ -12,7 +12,8 @@
|
|||
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
style="@style/my_style"
|
||||
android:id="@+id/subtotal_text_input_layout"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Subtotal">
|
||||
|
@ -27,10 +28,11 @@
|
|||
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/tax_input_layout"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Tax"
|
||||
style="@style/my_style"
|
||||
>
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/tax_edit"
|
||||
|
@ -41,7 +43,8 @@
|
|||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
style="@style/my_style"
|
||||
android:id="@+id/gratuity_input_layout"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Gratuity"
|
||||
|
@ -67,7 +70,7 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/results_text"
|
||||
style="@style/my_style"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="24sp"
|
||||
|
|
|
@ -3,5 +3,4 @@
|
|||
<dimen name="padding">16dp</dimen>
|
||||
<dimen name="small_padding">8dp</dimen>
|
||||
<dimen name="layout_margin">16dp</dimen>
|
||||
|
||||
</resources>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<style name="my_style">
|
||||
<item name="android:layout_marginTop">@dimen/layout_margin</item>
|
||||
<item name="android:paddingTop">@dimen/small_padding</item>
|
||||
</style></resources>
|
Loading…
Reference in New Issue