<?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <data> <variable name="viewModel" type="org.ntlab.leftoverrecipe.viewmodel.MenuViewModel" /> </data> <android.support.constraint.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.beardedhen.androidbootstrap.BootstrapButton android:id="@+id/bootstrapButton4" android:layout_width="144dp" android:layout_height="50dp" android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:onClick="@{viewModel.onClickSearch}" android:text="レシピを探す" app:bootstrapBrand="primary" app:bootstrapSize="lg" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:roundedCorners="true" /> <com.beardedhen.androidbootstrap.BootstrapButton android:layout_width="144dp" android:layout_height="50dp" android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:onClick="@{viewModel.onClickDialy}" android:text="料理日記" app:bootstrapBrand="primary" app:bootstrapSize="lg" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/bootstrapButton4" app:roundedCorners="true"></com.beardedhen.androidbootstrap.BootstrapButton> </android.support.constraint.ConstraintLayout> </layout>