Welcome to mirror list, hosted at ThFree Co, Russian Federation.

place_page_hotel_rating.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3291ec4500e87c217347eb2450c892187efb20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:id="@+id/ll__place_hotel_rating"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:visibility="gone"
              tools:visibility="visible">

  <LinearLayout
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingTop="@dimen/placepage_margin_rating"
    android:paddingBottom="@dimen/margin_base"
    android:paddingLeft="@dimen/margin_base"
    android:paddingRight="@dimen/margin_base"
    android:background="?ppRatingBackground">

    <TextView
      android:id="@+id/tv__place_hotel_rating"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:textAppearance="@style/MwmTextAppearance.Body1"
      android:textColor="?ppRatingText"
      tools:text="Rating: 8.7 (Excellent)"/>

    <TextView
      android:id="@+id/tv__place_hotel_rating_base"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginTop="@dimen/margin_half"
      android:textAppearance="@style/MwmTextAppearance.Body3"
      tools:text="Based on 848 hotel reviews"/>
  </LinearLayout>

  <android.support.v7.widget.RecyclerView
    android:id="@+id/rv__place_hotel_review"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    tools:listitem="@layout/item_comment"/>

  <View
    android:layout_width="match_parent"
    android:layout_height="1dp"
    android:layout_marginLeft="@dimen/margin_base"
    android:layout_marginRight="@dimen/margin_base"
    android:background="?dividerHorizontal"/>

  <TextView
    android:id="@+id/tv__place_hotel_reviews_more"
    style="@style/PlacePageMetadataText.Button"
    android:height="@dimen/height_block_base"
    android:background="?clickableBackground"
    android:gravity="center"
    android:text="@string/reviews_on_bookingcom"/>

  <include layout="@layout/divider_horizontal"/>
</LinearLayout>