|
@@ -0,0 +1,218 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:background="#212121">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_brush1"
|
|
|
|
+ android:layout_width="36dp"
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
+ android:src="@drawable/ic_brush_1"
|
|
|
|
+ android:layout_marginLeft="24dp"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_brush2" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_brush2"
|
|
|
|
+ android:layout_width="36dp"
|
|
|
|
+ android:layout_height="72dp"
|
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
+ android:src="@drawable/ic_brush_2"
|
|
|
|
+ android:alpha="0.7"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_brush1"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_brush3" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_brush3"
|
|
|
|
+ android:layout_width="36dp"
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
+ android:src="@drawable/ic_brush_3"
|
|
|
|
+ android:alpha="0.7"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_brush2"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_brush4" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_brush4"
|
|
|
|
+ android:layout_width="36dp"
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
+ android:src="@drawable/ic_brush_4"
|
|
|
|
+ android:alpha="0.7"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_brush3"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_brush5" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_brush5"
|
|
|
|
+ android:layout_width="36dp"
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
+ android:src="@drawable/ic_brush_eraser"
|
|
|
|
+ android:alpha="0.7"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_brush4"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/seek_bar_brush_view_size"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_brush_view_size"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="Size:"
|
|
|
|
+ android:textColor="#ffffff"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/seek_bar_brush_view_size"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/seek_bar_brush_view_size"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <android.support.v7.widget.AppCompatSeekBar
|
|
|
|
+ android:id="@+id/seek_bar_brush_view_size"
|
|
|
|
+ android:layout_width="240dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="36dp"
|
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_brush5"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_color1"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_brush_view_size" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color1"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/seek_bar_brush_view_size"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_color2"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color2"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_color1"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_color3"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color3"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/iv_brush_view_color2"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_color4"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color4"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_color3"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_brush_view_color5"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color5"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_color4"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/btn_brush_view_tune"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color6"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_brush_view_color1" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color7"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_brush_view_color2"/>
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color8"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_brush_view_color3" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color9"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_brush_view_color4" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_brush_view_color10"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
|
+ android:scaleType="center"
|
|
|
|
+ android:src="@drawable/btn_edit_text_dialog_circle_red"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_brush_view_color5" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_brush_view_tune"
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="24dp"
|
|
|
|
+ android:layout_marginRight="24dp"
|
|
|
|
+ android:background="#212121"
|
|
|
|
+ android:drawableStart="@drawable/ic_tune"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_brush_view_color5"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/btn_brush_view_done"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_brush_view_done"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginRight="24dp"
|
|
|
|
+ android:background="@drawable/btn_round_corner_main"
|
|
|
|
+ android:drawableStart="@drawable/ic_done"
|
|
|
|
+ android:text="DONE"
|
|
|
|
+ android:textColor="#4e342e"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+</android.support.constraint.ConstraintLayout>
|