diff options
author | Andrew Dolgov <[email protected]> | 2017-06-02 10:30:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-06-02 10:30:53 +0300 |
commit | bbab856e3fd0066705263764bb846b4a6d7b7b91 (patch) | |
tree | 91010e0583e50cbd6b6798e26cf9e479314834ac /org.fox.ttrss/src/main/res/layout/fragment_article_image.xml | |
parent | 317407a2dd9d49ced183dbefb89e9e6dcd1a62a9 (diff) |
decouple gallery image view into a fragment
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 | 41 |
1 files changed, 41 insertions, 0 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 new file mode 100644 index 00000000..29a53bd0 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/fragment_article_image.xml @@ -0,0 +1,41 @@ +<FrameLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flavorImageHolder" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:visibility="invisible" + android:text="@string/error_loading_image" + android:id="@+id/flavor_image_error" /> + + <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" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:adjustViewBounds="true" + android:layout_gravity="center" + android:scaleType="fitCenter" /> + + <ImageView + android:id="@+id/flavor_image_overflow" + android:clickable="true" + android:layout_width="wrap_content" + android:layout_height="26dp" + android:layout_weight="0" + android:background="@drawable/ripple" + android:src="@drawable/ic_dots_vertical" + android:layout_gravity="top|right" + android:layout_marginRight="8dp" + android:layout_marginTop="@dimen/activity_vertical_margin" /> + +</FrameLayout>
\ No newline at end of file |