<?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"
|
android:paddingBottom="24dp">
|
|
<TextView
|
android:id="@+id/tv_dialog_content"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:textColor="@color/main_color_3"
|
android:textSize="30sp"
|
tools:text="11分"/>
|
|
</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">
|
|
<TextView
|
android:id="@+id/tv_neutral"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginStart="@dimen/dimen16"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
style="@style/TextButtonStyle"
|
android:background="@drawable/button_bg_enable_2"
|
android:textSize="@dimen/textSize_14"
|
android:text="@string/cancel"/>
|
|
<TextView
|
android:id="@+id/tv_negative"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintEnd_toStartOf="@id/tv_positive"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginEnd="@dimen/dimen16"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
style="@style/TextButtonStyle"
|
android:background="@drawable/button_bg_enable_2"
|
android:textSize="@dimen/textSize_14"
|
android:text="@string/not_save"/>
|
|
<TextView
|
android:id="@+id/tv_positive"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginEnd="@dimen/dimen16"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
style="@style/TextButtonStyle"
|
android:background="@drawable/button_bg_enable_2"
|
android:textSize="@dimen/textSize_14"
|
android:text="@string/save"/>
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
</android.support.constraint.ConstraintLayout>
|