Receiving images, videos and texts to directly submitting different kinds of posts. Fixed video was not shown after selected from picker in PostVideoActivity. Handle some cases that the posts cannot be submitted. Minor bugs fixed.

This commit is contained in:
Alex Ning
2019-08-28 16:41:36 +08:00
parent 30d2abe9c6
commit cc0d78aedd
13 changed files with 275 additions and 103 deletions

View File

@@ -184,11 +184,12 @@
android:textColor="@color/colorAccent"
android:visibility="gone" />
<VideoView
android:id="@+id/video_view_post_video_activity"
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/player_view_post_video_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"/>
android:layout_height="400dp"
android:visibility="gone"
app:controller_layout_id="@layout/exo_playback_control_view" />
</LinearLayout>