47 lines
2.4 KiB
XML
47 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="vertical"
|
|
android:id="@+id/splashFragmentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_marginStart="8dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
android:layout_marginEnd="8dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:layout_marginTop="8dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
android:id="@+id/mEditTextLayout"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:helperText="what do you want to say?"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
android:hint="message">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
style="@style/Widget.MaterialComponents.TextInputEditText.OutlinedBox"
|
|
android:id="@+id/mEditText"
|
|
android:imeOptions="actionDone"
|
|
android:singleLine="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
style="@style/AppButton"
|
|
android:text="Hash it"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
android:layout_marginRight="8dp"
|
|
android:id="@+id/button"
|
|
app:layout_constraintTop_toBottomOf="@+id/mEditTextLayout"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |