diff options
Diffstat (limited to 'mobile/android/base/resources/layout/zoomed_view.xml')
-rw-r--r-- | mobile/android/base/resources/layout/zoomed_view.xml | 51 |
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 |