Advertisement
Hasbi_Assidiqqi

versi1

Mar 22nd, 2021
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.77 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    xmlns:app="http://schemas.android.com/apk/res-auto"
  7.    tools:context=".MainActivity">
  8.  
  9.     <LinearLayout
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        android:orientation="vertical">
  13.  
  14.         <com.google.android.material.appbar.AppBarLayout
  15.            android:layout_width="match_parent"
  16.            android:layout_height="wrap_content"
  17.            android:background="@color/purple_200">
  18.  
  19.             <com.google.android.material.appbar.MaterialToolbar
  20.                android:layout_width="match_parent"
  21.                android:layout_height="?attr/actionBarSize"
  22.                app:navigationIcon="@drawable/ic_back_arrow"
  23.                app:menu="@menu/menu_main" />
  24.  
  25.         </com.google.android.material.appbar.AppBarLayout>
  26.  
  27.         <com.google.android.material.textfield.TextInputLayout
  28.            android:layout_width="match_parent"
  29.            android:layout_height="wrap_content"
  30.            android:layout_marginStart="24dp"
  31.            android:layout_marginEnd="24dp"
  32.            android:layout_marginTop="44dp"
  33.            style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
  34.  
  35.             <com.google.android.material.textfield.TextInputEditText
  36.                android:layout_width="match_parent"
  37.                android:layout_height="wrap_content"
  38.                android:hint="Name"
  39.                android:inputType="text" />
  40.  
  41.         </com.google.android.material.textfield.TextInputLayout>
  42.  
  43.     </LinearLayout>
  44.  
  45. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement