Created
March 27, 2019 11:12
-
-
Save Frederikos/2a0d2882c95becb0016f1fcd6df8af14 to your computer and use it in GitHub Desktop.
This file contains 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
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<data> | |
<variable | |
name="viewModel" | |
type="com.test.sample.viewmodel.PlaceItemViewModel" /> | |
</data> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/tv_title" | |
style="@style/TitleLeft" | |
android:text="@{viewModel.placeTitle}" /> | |
<TextView | |
android:id="@+id/tv_votes_count" | |
style="@style/Subtitle" | |
android:text="@{viewModel.countVotes}" /> | |
</LinearLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment