Created
December 29, 2016 09:50
-
-
Save adityaladwa/836045eb9ce1be2cfa558627e1ba8da3 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" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<RelativeLayout | |
android:id="@+id/activity_main" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.ladwa.aditya.databindingintrotutorial.MainActivity"> | |
<TextView | |
android:id="@+id/text_hello" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:text="Hello World!" | |
android:textSize="18sp" | |
/> | |
<TextView | |
android:id="@+id/text_name" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@id/text_hello" | |
android:layout_centerInParent="true" | |
android:text="Name" | |
android:textSize="15sp"/> | |
</RelativeLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment