I'm trying to put 2 buttons next to each other, but the following code doesn't do so. What should be done to put them next to each other?
<Button
android:id="@+id/click"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Click"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="@id/do"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.75"/>
<ImageButton
android:id="@+id/do"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="@id/click"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="?attr/actionModeCopyDrawable" />