aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-08 20:14:59 -0300
committerLibravatar Renard 2016-04-08 20:14:59 -0300
commitfe76420bfc927ee5fc002215724c09a6d2d614c2 (patch)
tree01f9dcb98b8cb78570ab223f0fcac2fe79f6c46e /app/src/main/res
parente92d1607eb9e71951928155cea53d65b7c665726 (diff)
downloadBaiApp-fe76420bfc927ee5fc002215724c09a6d2d614c2.tar.gz
BaiApp-fe76420bfc927ee5fc002215724c09a6d2d614c2.tar.xz
BaiApp-fe76420bfc927ee5fc002215724c09a6d2d614c2.zip
Nuevo visor de imágenes
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_viewer.xml20
-rw-r--r--app/src/main/res/layout/fragment_fragment_image.xml15
-rw-r--r--app/src/main/res/values/strings.xml3
3 files changed, 27 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_viewer.xml b/app/src/main/res/layout/activity_viewer.xml
index b66e66b..7febe39 100644
--- a/app/src/main/res/layout/activity_viewer.xml
+++ b/app/src/main/res/layout/activity_viewer.xml
@@ -4,21 +4,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="org.bienvenidoainternet.baiparser.ViewerActivity">
-
- <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"/>
-
<ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/downloadProgressBar"
android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true" />
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true" />
+ <android.support.v4.view.ViewPager
+ android:id="@+id/imagePager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/downloadProgressBar"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true" />
</RelativeLayout>
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..093508a
--- /dev/null
+++ b/app/src/main/res/layout/fragment_fragment_image.xml
@@ -0,0 +1,15 @@
+<FrameLayout 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">
+
+ <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"/>
+</FrameLayout>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 7fa3e34..f5be573 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -73,4 +73,7 @@
<string name="title_activity_settings">Opciones</string>
+ <!-- TODO: Remove or change this placeholder text -->
+ <string name="hello_blank_fragment">Hello blank fragment</string>
+
</resources>