JUST SHARE, LEARN, TOGETHER, LET'S RAWKER

Tampilkan postingan dengan label Android Studio. Tampilkan semua postingan
Tampilkan postingan dengan label Android Studio. Tampilkan semua postingan

Rabu, 09 November 2016

Membuat halaman Login dengan Android Studio


Just shared
"Tugas Pemrograman Mobile" membuat halaman login

Let's rawk

 Screenshoot :


Coding :

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
   
android:paddingBottom="16dp"
   
android:paddingLeft="16dp"
   
android:paddingRight="16dp"
   
android:paddingTop="16dp"
   
tools:context="com.example.haris.myapplication.MainActivity">

    <
LinearLayout
       
android:layout_width="match_parent"
       
android:layout_height="wrap_content"
       
android:orientation="vertical">
        <
EditText
           
android:layout_width="match_parent"
           
android:layout_height="wrap_content"
           
android:hint="Username"
           
android:layout_marginTop="50px"
           
/>
        <
EditText
           
android:layout_width="match_parent"
           
android:layout_height="wrap_content"
           
android:hint="Password"
           
android:layout_marginTop="20px"/>
        <
Button
           
android:layout_width="match_parent"
           
android:layout_height="wrap_content"
           
android:text="sign in"
           
android:layout_marginTop="20px"
           
/>
        <
Button
           
android:layout_width="match_parent"
           
android:layout_height="wrap_content"
           
android:text="Cencel"
           
android:layout_marginTop="20px"/>
    </
LinearLayout>


</
RelativeLayout>

Share:

Popular Posts

Copyright © Diantarawk! | Powered by Blogger

Design by ThemePacific | Blogger Theme by NewBloggerThemes.com