add videocompress lib

This commit is contained in:
lixiaopeng
2020-08-07 11:06:44 +08:00
parent aa7d1904ef
commit 557adf82bd
2 changed files with 22 additions and 6 deletions

View File

@@ -141,6 +141,7 @@ targetSdkVersion : 22,
videoarm64 : "com.shuyu:gsyVideoPlayer-arm64:7.1.2",
videojava : "com.shuyu:gsyVideoPlayer-java:7.1.2",
eventbus : "org.greenrobot:eventbus:3.1.1",
videoprocessor : "com.zhidao.video:video-processor:1.0.2.1",
coroutinescore : "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1",
coroutinesandroid : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1",

View File

@@ -2,23 +2,38 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androud="http://schemas.android.com/apk/res-auto"
android:id="@+id/clPanelContainer"
android:background="@color/live_video_background_color"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="@color/live_video_background_color">
<!--顶部layout-->
<RelativeLayout
android:id="@+id/layout_top"
android:layout_width="match_parent"
android:layout_height="150dp">
android:layout_height="80dp">
<TextView
android:id="@+id/tv_brief"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginLeft="400px"
android:layout_centerVertical="true"
android:text="周边5公里共有23条数据 "
android:textColor="#ffffff" />
<TextView
android:id="@+id/tv_top_refresh"
android:layout_width="150px"
android:layout_height="50px"
android:layout_marginLeft="50px"
android:layout_toRightOf="@+id/tv_brief"
android:layout_centerInParent="true"
android:background="@drawable/bg_v2x_event_live_show"
android:gravity="center"
android:text="刷新"
android:textColor="@color/live_video_background_color"
android:textSize="12px"
android:textStyle="bold" />
</RelativeLayout>
<!--列表相关-->
@@ -28,13 +43,13 @@
android:layout_height="match_parent"
android:layout_below="@+id/layout_top">
<!--空数据显示-->
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/surrounding_recycleview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible" />
<!--空数据显示-->
<RelativeLayout
android:id="@+id/layout_empty_data_show"
android:layout_width="match_parent"
@@ -86,8 +101,8 @@
android:layout_toRightOf="@+id/tv_main_share"
android:background="@drawable/bg_v2x_event_live_show"
android:gravity="center"
android:textColor="@color/live_video_background_color"
android:text="刷新"
android:textColor="@color/live_video_background_color"
android:textSize="12px"
android:textStyle="bold" />