Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- tools:context="tukutanah.uas.anisashihhatin.com.tukutanah.activity.DetailTanahActivity">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fitsSystemWindows="true"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <android.support.design.widget.CollapsingToolbarLayout
- android:id="@+id/collapsing_toolbar"
- android:layout_width="match_parent"
- android:layout_height="350dp"
- android:fitsSystemWindows="true"
- app:contentScrim="@color/Basic"
- app:expandedTitleTextAppearance="@android:color/transparent"
- app:layout_scrollFlags="scroll|exitUntilCollapsed">
- <ImageView
- android:id="@+id/detail_image"
- android:layout_width="match_parent"
- android:layout_height="350dp"
- android:layout_marginBottom="8dp"
- android:fitsSystemWindows="true"
- android:scaleType="centerCrop"
- app:layout_collapseMode="parallax" />
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar_detail"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:title="Wow"
- app:layout_collapseMode="pin"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
- </android.support.design.widget.CollapsingToolbarLayout>
- </android.support.design.widget.AppBarLayout>
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/scroll"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="@dimen/spacing_medium">
- <LinearLayout
- android:id="@+id/lyt_distance"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/selectableItemBackground"
- android:clickable="true"
- android:gravity="center_vertical"
- android:minHeight="@dimen/spacing_xxlarge"
- android:onClick="clickLayout"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/detail_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:textSize="40px"
- android:text="Nama"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/lyt_address"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/selectableItemBackground"
- android:clickable="true"
- android:gravity="center_vertical"
- android:minHeight="@dimen/spacing_xxlarge"
- android:onClick="clickLayout"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="@dimen/spacing_mlarge"
- android:layout_height="@dimen/spacing_mlarge"
- android:layout_margin="@dimen/spacing_middle"
- android:src="@drawable/ic_map"
- android:tint="@color/Basic" />
- <TextView
- android:id="@+id/detail_address"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="Jl. Masjid Kuwolu Bululawang Kabupaten Malang"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/lyt_phone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/selectableItemBackground"
- android:clickable="true"
- android:gravity="center_vertical"
- android:minHeight="@dimen/spacing_xxlarge"
- android:onClick="clickLayout"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="@dimen/spacing_mlarge"
- android:layout_height="@dimen/spacing_mlarge"
- android:layout_margin="@dimen/spacing_middle"
- android:src="@drawable/ic_call" />
- <TextView
- android:id="@+id/detail_phone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="085748132710"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/lyt_website"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/selectableItemBackground"
- android:clickable="true"
- android:gravity="center_vertical"
- android:minHeight="@dimen/spacing_xxlarge"
- android:onClick="clickLayout"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="@dimen/spacing_mlarge"
- android:layout_height="@dimen/spacing_mlarge"
- android:layout_margin="@dimen/spacing_middle"
- android:src="@drawable/ic_dollar" />
- <TextView
- android:id="@+id/detail_price"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="150.000.000"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- </LinearLayout>
- <TextView
- android:id="@+id/detail_large"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="100/m2"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- <TextView
- android:id="@+id/detail_city"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="Malang"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- <TextView
- android:id="@+id/detail_district"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="Turen"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- <TextView
- android:id="@+id/detail_sert"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="SHM"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-light"
- android:padding="@dimen/spacing_large"
- android:text="Deskripsi"
- android:textAppearance="@style/TextAppearance.AppCompat.Title"
- android:textColor="@color/material_grey_800"
- android:id="@+id/textView2" />
- <TextView
- android:id="@+id/detail_desc"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/spacing_medium"
- android:text="@string/lorem"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/material_grey_800" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/map"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/selectableItemBackground"
- android:clickable="true"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-light"
- android:padding="@dimen/spacing_large"
- android:text="Map"
- android:textAppearance="@style/TextAppearance.AppCompat.Title"
- android:textColor="@color/material_grey_800" />
- <fragment
- android:id="@+id/mapPlaces"
- android:name="com.google.android.gms.maps.MapFragment"
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:layout_marginBottom="20dp"
- android:layout_marginLeft="@dimen/spacing_large"
- android:layout_marginRight="@dimen/spacing_large" />
- </LinearLayout>
- <android.support.v7.widget.RecyclerView
- android:id="@+id/recyclerview_comment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10px">
- </android.support.v7.widget.RecyclerView>
- </android.support.v4.widget.NestedScrollView>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement