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

item_viator_product.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e45ed99dfd09125ec990b2b7f4906b53c6a04ef1 (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
<?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">
  <androidx.cardview.widget.CardView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
    <RelativeLayout
      android:layout_width="@dimen/gallery_product_width"
      android:layout_height="wrap_content"
      android:foreground="?clickableBackground">
      <ImageView
        android:id="@+id/iv__image"
        android:layout_alignParentTop="true"
        android:layout_width="match_parent"
        android:layout_height="@dimen/viator_product_image_height"
        android:scaleType="centerCrop"
        tools:src="#555555"/>
      <TextView
        android:id="@+id/tv__title"
        android:layout_below="@id/iv__image"
        android:layout_width="match_parent"
        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:textAppearance="@style/MwmTextAppearance.Discovery.Item.Title"
        tools:text="Statue of Liberty and Ellis Island Guided Tour"/>
      <TextView
        android:id="@+id/tv__duration"
        android:layout_below="@id/tv__title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/margin_quarter"
        android:layout_marginLeft="@dimen/margin_half_plus"
        android:layout_marginRight="@dimen/margin_half_plus"
        style="@style/MwmWidget.Discovery.Item.Subtitle"
        android:textAppearance="@style/MwmTextAppearance.Body4"
        tools:text="4 hours"/>
      <com.mapswithme.maps.widget.RatingView
        android:id="@+id/ratingView"
        android:layout_below="@id/tv__duration"
        android:layout_width="wrap_content"
        android:layout_marginTop="@dimen/margin_quarter"
        android:layout_marginStart="@dimen/margin_half"
        android:layout_marginLeft="@dimen/margin_half"
        android:layout_marginRight="@dimen/margin_half"
        android:layout_marginEnd="@dimen/margin_half"
        android:layout_marginBottom="@dimen/margin_half_plus_eight"
        android:layout_height="@dimen/rating_view_height_small"
        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:textSize="@dimen/text_size_body_4"
        tools:visibility="visible"/>
      <TextView
        android:id="@+id/tv__price"
        android:layout_below="@id/ratingView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textAppearance="@style/MwmTextAppearance.Discovery.Item.Button"
        style="@style/MwmWidget.Discovery.Item.Button"
        android:layout_gravity="bottom"
        tools:text="$55"/>
    </RelativeLayout>
  </androidx.cardview.widget.CardView>
</FrameLayout>