aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_fragment_image.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/fragment_fragment_image.xml')
-rw-r--r--app/src/main/res/layout/fragment_fragment_image.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_fragment_image.xml b/app/src/main/res/layout/fragment_fragment_image.xml
new file mode 100644
index 0000000..5d44190
--- /dev/null
+++ b/app/src/main/res/layout/fragment_fragment_image.xml
@@ -0,0 +1,42 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context="layout.FragmentImage"
+ android:orientation="vertical">
+
+ <RelativeLayout
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/layoutOpenBrowser">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:text="No se puede visualizar este archivo."
+ android:layout_centerVertical="true"
+ android:layout_centerHorizontal="true"
+ android:id="@+id/textView2"
+ android:textColor="#ff0000" />
+
+ <Button
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Abrir en el navegador"
+ android:id="@+id/btnLaunchBrowser"
+ android:layout_below="@+id/textView2"
+ android:layout_centerHorizontal="true" />
+ </RelativeLayout>
+
+ <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
+ android:id="@+id/imageView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+ <pl.droidsonroids.gif.GifImageView
+ android:id="@+id/gifView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+</LinearLayout>