|
|
@@ -0,0 +1,83 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+
|
|
|
+ >
|
|
|
+ <data>
|
|
|
+ <import type="kr.co.zumo.app.lifeplus.view.model.Event"/>
|
|
|
+ <variable
|
|
|
+ name="model"
|
|
|
+ type="kr.co.zumo.app.lifeplus.view.model.ViewModel"/>
|
|
|
+ </data>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="300dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="25dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/agree_check1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="3pt"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:textIsSelectable="false"
|
|
|
+ android:textSize="15dp"
|
|
|
+ android:onCheckedChanged="@{(view, isChecked)-> isChecked ? model.onEvent(Event.CHECK, 0) : model.onEvent(Event.UNCHECK, 0)}"
|
|
|
+ />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2dp"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginRight="5pt"
|
|
|
+ android:background="@color/colorAccent"/>
|
|
|
+
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/agree_check2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginTop="3pt"
|
|
|
+ android:textSize="15dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/agree_check3"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:textSize="15dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/agree_check4"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:textSize="15dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/agree_check5"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:text="1"
|
|
|
+ android:textSize="15dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/agree_check6"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:text="1"
|
|
|
+ android:textSize="15dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|