colorpicker icon indicating copy to clipboard operation
colorpicker copied to clipboard

Support horizontal layout in dialog

Open QuadFlask opened this issue 8 years ago • 1 comments

QuadFlask avatar Jan 31 '17 07:01 QuadFlask

<com.flask.colorpicker.ColorPickerView android:id="@+id/color_picker_view" android:layout_width="0dp" android:layout_height="0dp" app:alphaSlider="true" app:layout_constraintDimensionRatio="1:1" app:density="12" app:layout_constraintBottom_toTopOf="@+id/home_bt_color" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/home_change" app:lightnessSlider="true" app:lightnessSliderView="@+id/v_lightness_slider" app:wheelType="CIRCLE" bind:visibility="@{!vm.changeDish}" />

you cen set app:layout_constraintDimensionRatio="1:1" in the ConstraintLayout

TsaiYongChuan avatar Nov 14 '19 02:11 TsaiYongChuan