Page 787 - 3-2
P. 787
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:gravity="center"
android:orientation="vertical"
tools:context="kr.icehs.intec.mdp.MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center">
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:gravity="center"
android:text=" 마음에 드는 우산을 선택해주세요"
android:textColor="@color/colorPrimary"
android:textSize="26dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center"
android:weightSum="1">
<ImageView
android:id="@+id/umbrella1"
android:layout_width="130dp"
android:layout_height="match_parent"
android:layout_weight="0.28"
android:background="@drawable/umbrella1"
android:onClick="onClick_umbrella1"/>
<TextView
android:layout_width="wrap_content"
- 787 -