Created
October 28, 2017 01:23
-
-
Save alfianyusufabdullah/aa9c45a32ce57b9b6e4fbf7bca6a624c to your computer and use it in GitHub Desktop.
login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"> | |
<solid android:color="@color/colorAccent"/> | |
<corners android:radius="50dp"/> | |
</shape> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout 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" | |
tools:context="jonesrandom.kamusobat.MainActivity"> | |
<ScrollView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true"> | |
<android.support.v7.widget.CardView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_margin="30dp" | |
app:cardCornerRadius="5dp" | |
app:cardElevation="2dp"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="30dp"> | |
<View | |
android:layout_width="3dp" | |
android:layout_height="match_parent" | |
android:background="@color/colorAccent" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="40dp" | |
android:layout_marginRight="40dp" | |
android:layout_marginTop="10dp" | |
android:layout_marginBottom="10dp" | |
android:text="LOGIN ADMIN" | |
android:textSize="25sp" | |
android:textColor="@color/colorAccent"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:layout_marginRight="43dp" | |
android:layout_marginLeft="43dp" | |
android:layout_marginTop="30dp"> | |
<android.support.design.widget.TextInputLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:hint="Email" | |
android:inputType="textEmailAddress"/> | |
</android.support.design.widget.TextInputLayout> | |
<android.support.design.widget.TextInputLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
app:passwordToggleEnabled="true"> | |
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:inputType="textPassword" | |
android:hint="Password"/> | |
</android.support.design.widget.TextInputLayout> | |
<Button | |
android:layout_width="match_parent" | |
android:layout_height="40dp" | |
android:layout_marginTop="20dp" | |
android:layout_marginBottom="20dp" | |
android:background="@drawable/bg_btn" | |
android:text="SIGN IN" | |
android:textColor="#fff"/> | |
</LinearLayout> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> | |
</ScrollView> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment