| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:openDrawer="start"
- android:id="@+id/activity_custom"
- >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <SurfaceView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/surfaceView"
- />
- <EditText
- android:textColor="@color/appColor"
- android:textColorHint="@color/appColor"
- android:inputType="textUri"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:layout_margin="20dp"
- android:id="@+id/et_rtp_url"
- />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_alignParentBottom="true"
- android:layout_margin="20dp"
- android:gravity="center"
- >
- <Button
- android:text="@string/start_record"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:id="@+id/b_record"
- />
- <Button
- android:text="@string/start_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:id="@+id/b_start_stop"
- />
- <Button
- android:text="@string/switch_camera_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/switch_camera"
- />
- </LinearLayout>
- <TextView
- android:textColor="@color/appColor"
- android:id="@+id/tv_bitrate"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
- android:layout_below="@+id/et_rtp_url"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="20dp"
- />
- </RelativeLayout>
- <com.google.android.material.navigation.NavigationView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:paddingBottom="30dp"
- android:fitsSystemWindows="true"
- app:headerLayout="@xml/options_header"
- android:id="@+id/nv_rtp"
- >
- </com.google.android.material.navigation.NavigationView>
- </androidx.drawerlayout.widget.DrawerLayout>
|