<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@color/bg"
  android:elevation="2dp"
  android:orientation="vertical"
  tools:ignore="MissingPrefix"
  app:layout_behavior="@string/appbar_scrolling_view_behavior"
  >

  <LinearLayout
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:orientation="vertical">


	<LinearLayout
	  android:layout_width="match_parent"
	  android:layout_margin="16dp"
	  android:layout_height="wrap_content"
	  android:background="@drawable/rect_white"
	  android:elevation="2dp"
	  android:orientation="vertical"
	  tools:ignore="MissingPrefix">

	  <FrameLayout
		android:layout_width="match_parent"
		android:layout_height="280dp"
		>

		<androidx.viewpager.widget.ViewPager
		  android:id="@+id/vpImages"
		  android:layout_width="match_parent"
		  android:layout_height="match_parent"/>



		<TextView
		  android:id="@+id/tvOnSale"
		  android:layout_width="wrap_content"
		  android:layout_height="wrap_content"
		  android:layout_gravity="top|left"
		  android:background="@color/colorPrimary"
		  android:textColor="#ffffff"
		  android:text="SALE!"
		  fontPath="@string/font_medium"
		  android:padding="8dp"
		  />

	  </FrameLayout>
	</LinearLayout>


	<me.relex.circleindicator.CircleIndicator
	  android:id="@+id/indicator"
	  android:layout_width="wrap_content"
	  android:layout_height="8dp"
	  app:ci_height="4dp"
	  app:ci_width="4dp"
	  android:layout_gravity="bottom|center"
	  />


	<LinearLayout
	  android:layout_width="match_parent"
	  android:layout_margin="16dp"
	  android:layout_height="wrap_content"
	  android:background="@drawable/rect_white"
	  android:elevation="2dp"
	  android:orientation="vertical"
	  tools:ignore="MissingPrefix">


	  <TextView
		android:id="@+id/tvTitle"
		fontPath="@string/font_medium"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginLeft="16dp"
		android:layout_marginTop="16dp"
		android:layout_marginRight="16dp"
		android:gravity="left"
		android:textColor="@color/text"
		android:textSize="18sp"/>

	  <TextView
		android:id="@+id/tvDescription"
		fontPath="@string/font_regular"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginLeft="16dp"
		android:layout_marginTop="8dp"
		android:layout_marginRight="16dp"
		android:gravity="left"
		android:lineSpacingMultiplier="1.2"
		android:textColor="@color/text_black_5"
		android:textSize="16sp"/>

	  <TextView
		android:id="@+id/tvCallToAction"
		fontPath="@string/font_regular"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_gravity="right"
		android:layout_marginRight="0dp"
		android:layout_marginBottom="0dp"
		android:gravity="left"
		android:padding="16dp"
		android:textColor="#1c5c9a"
		android:textSize="14sp"/>


	</LinearLayout>


	<fragment
	  android:name="me.gilo.woodroid.app.ui.product.section.RelatedProductsFragment"
	  android:id="@+id/fRelatedProducts"
	  android:layout_width="match_parent"
	  android:layout_height="wrap_content"/>

	<fragment
	  android:name="me.gilo.woodroid.app.ui.product.section.ProductReviewsFragment"
	  android:id="@+id/fProductReviews"
	  android:layout_width="match_parent"
	  android:layout_height="wrap_content"/>


  </LinearLayout>
</androidx.core.widget.NestedScrollView>

