You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FFmpeg-Invoker/app/src/main/res/layout/activity_ffmpeg_test.xml

27 lines
1.1 KiB

<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.github.xch168.ffmpeg.invoker.demo.FFmpegTestActivity">
<Button
android:id="@+id/btn_cut"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:text="剪辑"
android:onClick="cutVideo"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="@+id/btn_cut"
app:layout_constraintLeft_toRightOf="@+id/btn_cut"
android:layout_marginLeft="10dp"
android:text="提取帧"
android:onClick="extractFrame"/>
</androidx.constraintlayout.widget.ConstraintLayout>