
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="5">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|center"
android:layout_marginTop="20dp"
android:textSize="40dp"
android:text="암호"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|center"
android:layout_marginBottom="10dp"
android:textSize="17dp"
android:text="카카오톡 암호를 입력해 주세요."/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:gravity="bottom|center">
<ImageView
android:layout_width="60dp"
android:layout_height="80dp"
android:layout_marginRight="15dp"
android:src="@drawable/image1"/>
<ImageView
android:layout_width="60dp"
android:layout_height="80dp"
android:layout_marginRight="7dp"
android:src="@drawable/image1"/>
<ImageView
android:layout_width="60dp"
android:layout_height="80dp"
android:layout_marginLeft="7dp"
android:src="@drawable/image1"/>
<ImageView
android:layout_width="60dp"
android:layout_height="80dp"
android:layout_marginLeft="15dp"
android:src="@drawable/image1"/>
</LinearLayout>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="3"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginLeft="15dp"
android:layout_gravity="top|left"
android:src="@drawable/num_1"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_gravity="top|center"
android:src="@drawable/num_2"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginRight="15dp"
android:layout_gravity="top|right"
android:src="@drawable/num_3"/>
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginLeft="15dp"
android:layout_gravity="top|left"
android:src="@drawable/num_4"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_gravity="top|center"
android:src="@drawable/num_5"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginRight="15dp"
android:layout_gravity="top|right"
android:src="@drawable/num_6"/>
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginLeft="15dp"
android:layout_gravity="top|left"
android:src="@drawable/num_7"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_gravity="top|center"
android:src="@drawable/num_8"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginRight="15dp"
android:layout_gravity="top|right"
android:src="@drawable/num_9"/>
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_gravity="top|center"
android:src="@drawable/num_0"/>
<ImageView
android:layout_width="100dp"
android:layout_height="120dp"
android:layout_marginRight="15dp"
android:layout_gravity="top|right"
android:src="@drawable/num_"/>
</FrameLayout>
</LinearLayout>
</LinearLayout>
'Android' 카테고리의 다른 글
무료아이콘 다운로드 (2) | 2017.02.02 |
---|---|
스플래쉬 참고 (0) | 2017.02.01 |
[Do it! Android] 도전! 3. 로그인 화면과 메뉴 화면 간단히 만들기 (0) | 2016.11.01 |
[Do it! Android] 도전! 2. SMS 입력 화면 만들고 글자 수 표시하기 (1) | 2016.11.01 |
[Do it! Android] 도전! 1. 한 화면에 두 개의 이미지 뷰 배치하기(2개의 이미지 Change) (0) | 2016.10.28 |