[android] Added white space between price and 'leave a review' button

[android] Added clearing the price value before opening place page
This commit is contained in:
Александр Зацепин 2017-10-16 14:25:51 +03:00 committed by Roman Kuznetsov
parent 3197940d30
commit f00622e442
2 changed files with 7 additions and 4 deletions

View file

@ -17,15 +17,13 @@
android:paddingEnd="@dimen/margin_quarter_plus"
android:paddingTop="@dimen/margin_quarter"
android:paddingBottom="@dimen/margin_quarter"
android:layout_marginRight="@dimen/margin_half"
android:layout_marginEnd="@dimen/margin_half"
android:layout_gravity="center_vertical"
android:textSize="@dimen/text_size_body_4"
tools:visibility="visible"/>
<TextView
android:id="@+id/tv__review_count"
android:layout_marginRight="@dimen/margin_half"
android:layout_marginEnd="@dimen/margin_half"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
android:ellipsize="end"
android:layout_width="0dp"
android:layout_weight="1"
@ -37,6 +35,8 @@
android:id="@+id/tv__hotel_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
android:layout_gravity="end|center_vertical"
android:textAppearance="@style/MwmTextAppearance.Body3"
android:textStyle="bold"
@ -46,6 +46,8 @@
style="@style/MwmWidget.Button.LeaveReview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
android:paddingBottom="@dimen/margin_eighth"
android:paddingTop="@dimen/margin_eighth"
android:paddingStart="@dimen/margin_half"

View file

@ -812,6 +812,7 @@ public class PlacePageView extends RelativeLayout
mReviewAdapter.setItems(new ArrayList<Review>());
mHotelRating.setText("");
mHotelRatingBase.setText("");
mTvSponsoredPrice.setText("");
}
private void clearUGCViews()