Created
December 29, 2016 09:22
-
-
Save adityaladwa/683315868194c497c237b4ba9a91906d 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"?> | |
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment