summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/zoomed_view.xml
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /mobile/android/base/resources/layout/zoomed_view.xml
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/base/resources/layout/zoomed_view.xml')
-rw-r--r--mobile/android/base/resources/layout/zoomed_view.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/zoomed_view.xml b/mobile/android/base/resources/layout/zoomed_view.xml
new file mode 100644
index 000000000..fd5684303
--- /dev/null
+++ b/mobile/android/base/resources/layout/zoomed_view.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/.
+-->
+
+<org.mozilla.gecko.ZoomedView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:gecko="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/zoomed_view_container"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/dropshadow"
+ android:padding="@dimen/drawable_dropshadow_size"
+ android:visibility="gone">
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:background="@drawable/toolbar_grey_round">
+ <!--
+ Zoom factor button is invisible by default. Set ui.zoomedview.simplified to false
+ in order to display the button in the zoomed view tool bar
+ -->
+ <TextView
+ android:id="@+id/change_zoom_factor"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/zoomed_view_toolbar_height"
+ android:background="@android:color/transparent"
+ android:padding="12dip"
+ android:layout_alignLeft="@+id/zoomed_image_view"
+ android:textSize="16sp"
+ android:textColor="@color/text_and_tabs_tray_grey"
+ android:visibility="invisible"/>
+ <ImageView
+ android:id="@+id/dialog_close"
+ android:scaleType="center"
+ android:layout_width="@dimen/zoomed_view_toolbar_height"
+ android:layout_height="@dimen/zoomed_view_toolbar_height"
+ android:layout_alignRight="@id/zoomed_image_view"
+ android:src="@drawable/close_edit_mode_selector"/>
+ <ImageView
+ android:id="@id/zoomed_image_view"
+ android:layout_below="@id/change_zoom_factor"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ </RelativeLayout>
+
+</org.mozilla.gecko.ZoomedView> \ No newline at end of file