Posts movies are supported.

This commit is contained in:
Pierre HUBERT
2018-08-06 13:36:49 +02:00
parent 9c39112bf7
commit d8837aa016
9 changed files with 255 additions and 0 deletions

View File

@ -78,6 +78,13 @@
android:contentDescription="@string/post_image_description"
android:scaleType="centerInside" />
<!-- Post related movie (if any) -->
<org.communiquons.android.comunic.client.ui.views.MovieView
android:id="@+id/post_movie"
android:layout_width="match_parent"
android:layout_height="200dp"
style="@style/PostMovie"/>
<!-- Related PDF (if any) -->
<org.communiquons.android.comunic.client.ui.views.PDFLinkButtonView
android:id="@+id/btn_pdf_link"

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<VideoView
android:id="@+id/video"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal" />
</LinearLayout>