Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:id="@+id/activity_main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="semos.edu.mk.miloshevski.layout.MainActivity">
- <RelativeLayout
- android:id="@+id/lyt_user"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp">
- <TextView
- android:id="@+id/tv_Pass"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:text="Name:" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_toEndOf="@+id/tv_Pass"
- android:hint="Username:" />
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/lyt_pass"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/lyt_user"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp">
- <TextView
- android:id="@+id/tv_Pass"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:text="Password:" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_toEndOf="@+id/tv_Pass"
- android:hint="Password:"
- android:inputType="textPassword" />
- </RelativeLayout>
- <Button
- android:id="@+id/bt_ok"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/lyt_pass"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:background="#000"
- android:text="OK"
- android:textColor="#fff" />
- <RadioGroup
- android:id="@+id/rg_group"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/bt_ok"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:orientation="horizontal">
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Item1" />
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Item2" />
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Item3" />
- </RadioGroup>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/rg_group"
- android:orientation="horizontal"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp">
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Button1"
- android:textAllCaps="false"
- android:background="#129793"
- android:id="@+id/button" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textAllCaps="false"
- android:text="Button2" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textAllCaps="false"
- android:text="Button3" />
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement