<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.hp.rating.MainActivity"
android:background="@color/colorPrimary">
<
RatingBar
android:id
=
"@+id/ratingBar"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginTop
=
"104dp"
android:background
=
"@color/colorPrimary"
app:layout_constraintLeft_toLeftOf
=
"parent"
app:layout_constraintRight_toRightOf
=
"parent"
app:layout_constraintTop_toTopOf
=
"parent"
tools:layout_constraintLeft_creator
=
"1"
tools:layout_constraintRight_creator
=
"1"
tools:layout_constraintTop_creator
=
"1"
/>
<
TextView
android:id
=
"@+id/textView"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:text
=
"Rate Me!!!"
android:textColor
=
"@android:color/background_dark"
android:textSize
=
"30sp"
android:textStyle
=
"bold|italic"
tools:layout_editor_absoluteX
=
"127dp"
tools:layout_editor_absoluteY
=
"28dp"
/>
<
TextView
android:id
=
"@+id/textView2"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginTop
=
"148dp"
android:textColorHint
=
"@color/colorAccent"
android:textSize
=
"24sp"
app:layout_constraintLeft_toLeftOf
=
"parent"
app:layout_constraintRight_toRightOf
=
"parent"
app:layout_constraintTop_toBottomOf
=
"@+id/ratingBar"
tools:layout_constraintRight_creator
=
"1"
tools:layout_constraintLeft_creator
=
"1"
/>
<
Button
android:id
=
"@+id/button"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginBottom
=
"50dp"
android:layout_marginTop
=
"50dp"
android:background
=
"@android:color/holo_red_dark"
android:onClick
=
"Call"
android:text
=
"Submit"
android:textColor
=
"@android:color/background_light"
android:textStyle
=
"bold|italic"
app:layout_constraintBottom_toTopOf
=
"@+id/textView2"
app:layout_constraintLeft_toLeftOf
=
"parent"
app:layout_constraintRight_toRightOf
=
"parent"
app:layout_constraintTop_toBottomOf
=
"@+id/ratingBar"
tools:layout_constraintBottom_creator
=
"1"
tools:layout_constraintLeft_creator
=
"1"
tools:layout_constraintRight_creator
=
"1"
tools:layout_constraintTop_creator
=
"1"
/>
</
android.support.constraint.ConstraintLayout
>