diff options
author | Renard | 2016-04-11 17:50:06 -0300 |
---|---|---|
committer | Renard | 2016-04-11 17:50:06 -0300 |
commit | 90ee611af8ba4c38e70f27eb0df55e9134ad625c (patch) | |
tree | b5ed275f543b592cdb5658e732b75c98b3cae593 /app/src/main/res/layout | |
parent | f90f14e5de8effc68a40029066754de1954cb65d (diff) | |
download | BaiApp-90ee611af8ba4c38e70f27eb0df55e9134ad625c.tar.gz BaiApp-90ee611af8ba4c38e70f27eb0df55e9134ad625c.tar.xz BaiApp-90ee611af8ba4c38e70f27eb0df55e9134ad625c.zip |
New ViewActivity, ThemeManager
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_response.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_fragment_image.xml | 33 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_fragment_thread_list.xml | 1 |
3 files changed, 30 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_response.xml b/app/src/main/res/layout/activity_response.xml index bfd143e..15d35eb 100644 --- a/app/src/main/res/layout/activity_response.xml +++ b/app/src/main/res/layout/activity_response.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" - xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" diff --git a/app/src/main/res/layout/fragment_fragment_image.xml b/app/src/main/res/layout/fragment_fragment_image.xml index 093508a..5d44190 100644 --- a/app/src/main/res/layout/fragment_fragment_image.xml +++ b/app/src/main/res/layout/fragment_fragment_image.xml @@ -1,8 +1,34 @@ -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<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"> + 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" @@ -12,4 +38,5 @@ android:id="@+id/gifView" android:layout_width="match_parent" android:layout_height="match_parent"/> -</FrameLayout> + +</LinearLayout> diff --git a/app/src/main/res/layout/fragment_fragment_thread_list.xml b/app/src/main/res/layout/fragment_fragment_thread_list.xml index af88df4..477c236 100644 --- a/app/src/main/res/layout/fragment_fragment_thread_list.xml +++ b/app/src/main/res/layout/fragment_fragment_thread_list.xml @@ -1,5 +1,4 @@ <RelativeLayout 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" android:layout_alignParentTop="true" |