Making usual page

activity_main.xml
<?xml version=”1.0″ encoding=”utf-8″?>
<LinearLayout
xmlns:android=”http://schemas.android.com/apk/res/android&#8221;
android:layout_width=”fill_parent”
android:layout_height=”fill_parent”
android:fitsSystemWindows=”true”
>

<LinearLayout
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:layout_gravity=”center_vertical”
android:orientation=”vertical”
android:paddingLeft=”24dp”
android:paddingRight=”24dp”
android:paddingTop=”56dp”
>

<ImageView
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:layout_gravity=”center_horizontal”
android:layout_marginLeft=”80dp”
android:layout_marginRight=”80dp”
android:src=”@drawable/logo_oleo”
android:layout_weight=”1″
/>

<!–<!– Name Label –>–>
<!–<android.support.design.widget.TextInputLayout–>
<!–android:layout_width=”match_parent”–>
<!–android:layout_height=”wrap_content”–>
<!–android:layout_marginBottom=”8dp”–>
<!–android:layout_marginTop=”8dp”>–>

<!–<EditText–>
<!–android:id=”@+id/input_name”–>
<!–android:layout_width=”match_parent”–>
<!–android:layout_height=”wrap_content”–>
<!–android:hint=”Name”–>
<!–android:inputType=”textCapWords” />–>
<!–</android.support.design.widget.TextInputLayout>–>

<!– Email Label –>
<android.support.design.widget.TextInputLayout
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:layout_marginBottom=”8dp”
android:layout_marginTop=”8dp”
>

<EditText
android:id=”@+id/input_email”
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:hint=”Email”
android:inputType=”textEmailAddress”
/>
</android.support.design.widget.TextInputLayout>

<!– Password Label –>
<android.support.design.widget.TextInputLayout
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:layout_marginBottom=”8dp”
android:layout_marginTop=”8dp”
>

<EditText
android:id=”@+id/input_password”
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:hint=”Password”
android:inputType=”textPassword”
/>
</android.support.design.widget.TextInputLayout>

<!– Signup Button –>
<android.support.v7.widget.AppCompatButton
android:id=”@+id/button_signup”
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:layout_marginBottom=”24dp”
android:layout_marginTop=”24dp”
android:padding=”12dp”
android:text=”Buat Akun”
/>

<TextView
android:id=”@+id/link_login”
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:layout_marginBottom=”24dp”
android:gravity=”center”
android:text=”@string/text_signup”
android:textSize=”16dip”
/>

<ProgressBar
android:id=”@+id/progressBar”
android:layout_width=”30dp”
android:layout_height=”30dp”
android:layout_gravity=”center|bottom”
android:layout_marginBottom=”20dp”
android:visibility=”gone”
/>

</LinearLayout>


</LinearLayout>

Leave a comment