Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- tools:context=".MainActivity">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <com.google.android.material.appbar.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/purple_200">
- <com.google.android.material.appbar.MaterialToolbar
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:navigationIcon="@drawable/ic_back_arrow"
- app:menu="@menu/menu_main" />
- </com.google.android.material.appbar.AppBarLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="24dp"
- android:layout_marginEnd="24dp"
- android:layout_marginTop="44dp"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
- <com.google.android.material.textfield.TextInputEditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Name"
- android:inputType="text" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement