diff options
author | Andrew Dolgov <[email protected]> | 2017-06-02 14:25:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-06-02 14:25:05 +0300 |
commit | 047bb1cc37d189b24b3269d13397f83bc2797d2d (patch) | |
tree | 0593153e2096f9daa7dd89ca2495647a8f029971 /org.fox.ttrss/src/main/res/layout/fragment_article_image.xml | |
parent | bbab856e3fd0066705263764bb846b4a6d7b7b91 (diff) |
unified gallery pager for videos and image files
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/fragment_article_image.xml')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/fragment_article_image.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_article_image.xml b/org.fox.ttrss/src/main/res/layout/fragment_article_image.xml index 29a53bd0..e5fe47f4 100644 --- a/org.fox.ttrss/src/main/res/layout/fragment_article_image.xml +++ b/org.fox.ttrss/src/main/res/layout/fragment_article_image.xml @@ -12,11 +12,13 @@ android:text="@string/error_loading_image" android:id="@+id/flavor_image_error" /> - <ProgressBar - android:layout_width="wrap_content" - android:layout_height="wrap_content" + <TextureView + android:id="@+id/flavor_video" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:adjustViewBounds="true" android:layout_gravity="center" - android:id="@+id/flavor_image_progress" /> + android:scaleType="fitCenter" /> <ImageView android:id="@+id/flavor_image" @@ -26,6 +28,12 @@ android:layout_gravity="center" android:scaleType="fitCenter" /> + <ProgressBar + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:id="@+id/flavor_image_progress" /> + <ImageView android:id="@+id/flavor_image_overflow" android:clickable="true" |