[android] Moved ugc layout below taxi

This commit is contained in:
Александр Зацепин 2017-09-19 19:26:59 +03:00 committed by Roman Kuznetsov
parent 288d7da345
commit 2c6c98c9f4
4 changed files with 28 additions and 5 deletions

View file

@ -59,8 +59,6 @@
<include layout="@layout/place_page_hotel_rating"/>
<include layout="@layout/place_page_ugc"/>
<include layout="@layout/place_page_placename"/>
<include layout="@layout/place_page_opening_hours"/>
@ -100,6 +98,8 @@
<include layout="@layout/place_page_taxi"/>
<include layout="@layout/place_page_ugc"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

View file

@ -45,8 +45,6 @@
<include layout="@layout/place_page_hotel_rating"/>
<include layout="@layout/place_page_ugc"/>
<include layout="@layout/place_page_placename"/>
<include layout="@layout/place_page_opening_hours"/>
@ -85,6 +83,8 @@
<include layout="@layout/place_page_taxi"/>
<include layout="@layout/place_page_ugc"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:showIn="@layout/place_page_ugc">
<android.support.v4.widget.Space
android:layout_width="match_parent"
android:layout_height="@dimen/margin_base"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/shadow_card"
android:scaleType="fitXY"/>
</FrameLayout>

View file

@ -9,9 +9,13 @@
android:orientation="vertical"
android:visibility="gone"
tools:visibility="visible">
<include layout="@layout/place_page_fat_shadow"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?cardBackground"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
@ -90,6 +94,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?cardBackground"
android:padding="@dimen/margin_base"
android:gravity="center_horizontal">
<TextView
@ -225,6 +230,9 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
<include layout="@layout/place_page_fat_shadow"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/rv__pp_ugc_reviews"
android:layout_width="match_parent"
@ -243,5 +251,4 @@
android:background="?clickableBackground"
android:gravity="center"
android:text="More reviews"/>
<include layout="@layout/divider_horizontal"/>
</LinearLayout>