Created
December 28, 2017 10:28
-
-
Save communikein/460ee136ed3f9a9b7a836320965dc710 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
<?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" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<data> | |
<variable | |
name="secondaryUser" | |
type="it.communikein.myunimib.User" /> | |
</data> | |
<android.support.v4.widget.NestedScrollView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="@dimen/activity_vertical_margin" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" | |
tools:showIn="@layout/data_binding_include_main_layout"> | |
<android.support.constraint.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:id="@+id/user_name_label" | |
style="@style/TextLabel" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="24dp" | |
android:text="@string/label_user_name" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:id="@+id/user_name_textview" | |
style="@style/TextContent" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:text="@{secondaryUser.getName()}" | |
android:textSize="15sp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@id/user_name_label" | |
tools:text="@string/holder_user_name" /> | |
<TextView | |
android:id="@+id/user_password_label" | |
style="@style/TextLabel" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="24dp" | |
android:text="@string/label_user_password" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@id/user_name_textview" /> | |
<TextView | |
android:id="@+id/user_password_textview" | |
style="@style/TextContent" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:text="@{secondaryUser.getPassword()}" | |
android:textSize="15sp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@id/user_password_label" | |
tools:text="@string/holder_user_password" /> | |
</android.support.constraint.ConstraintLayout> | |
</android.support.v4.widget.NestedScrollView> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment