Newer
Older
MonCalc / app / src / main / res / layout / activity_test.xml
KeijuMatsumoto on 5 Nov 2017 728 bytes [add] update ui
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <data>

        <variable
            name="viewModel"
            type="jackall.moncalc.viewmodel.TestViewModel" />
    </data>

    <android.support.constraint.ConstraintLayout

        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context="jackall.moncalc.activity.TestActivity">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:hogehoge="@{viewModel.hogehoge}" />

    </android.support.constraint.ConstraintLayout>
</layout>