Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Apr 21, 2020
1 parent 7f711b4 commit 7ea2723
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public View getView(final int position, View convertView, ViewGroup parent) {


//final String url = "https://res.exexm.com/cw_145225549855002";
final String urlH = "http://9890.vod.myqcloud.com/9890_4e292f9a3dd011e6b4078980237cc3d3.f20.mp4";
final String urlH = "https://test-haichi.oss-cn-hangzhou.aliyuncs.com/goods.core.base/VIDEO/4007067452261301700161221090_VIDEO?version=0";
final String urlV = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
final String url = (position % 2 == 0) ? urlH : urlV;
//final String url = "http://111.198.24.133:83/yyy_login_server/pic/YB059284/97778276040859/1.mp4";
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/list_video_item_normal.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">

Expand All @@ -8,4 +8,4 @@
android:layout_width="match_parent"
android:layout_height="@dimen/post_media_height"/>

</RelativeLayout>
</FrameLayout>
4 changes: 2 additions & 2 deletions app/src/main/res/layout/video_layout_cover.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
android:layout_height="match_parent"
android:background="@android:color/black">

<RelativeLayout
<FrameLayout
android:id="@+id/surface_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">

</RelativeLayout>
</FrameLayout>

<RelativeLayout
android:id="@+id/thumb"
Expand Down

0 comments on commit 7ea2723

Please sign in to comment.