<?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">
        <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"/>
        <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>