tencent cloud

User Generated Short Video SDK

뉴스 및 공지사항
Release Notes
The “startPlay” API of the UGSV SDK Renamed
제품소개
Overview
Features
Use Cases
Concepts
구매 가이드
Pricing Overview
Refund Policy
라이선스 가이드
Adding and Renewing a License
Configuring and Viewing a License
SDK 다운로드
SDK Download
Release Notes (App)
UI 통합 솔루션 포함
UGSV Demo App
Source Code Description (iOS)
Source Code Description (Android)
UI 통합 솔루션 없음
SDK Integration
Capturing and Shoot
Preview, Clipping, and Splicing
Upload and Playback
Tencent Effect SDK
Advanced Features and Special Effects
API 문서
Editing
Shooting
기술적 지원
Error Codes
Feature FAQs
일반적인 문제
Upload
Android Compilation
Android
iOS
License
UGSV 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약

Android

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2022-11-14 18:25:34
UGCKit is a set of encapsulated interactive UIs, which is the UGSV demo app's theme by default. With simple modifications, you can customize your own theme and replace the icons, text, and colors.

Customizing the recording theme

The recording UI contains the right icon toolbar, the bottom toolbar, music panel, beauty filter panel, and sound effect panel.

Image description


1. Declare a <style> in app/res/values/style.xml, specify its parent theme as RecordStyle, and change the theme to the target theme. You can find all available themes in app/ugckit/res/values.theme_style.xml.
Below is the sample code for replacing the music and beauty filter icons on the recording UI:
<style name="RecordActivityTheme" parent="RecordStyle">
<item name="recordMusicIcon">@drawable/ic_music</item>
<item name="recordBeautyIcon">@drawable/ic_beauty</item>
</style>
2. Declare the custom theme in AndroidManifest.xml:
<activity
android:name="com.tencent.qcloud.xiaoshipin.videorecord.TCVideoRecordActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@style/RecordActivityTheme"
android:windowSoftInputMode="adjustNothing" />

Customizing the editing theme

The editing UI contains the editing and clipping UI, animated effect, beauty filter, and special effect panel, and speed, filter, sticker, and bubble subtitles panels.

Image description


1. Declare a <style> in app/res/values/style.xml, specify its parent theme as EditerStyle, and change the theme to the target theme. You can find all available themes in app/ugckit/res/values.theme_style.xml.
2. Below is the sample code for replacing the playback and pause icons on the editing UI:
<style name="EditerActivityTheme" parent="EditerStyle">
<item name="editorPlayIcon">@drawable/ic_play</item>
<item name="editorPauseIcon">@drawable/ic_pause</item>
</style>
3. Declare the custom theme in AndroidManifest.xml:
<activity
android:name=".videoeditor.TCVideoEffectActivity"
android:screenOrientation="portrait"
android:theme="@style/EditerActivityTheme" />


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백