<?xml version="1.0" encoding="utf-8"?>
|
<android.support.constraint.ConstraintLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:background="@color/transparent"
|
android:layout_margin="24dp">
|
|
<android.support.constraint.ConstraintLayout
|
android:id="@+id/cl_part_1"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintDimensionRatio="W, 1:10"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:background="@drawable/layerlist_1">
|
|
<TextView
|
android:id="@+id/tv_dialog_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:textColor="@android:color/white"
|
android:paddingTop="@dimen/dimen8"
|
android:textSize="18dp"
|
tools:text="快速评分"/>
|
|
</android.support.constraint.ConstraintLayout>
|
|
<android.support.constraint.ConstraintLayout
|
android:id="@+id/cl_part_2"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/cl_part_1"
|
app:layout_constraintBottom_toTopOf="@id/cl_part_3"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:background="@drawable/vector_3"
|
android:paddingTop="24dp">
|
|
<TextView
|
android:id="@+id/tv_neutral"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/tv_negative"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginStart="@dimen/dimen16"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
style="@style/TextButtonStyle"
|
android:background="@drawable/button_bg_enable_2"
|
android:textSize="@dimen/textSize_14"
|
tools:text="0分"/>
|
|
<TextView
|
android:id="@+id/tv_negative"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toEndOf="@id/tv_neutral"
|
app:layout_constraintEnd_toStartOf="@id/tv_positive"
|
app:layout_constraintTop_toTopOf="@id/tv_neutral"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
style="@style/TextButtonStyle"
|
android:background="@drawable/button_bg_enable_2"
|
android:textSize="@dimen/textSize_14"
|
tools:text="5分"/>
|
|
<TextView
|
android:id="@+id/tv_positive"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toEndOf="@id/tv_negative"
|
app:layout_constraintTop_toTopOf="@id/tv_negative"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="@dimen/dimen16"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
style="@style/TextButtonStyle"
|
android:textSize="@dimen/textSize_14"
|
android:background="@drawable/button_bg_enable_2"
|
tools:text="10分"/>
|
|
</android.support.constraint.ConstraintLayout>
|
|
<android.support.constraint.ConstraintLayout
|
android:id="@+id/cl_part_3"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintDimensionRatio="W, 1:10"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:background="@drawable/vector_4">
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
</android.support.constraint.ConstraintLayout>
|