Add padding to input field text
This commit is contained in:
parent
dce4230926
commit
2228f10000
1 changed files with 9 additions and 3 deletions
|
|
@ -94,8 +94,10 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingStart="8dp"
|
android:paddingStart="4dp"
|
||||||
android:paddingEnd="4dp">
|
android:paddingEnd="0dp"
|
||||||
|
android:paddingTop="4dp"
|
||||||
|
android:paddingBottom="4dp">
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/inputField"
|
android:id="@+id/inputField"
|
||||||
|
|
@ -107,7 +109,11 @@
|
||||||
android:imeOptions="actionSend"
|
android:imeOptions="actionSend"
|
||||||
android:inputType="textMultiLine"
|
android:inputType="textMultiLine"
|
||||||
android:maxLines="5"
|
android:maxLines="5"
|
||||||
android:minHeight="56dp" />
|
android:minHeight="56dp"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:paddingEnd="8dp"
|
||||||
|
android:paddingTop="12dp"
|
||||||
|
android:paddingBottom="12dp" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/sendButton"
|
android:id="@+id/sendButton"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue