<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
tools:context
=
"com.example.administrator.textview.MainActivity"
>
<
TextView
android:id
=
"@+id/textView1"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_alignParentTop
=
"true"
android:layout_centerHorizontal
=
"true"
android:layout_marginTop
=
"146dp"
android:background
=
"#f88"
android:text
=
"@string/hello_world"
app:layout_constraintBottom_toBottomOf
=
"parent"
app:layout_constraintLeft_toLeftOf
=
"parent"
app:layout_constraintRight_toRightOf
=
"parent"
app:layout_constraintTop_toTopOf
=
"parent"
/>
<
TextView
android:id
=
"@+id/textView2"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_alignLeft
=
"@id/textView1"
android:layout_centerVertical
=
"true"
android:background
=
"#88ff88"
android:text
=
"Hello Guys"
/>
<
TextView
android:id
=
"@+id/textMessage"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_alignLeft
=
"@id/textView1"
android:layout_below
=
"@id/textView2"
android:background
=
"#880000ff"
android:textColor
=
"#fff"
android:textSize
=
"25sp"
android:text
=
"Message"
/>
</
android.support.constraint.ConstraintLayout
>