<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/flavorImageHolder"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:visibility="invisible"
        android:text="@string/error_loading_image"
        android:id="@+id/flavor_image_error" />

    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:id="@+id/flavor_image_progress" />

    <it.sephiroth.android.library.imagezoom.ImageViewTouch
        android:id="@+id/flavor_image"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:adjustViewBounds="true"
        android:layout_gravity="center"
        android:scaleType="fitCenter" />

</FrameLayout>