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

item_discovery_hotel_product.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec63bb94ccb23f660c12aefaba38812c206f007e (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?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_height="wrap_content"
  android:layout_width="wrap_content"
  android:padding="@dimen/margin_quarter"
  android:clipToPadding="false">
  <android.support.v7.widget.CardView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
    <LinearLayout
      android:layout_width="@dimen/gallery_product_width"
      android:layout_height="match_parent"
      android:minHeight="@dimen/discovery_search_item_min_height"
      android:orientation="vertical">
      <LinearLayout
        android:id="@+id/infoLayout"
        android:paddingBottom="@dimen/margin_half_double_plus"
        android:foreground="?clickableBackground"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">
        <TextView
          android:id="@+id/title"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="@dimen/margin_half_double_plus"
          android:layout_marginLeft="@dimen/margin_half_plus"
          android:layout_marginRight="@dimen/margin_half_plus"
          style="@style/MwmWidget.Discovery.Item.Title"
          android:maxLines="1"
          android:minLines="1"
          android:textAppearance="@style/MwmTextAppearance.Discovery.Item.Title"
          tools:text="Vinnci Gala"/>
        <TextView
          android:id="@+id/subtitle"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="@dimen/margin_eighth"
          android:layout_marginLeft="@dimen/margin_half_plus"
          android:layout_marginRight="@dimen/margin_half_plus"
          style="@style/MwmWidget.Discovery.Item.Subtitle"
          android:ellipsize="middle"
          android:textAppearance="@style/MwmTextAppearance.Body3"
          tools:text="★ ★ ★ ★ ★"/>
        <com.mapswithme.maps.widget.RatingView
          android:id="@+id/ratingView"
          android:layout_width="wrap_content"
          android:layout_marginTop="@dimen/margin_quarter"
          android:layout_marginBottom="@dimen/margin_half"
          android:layout_height="@dimen/rating_view_height_small"
          android:layout_marginStart="@dimen/margin_half"
          android:layout_marginLeft="@dimen/margin_half"
          android:paddingLeft="@dimen/margin_quarter_plus"
          android:paddingStart="@dimen/margin_quarter_plus"
          android:paddingRight="@dimen/margin_quarter_plus"
          android:paddingEnd="@dimen/margin_quarter_plus"
          android:paddingTop="@dimen/margin_quarter"
          android:paddingBottom="@dimen/margin_quarter"
          android:layout_gravity="center_horizontal|start"
          android:textSize="@dimen/text_size_body_4"
          tools:visibility="visible"/>
        <TextView
          android:id="@+id/distance"
          android:layout_marginTop="@dimen/margin_eighth"
          android:layout_marginLeft="@dimen/margin_half_plus"
          android:layout_marginStart="@dimen/margin_half_plus"
          android:layout_marginRight="@dimen/margin_half_plus"
          android:layout_marginEnd="@dimen/margin_half_plus"
          android:textAppearance="@style/MwmTextAppearance.Discovery.Item.Distance"
          android:ellipsize="end"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          tools:text="950 m"/>
      </LinearLayout>
      <include
        layout="@layout/item_discovery_button"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
    </LinearLayout>
  </android.support.v7.widget.CardView>
</FrameLayout>