1
This commit is contained in:
@@ -1,324 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#000"
|
||||
>
|
||||
|
||||
<com.tencent.rtmp.ui.TXCloudVideoView
|
||||
android:id="@+id/video_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/group_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/btn_start_record"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:onClick="recordClick"
|
||||
>
|
||||
|
||||
<com.yunbao.video.custom.VideoRecordBtnView
|
||||
android:id="@+id/record_btn_view"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
app:vrb_color="#80ff6131"
|
||||
app:vrb_max_width="10dp"
|
||||
app:vrb_min_width="2dp"
|
||||
app:vrb_start_width="7dp"
|
||||
/>
|
||||
|
||||
<View
|
||||
android:id="@+id/record_view"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="52dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/bg_btn_record_1"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/btn_next"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="35dp"
|
||||
android:onClick="recordClick"
|
||||
android:paddingTop="4dp"
|
||||
android:translationX="120dp"
|
||||
android:visibility="invisible"
|
||||
app:dt_top_drawable="@mipmap/icon_video_next"
|
||||
app:dt_top_height="30dp"
|
||||
app:dt_top_width="30dp"
|
||||
/>
|
||||
|
||||
<com.yunbao.video.custom.RecordProgressView
|
||||
android:id="@+id/record_progress_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="3dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/record_progress_view"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="0.00s"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/group_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="30dp"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_back"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:onClick="backClick"
|
||||
android:padding="10dp"
|
||||
android:src="@mipmap/icon_video_close"
|
||||
android:translationY="-2dp"
|
||||
/>
|
||||
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/btn_camera"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:drawablePadding="2dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:onClick="recordClick"
|
||||
android:paddingTop="3dp"
|
||||
android:text="@string/video_record_camera"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11sp"
|
||||
app:dt_top_drawable="@mipmap/icon_video_camera"
|
||||
app:dt_top_height="26dp"
|
||||
app:dt_top_width="26dp"
|
||||
/>
|
||||
|
||||
<com.yunbao.common.custom.DrawableRadioButton2
|
||||
android:id="@+id/btn_flash"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/btn_camera"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:button="@null"
|
||||
android:drawablePadding="2dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:onClick="recordClick"
|
||||
android:paddingTop="3dp"
|
||||
android:text="@string/video_record_flash"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11sp"
|
||||
app:dt_top_drawable="@drawable/bg_video_record_flash"
|
||||
app:dt_top_height="26dp"
|
||||
app:dt_top_width="26dp"
|
||||
/>
|
||||
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/btn_beauty"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/btn_flash"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:drawablePadding="2dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:onClick="recordClick"
|
||||
android:paddingTop="3dp"
|
||||
android:text="@string/beauty"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11sp"
|
||||
app:dt_top_drawable="@mipmap/icon_video_beauty"
|
||||
app:dt_top_height="26dp"
|
||||
app:dt_top_width="26dp"
|
||||
/>
|
||||
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/btn_music"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/btn_beauty"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:drawablePadding="2dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:onClick="recordClick"
|
||||
android:paddingTop="3dp"
|
||||
android:text="@string/music"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11sp"
|
||||
app:dt_top_drawable="@mipmap/icon_video_music"
|
||||
app:dt_top_height="26dp"
|
||||
app:dt_top_width="26dp"
|
||||
/>
|
||||
|
||||
<RadioGroup
|
||||
android:layout_width="280dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="110dp"
|
||||
android:background="@drawable/bg_video_record_speed"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/btn_speed_1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_btn_video_record_speed"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:onClick="recordClick"
|
||||
android:text="@string/video_record_speed_1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/btn_speed_2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_btn_video_record_speed"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:onClick="recordClick"
|
||||
android:text="@string/video_record_speed_2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/btn_speed_3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_btn_video_record_speed"
|
||||
android:button="@null"
|
||||
android:checked="true"
|
||||
android:gravity="center"
|
||||
android:onClick="recordClick"
|
||||
android:text="@string/video_record_speed_3"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/btn_speed_4"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_btn_video_record_speed"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:onClick="recordClick"
|
||||
android:text="@string/video_record_speed_4"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/btn_speed_5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_btn_video_record_speed"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:onClick="recordClick"
|
||||
android:text="@string/video_record_speed_5"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/group_3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="70dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:translationX="100dp"
|
||||
>
|
||||
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/btn_upload"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:drawablePadding="2dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:onClick="recordClick"
|
||||
android:paddingTop="3dp"
|
||||
android:text="@string/upload"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11sp"
|
||||
app:dt_top_drawable="@mipmap/icon_video_upload"
|
||||
app:dt_top_height="26dp"
|
||||
app:dt_top_width="26dp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/group_4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="70dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:gravity="center_vertical"
|
||||
android:translationX="60dp"
|
||||
android:visibility="invisible"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_delete"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:onClick="recordClick"
|
||||
android:padding="4dp"
|
||||
android:src="@mipmap/icon_video_delete"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -115,24 +115,6 @@
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<com.yunbao.beauty.custom.TextSeekBar
|
||||
android:id="@+id/btn_origin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:progressVal="80"
|
||||
app:text2="@string/video_edit_origin"
|
||||
/>
|
||||
|
||||
<com.yunbao.beauty.custom.TextSeekBar
|
||||
android:id="@+id/seek_bgm"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:progressVal="80"
|
||||
app:text2="@string/music"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user