<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="95dp"
android:layout_height="wrap_content"
android:layput_width="wrap_content"
android:text="Login"
android:textColor="@color/purple_200"
android:textSize="30sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layput_width="wrap_content"
android:layout_height="wrap_content"
android:text="username"
/>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/username"
android:layout_weight="1"
android:ems="10"
android:textAlignment="center"
/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layput_width="wrap_content"
android:layout_height="wrap_content"
android:text="Password"
/>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/password"
android:layout_weight="1"
android:ems="10"
android:textAlignment="center"
/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login"
android:background="@color/purple_200"
android:textColor="#fff"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cancel"
android:background="@color/purple_200"
android:textColor="#fff"
/>
</LinearLayout>
Code Example |
---|
:: |
:: |
:: |
:: |
:: |
Java :: treemap java entryset |
Java :: |
Java :: date java use fix timezone |
:: |
:: |
Java :: |
:: |
:: |
:: |
Java :: |
:: java get number at the end of string |
:: |
:: djava days between two dates |
:: |
Java :: procedure java |
:: |
:: |
:: java printwriter create file |
:: |
Java :: |
:: |
:: |
:: |
:: how to encrypt password in properties file in spring boot |
:: " meaning in java |