Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <ImageView
- android:id="@+id/image_view"
- android:layout_width="match_parent"
- android:layout_height="225dp"
- android:background="@color/colorPrimaryDark" />
- <de.hdodenhof.circleimageview.CircleImageView
- android:id="@+id/profile_image"
- android:layout_width="85dp"
- android:layout_height="85dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- app:civ_border_width="2dp"
- app:civ_border_color="#000000"
- android:layout_alignParentTop="true"
- android:layout_marginLeft="12dp"
- android:layout_marginStart="12dp"
- android:layout_marginTop="185dp"
- android:src="#ff0000" />
- <FrameLayout
- android:id="@+id/cv_detail_product"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@id/image_view">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="8dp"
- android:layout_marginTop="8dp"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/tv_store_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:text="Nama Toko"
- android:textAlignment="center"
- android:textColor="#000000"
- android:textSize="21sp" />
- <TextView
- android:id="@+id/tv_harga"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
- android:text="x hari yang lalu"
- android:textColor="#000000" />
- </RelativeLayout>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginTop="26dp"
- android:layout_weight="1">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="125dp"
- android:layout_height="wrap_content"
- android:text="Colorway"
- android:textSize="18sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Black Mesh / White Sole"
- android:textSize="18sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#2c848484" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:orientation="horizontal">
- <TextView
- android:layout_width="125dp"
- android:layout_height="wrap_content"
- android:text="Size"
- android:textSize="18sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="US 9/ UK 8/ EUR 42"
- android:textSize="18sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#2c848484" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:orientation="horizontal">
- <TextView
- android:layout_width="125dp"
- android:layout_height="wrap_content"
- android:text="Condition"
- android:textSize="18sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Brand New in Box"
- android:textSize="18sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#2c848484" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="12dp"
- android:layout_marginRight="12dp"
- android:text="Description"
- android:textSize="18sp" />
- </LinearLayout>
- <TextView
- android:id="@+id/tv_description"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:text="test"
- android:textSize="18sp" />
- </LinearLayout>
- </ScrollView>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/btn_buy"
- android:layout_width="125dp"
- android:layout_height="wrap_content"
- android:text="Beli" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:layout_marginStart="4dp"
- android:text="Harga : "
- android:textSize="16sp" />
- <TextView
- android:id="@+id/tv_price_old"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Rp. 10000"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/tv_price"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Rp. 5000"
- android:textColor="#000000"
- android:textSize="21sp" />
- </LinearLayout>
- </LinearLayout>
- </FrameLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement