Created
July 20, 2018 20:28
-
-
Save paulocns/6d8b540302377273439333b62bafbfd9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layout | |
xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
<variable | |
name="viewModel" | |
type="package.QueryViewModelArc"/> | |
</data> | |
<FrameLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:orientation="vertical"> | |
. | |
. | |
. | |
<EditText | |
android:id="@+id/edit_query" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:imeOptions="actionDone" | |
android:inputType="text" | |
android:text="@={viewModel.query}" | |
android:maxLines="1"/> | |
. | |
. | |
. | |
</FrameLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment