diff --git a/android/res/layout/divider_horizontal.xml b/android/res/layout/divider_horizontal.xml
index 7f5e2e80b1..404a025649 100644
--- a/android/res/layout/divider_horizontal.xml
+++ b/android/res/layout/divider_horizontal.xml
@@ -1,5 +1,5 @@
\ No newline at end of file
+ android:layout_height="@dimen/divider_height"
+ android:background="?dividerHorizontal"/>
diff --git a/android/res/layout/place_page_bookmark_details.xml b/android/res/layout/place_page_bookmark_details.xml
index 71a8091d22..c7402a2583 100644
--- a/android/res/layout/place_page_bookmark_details.xml
+++ b/android/res/layout/place_page_bookmark_details.xml
@@ -30,6 +30,7 @@
-
\ No newline at end of file
+
diff --git a/android/res/layout/place_page_details.xml b/android/res/layout/place_page_details.xml
index a7770cd59d..4f0f204e2c 100644
--- a/android/res/layout/place_page_details.xml
+++ b/android/res/layout/place_page_details.xml
@@ -11,11 +11,7 @@
android:background="?windowBackgroundForced"
android:orientation="vertical">
-
+
@@ -67,37 +63,32 @@
-
-
+ android:layout_height="wrap_content"
+ layout="@layout/place_page_fat_shadow"/>
+
+
-
-
-
-
+ android:layout_height="wrap_content"/>
diff --git a/android/res/layout/place_page_fat_shadow.xml b/android/res/layout/place_page_fat_shadow.xml
index 4508fc1cb1..59f542ffe3 100644
--- a/android/res/layout/place_page_fat_shadow.xml
+++ b/android/res/layout/place_page_fat_shadow.xml
@@ -7,7 +7,7 @@
tools:showIn="@layout/place_page_ugc">
+ android:layout_height="@dimen/margin_half"/>
+
-
-
-
diff --git a/android/res/layout/place_page_more.xml b/android/res/layout/place_page_more.xml
index 54f0bbd948..1510afcbf8 100644
--- a/android/res/layout/place_page_more.xml
+++ b/android/res/layout/place_page_more.xml
@@ -7,13 +7,12 @@
android:layout_height="wrap_content"
android:orientation="vertical">
+
+
-
-
-
diff --git a/android/res/layout/place_page_ugc.xml b/android/res/layout/place_page_ugc.xml
index 88c76e853a..10afaa3486 100644
--- a/android/res/layout/place_page_ugc.xml
+++ b/android/res/layout/place_page_ugc.xml
@@ -80,10 +80,7 @@
android:layout_height="wrap_content"
android:background="?cardBackground"
android:gravity="center_horizontal">
-
+
-
-
+
diff --git a/android/src/com/mapswithme/maps/ugc/UGCController.java b/android/src/com/mapswithme/maps/ugc/UGCController.java
index 5a5d4d8579..1f247c1ba3 100644
--- a/android/src/com/mapswithme/maps/ugc/UGCController.java
+++ b/android/src/com/mapswithme/maps/ugc/UGCController.java
@@ -53,6 +53,8 @@ public class UGCController implements View.OnClickListener, UGC.UGCListener
@NonNull
private final View mUserReviewDivider;
@NonNull
+ private final View mReviewListDivider;
+ @NonNull
private final View mSummaryRootView;
@NonNull
private final TextView mSummaryReviewCount;
@@ -136,6 +138,7 @@ public class UGCController implements View.OnClickListener, UGC.UGCListener
mUserReviewView = mPlacePage.findViewById(R.id.rl_user_review);
mUserReviewView.findViewById(R.id.rating).setVisibility(View.GONE);
+ mReviewListDivider = mPlacePage.findViewById(R.id.ugc_review_list_divider);
mUserReviewDivider = mPlacePage.findViewById(R.id.user_review_divider);
UGC.setListener(this);
@@ -218,6 +221,7 @@ public class UGCController implements View.OnClickListener, UGC.UGCListener
List reviews = ugc.getReviews();
if (reviews != null)
mUGCReviewAdapter.setItems(ugc.getReviews());
+ UiUtils.showIf(reviews != null, mReviewListDivider);
UiUtils.showIf(reviews != null && reviews.size() > UGCReviewAdapter.MAX_COUNT, mUgcMoreReviews);
}
@@ -250,7 +254,8 @@ public class UGCController implements View.OnClickListener, UGC.UGCListener
private void setUserReviewAndRatingsView(@Nullable UGCUpdate update)
{
- UiUtils.showIf(update != null, mUserReviewView, mUserReviewDivider, mUserRatingRecordsContainer);
+ UiUtils.showIf(update != null, mUserReviewView, mUserReviewDivider,
+ mUserRatingRecordsContainer);
if (update == null)
return;
TextView name = (TextView) mUserReviewView.findViewById(R.id.name);
diff --git a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java
index 615ce903da..bb380e2930 100644
--- a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java
+++ b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java
@@ -168,6 +168,7 @@ public class PlacePageView extends RelativeLayout
private View mWiki;
private View mEntrance;
private TextView mTvEntrance;
+ private View mTaxiShadow;
private View mTaxiDivider;
private View mTaxi;
private View mEditPlace;
@@ -387,6 +388,7 @@ public class PlacePageView extends RelativeLayout
mWiki.setOnClickListener(this);
mEntrance = mDetails.findViewById(R.id.ll__place_entrance);
mTvEntrance = (TextView) mEntrance.findViewById(R.id.tv__place_entrance);
+ mTaxiShadow = mDetails.findViewById(R.id.place_page_taxi_shadow);
mTaxiDivider = mDetails.findViewById(R.id.place_page_taxi_divider);
mTaxi = mDetails.findViewById(R.id.ll__place_page_taxi);
TextView orderTaxi = (TextView) mTaxi.findViewById(R.id.tv__place_page_order_taxi);
@@ -1559,7 +1561,7 @@ public class PlacePageView extends RelativeLayout
boolean showTaxiOffer = taxiTypes != null && !taxiTypes.isEmpty() &&
LocationHelper.INSTANCE.getMyPosition() != null &&
ConnectionState.isConnected();
- UiUtils.showIf(showTaxiOffer, mTaxi, mTaxiDivider);
+ UiUtils.showIf(showTaxiOffer, mTaxi, mTaxiShadow, mTaxiDivider);
if (!showTaxiOffer)
return;