2014-10-29 13:23:07 +00:00
|
|
|
<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" />
|
|
|
|
|
2014-11-25 09:19:36 +00:00
|
|
|
<it.sephiroth.android.library.imagezoom.ImageViewTouch
|
2014-10-29 13:23:07 +00:00
|
|
|
android:id="@+id/flavor_image"
|
|
|
|
android:layout_width="match_parent"
|
2014-10-29 18:52:53 +00:00
|
|
|
android:layout_height="match_parent"
|
2014-10-29 13:51:54 +00:00
|
|
|
android:adjustViewBounds="true"
|
2014-10-29 13:23:07 +00:00
|
|
|
android:layout_gravity="center"
|
2014-10-29 18:52:53 +00:00
|
|
|
android:scaleType="fitCenter" />
|
|
|
|
|
2014-10-29 13:23:07 +00:00
|
|
|
</FrameLayout>
|