Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/colorWhite">
- <SurfaceView
- android:id="@+id/surface_view_camera"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="vertical">
- <!--include-->
- <FrameLayout
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:orientation="vertical">
- <alzaichsank.com.mnc_core_module.base.widget.FixedAspectRatioFrameLayout
- android:id="@+id/frame_surface"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="5dp"
- app:aspectRatioHeight="9"
- app:aspectRatioWidth="16">
- <!--include-->
- <RelativeLayout 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_centerInParent="true"
- android:layout_height="match_parent">
- <RelativeLayout
- android:id="@+id/section_record"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clickable="true">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerInParent="true">
- <ImageView
- android:id="@+id/image_record_videos"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="12dp"
- android:fontFamily="metube_font_icon"
- android:text="Record"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/image_record_videos" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </RelativeLayout>
- </RelativeLayout>
- </alzaichsank.com.mnc_core_module.base.widget.FixedAspectRatioFrameLayout>
- </FrameLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/camera_layout"
- android:layout_alignParentBottom="true"
- android:background="@color/colorWhite">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_list_item_vertical_upload_video"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:scrollbars="vertical" />
- <TextView
- android:id="@+id/tv_video_not_found"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:text="@string/no_video_available"
- android:textColor="@color/colorText"
- android:textSize="@dimen/medium_font_size"
- android:visibility="gone" />
- <LinearLayout
- android:id="@+id/refresh_button"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:orientation="vertical"
- android:visibility="gone">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="Akses ke penyimpanan diperlukan"
- android:textColor="@color/md_black_1000" />
- <androidx.appcompat.widget.AppCompatButton
- android:id="@+id/button_check_permission"
- android:layout_width="@dimen/_100sdp"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_margin="@dimen/medium_large_margin"
- android:background="@drawable/bg_primary_button"
- android:fontFamily="@font/gs_medium"
- android:gravity="center"
- android:padding="@dimen/small_to_medium_margin"
- android:text="Izinikan"
- android:textAllCaps="true"
- android:textColor="@color/colorWhite"
- android:textSize="@dimen/small_font_size" />
- </LinearLayout>
- <ProgressBar
- android:id="@+id/progress_bar_upload"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true" />
- </RelativeLayout>
- </RelativeLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement