| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/activity_example_rtmp"
- 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_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/b_start_stop"
- />
- </LinearLayout>
- </RelativeLayout>
|