Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample layout file for the demo of template creation.
<?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="yourpackage.YourViewModel" />
</data>
<!-- Add your views here.-->
</layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment