We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fragment_cm.xml
<?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout 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="match_parent" android:background="@color/colorWhite"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/mPublisherViewContainer" android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/constTop" android:layout_width="match_parent" android:layout_height="@dimen/_50sdp" android:background="@color/colorPink" android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <com.app.readyb.customview.textview.CustomTextAxiReg android:id="@+id/txtTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_10sdp" android:text="@string/time_left" android:textColor="@color/colorBlack" android:textSize="@dimen/_10ssp" app:layout_constraintBottom_toTopOf="@+id/txtTimeUpdate" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <com.app.readyb.customview.textview.CustomTextAxiReg android:id="@+id/txtTimeUpdate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/_5sdp" android:textColor="@color/colorBlack" android:textSize="@dimen/_25ssp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" /> <ProgressBar android:id="@+id/progressClock" style="@android:style/Widget.ProgressBar.Horizontal" android:layout_width="match_parent" android:layout_height="@dimen/_3sdp" android:progressDrawable="@drawable/progress_black_pink" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" /> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/_10sdp" android:gravity="center" android:orientation="vertical" app:cardElevation="@dimen/_10sdp" app:cardPreventCornerOverlap="false" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"> <LinearLayout android:id="@+id/linearTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@color/colorLightRed" android:clickable="true" android:focusable="true" android:gravity="center" android:orientation="vertical" android:padding="@dimen/_5sdp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/add_time" /> <com.app.readyb.customview.textview.CustomTextAxiReg android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_3sdp" android:text="@string/add_time_video" android:textColor="@color/colorBlack" android:textSize="@dimen/_10ssp" /> </LinearLayout> </androidx.cardview.widget.CardView> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rclLiveVideo" android:layout_width="match_parent" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/constTop" /> <com.app.readyb.customview.textview.CustomTextAxiBold android:id="@+id/txtRecording" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" android:gravity="center_horizontal" android:textColor="@color/colorRed" android:textSize="@dimen/_12ssp" android:textStyle="bold" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/constTop" /> <ImageView android:id="@+id/imgNoVideoAttendees" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_10sdp" android:src="@drawable/no_participant" app:layout_constraintBottom_toTopOf="@+id/txtNoVideoAttendees" /> <com.app.readyb.customview.textview.CustomTextAxiReg android:id="@+id/txtNoVideoAttendees" android:layout_width="0dp" android:layout_height="wrap_content" android:gravity="center_horizontal" android:textColor="@color/colorBlack" android:textSize="@dimen/_12ssp" android:layout_marginStart="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/imgNoVideoAttendees" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> <RelativeLayout android:id="@+id/relPublisherView" android:layout_width="@dimen/_60sdp" android:layout_height="@dimen/_70sdp" android:layout_margin="@dimen/_3sdp" android:layout_gravity="top" android:gravity="center" android:background="@drawable/border_green_lvs" android:padding="@dimen/_1sdp" /> <include layout="@layout/bottom_sheet_persistent" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
bottom_sheet_persistent.xml
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/bottomSheet" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/colorWhite" app:behavior_hideable="false" app:behavior_peekHeight="@dimen/_10sdp" app:layout_behavior="@string/bottom_sheet_behavior" > <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/constraintSlideUp" android:layout_width="match_parent" android:layout_height="@dimen/_10sdp" app:layout_constraintTop_toTopOf="parent" android:alpha="0.7" android:background="@color/colorPopupTransparent"> <com.app.readyb.customview.button.CustomButtonAxiBold android:id="@+id/btnSlideUp" android:layout_width="@dimen/_50sdp" android:layout_height="@dimen/_3sdp" android:layout_gravity="center" android:background="@drawable/layout_round_camera" android:gravity="center" android:textAllCaps="false" android:textSize="@dimen/_14ssp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/constraintMessage" android:layout_width="match_parent" android:layout_height="@dimen/_180sdp" android:visibility="gone" app:layout_constraintTop_toBottomOf="@+id/constraintSlideUp"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rclMessages" android:layout_width="match_parent" android:layout_height="@dimen/_125sdp" android:layout_marginStart="@dimen/_15sdp" android:layout_marginTop="@dimen/_10sdp" android:layout_marginEnd="@dimen/_15sdp" android:layout_marginBottom="@dimen/_10sdp" android:background="@android:color/white" app:layout_constraintBottom_toTopOf="@+id/edtMessage" app:layout_constraintStart_toStartOf="parent" /> <com.app.readyb.customview.editview.MessagingEditAxiReg android:id="@+id/edtMessage" android:layout_width="0dp" android:layout_height="@dimen/_35sdp" android:layout_centerInParent="true" android:layout_marginStart="@dimen/_10sdp" android:layout_marginTop="@dimen/_10sdp" android:layout_marginEnd="@dimen/_5sdp" android:layout_marginBottom="@dimen/_10sdp" android:background="@drawable/border_gray_rectangle" android:gravity="center_vertical" android:hint="@string/write_a_message" android:maxHeight="@dimen/_70sdp" android:paddingStart="@dimen/_5sdp" android:paddingEnd="@dimen/_5sdp" android:textColor="@color/colorBlack" android:textSize="@dimen/_13ssp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/imgSend" app:layout_constraintStart_toStartOf="parent" /> <ImageButton android:id="@+id/imgSend" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/_15sdp" android:layout_marginBottom="@dimen/_16sdp" android:background="@color/colorWhite" android:src="@drawable/disable_send" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/constraintParticipants" android:layout_width="match_parent" android:visibility="gone" android:layout_height="@dimen/_170sdp" app:layout_constraintTop_toBottomOf="@+id/constraintSlideUp"> <com.app.readyb.customview.textview.CustomTextAxiBold android:id="@+id/txtParticipants" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_15sdp" android:text="@string/participants" android:textColor="@color/colorBlack" android:textSize="@dimen/_14ssp" android:textStyle="bold" app:layout_constraintBottom_toTopOf="@+id/rclAttendees" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"/> <com.app.readyb.customview.textview.CustomTextAxiBold android:id="@+id/txtOnlineParticipants" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/_15sdp" android:textColor="@color/colorBlack" android:textSize="@dimen/_14ssp" android:textStyle="bold" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"/> <ImageView android:id="@+id/imgNoAttendees" android:layout_width="@dimen/_50sdp" android:layout_height="@dimen/_50sdp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" android:layout_marginTop="@dimen/_50sdp" android:src="@drawable/no_participant" app:layout_constraintBottom_toTopOf="@+id/txtNoAttendees"/> <com.app.readyb.customview.textview.CustomTextAxiReg android:id="@+id/txtNoAttendees" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_horizontal" android:text="@string/no_attendies" android:textColor="@color/colorBlack" android:textSize="@dimen/_12ssp" android:layout_marginTop="@dimen/_10sdp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintTop_toBottomOf="@+id/imgNoAttendees" app:layout_constraintStart_toStartOf="parent" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rclAttendees" android:layout_width="match_parent" android:layout_height="@dimen/_140sdp" android:layout_marginStart="@dimen/_15sdp" android:layout_marginTop="@dimen/_10sdp" android:visibility="gone" android:layout_marginEnd="@dimen/_15sdp" android:layout_marginBottom="@dimen/_10sdp" android:background="@android:color/white" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/txtParticipants" /> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/constraintEvents" android:layout_width="match_parent" android:layout_height="@dimen/_40sdp" app:layout_constraintTop_toBottomOf="@+id/constraintParticipants"> <ImageView android:id="@+id/imgChat" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" android:src="@drawable/image_chat" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/imgParticipants" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"/> <ImageView android:id="@+id/imgParticipants" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" android:src="@drawable/image_attendee" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/imgVideoRecording" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toEndOf="@+id/imgChat" app:layout_constraintTop_toTopOf="parent"/> <ImageView android:id="@+id/imgVideoRecording" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" android:src="@drawable/image_recording" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/imgUnMute" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toEndOf="@+id/imgParticipants" app:layout_constraintTop_toTopOf="parent"/> <ImageView android:id="@+id/imgUnMute" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" android:src="@drawable/image_mute_unmute" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/imgCamera" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toEndOf="@+id/imgVideoRecording" app:layout_constraintTop_toTopOf="parent"/> <ImageView android:id="@+id/imgCamera" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_10sdp" android:layout_marginEnd="@dimen/_10sdp" android:src="@drawable/camera_flip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toEndOf="@+id/imgUnMute" app:layout_constraintTop_toTopOf="parent"/> </androidx.constraintlayout.widget.ConstraintLayout> <com.app.readyb.customview.button.CustomButtonAxiReg android:id="@+id/btnPause" android:layout_width="0dp" android:layout_height="@dimen/_40sdp" android:background="@color/colorBgOffGray" android:gravity="center" android:singleLine="true" android:text="@string/pause" android:textAllCaps="true" android:textSize="@dimen/_15ssp" app:layout_constraintTop_toBottomOf="@+id/constraintEvents" app:layout_constraintEnd_toStartOf="@+id/btnEndService" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintHorizontal_weight="0.5" app:layout_constraintStart_toStartOf="parent"/> <com.app.readyb.customview.button.CustomButtonAxiReg android:id="@+id/btnEndService" android:layout_width="0dp" android:layout_height="@dimen/_40sdp" android:background="@color/colorBlack" android:gravity="center" android:text="@string/end_service" android:textAllCaps="true" android:textColor="@color/colorWhite" android:textSize="@dimen/_15ssp" app:layout_constraintTop_toBottomOf="@+id/constraintEvents" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintHorizontal_weight="0.5" app:layout_constraintStart_toEndOf="@+id/btnPause"/> </androidx.constraintlayout.widget.ConstraintLayout>
The text was updated successfully, but these errors were encountered:
@hyuwah When the bottom sheet open and relPublisherView on the bottom sheet. It will not drag.
Code which I used for dragging. DraggableUtils.makeDraggable(relPublisherView, Draggable.STICKY.AXIS_XY, false, this);
Sorry, something went wrong.
No branches or pull requests
fragment_cm.xml
bottom_sheet_persistent.xml
The text was updated successfully, but these errors were encountered: