summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-06-02 14:51:11 +0300
committerAndrew Dolgov <[email protected]>2017-06-02 14:51:11 +0300
commit6f1afb1ef00e9c700832c33f71d008549740c2c0 (patch)
treee0eee3cdb0cd8545db7b747c20aae74ce1e94143 /org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml
parent0f764c3f61045702a0bb9cf0e1194759a5988f95 (diff)
rename article pager and related stuff to gallery
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml b/org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml
new file mode 100644
index 00000000..e5fe47f4
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/layout/fragment_gallery_entry.xml
@@ -0,0 +1,49 @@
+<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" />
+
+ <TextureView
+ android:id="@+id/flavor_video"
+ 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"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:adjustViewBounds="true"
+ 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"
+ 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