<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
android.support.constraint.ConstraintLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
tools:context
=
"com.geeksforgeeks.screenorientation.MainActivity"
>
<
Button
android:id
=
"@+id/b1"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:text
=
"Next Activity"
android:layout_marginTop
=
"100dp"
android:onClick
=
"onClick"
android:layout_marginBottom
=
"10dp"
app:layout_constraintBottom_toBottomOf
=
"parent"
app:layout_constraintEnd_toEndOf
=
"parent"
app:layout_constraintVertical_bias
=
"0.613"
app:layout_constraintHorizontal_bias
=
"0.612"
app:layout_constraintStart_toStartOf
=
"parent"
app:layout_constraintTop_toBottomOf
=
"@+id/tv1"
/>
<
TextView
android:text
=
"Potrait orientation"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_centerHorizontal
=
"true"
android:layout_marginTop
=
"124dp"
android:textSize
=
"25dp"
app:layout_constraintEnd_toEndOf
=
"parent"
app:layout_constraintHorizontal_bias
=
"0.502"
app:layout_constraintStart_toStartOf
=
"parent"
app:layout_constraintTop_toTopOf
=
"parent"
/>
</
android.support.constraint.ConstraintLayout
>