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

catalog_promo_container.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d00920b1424025cce4500aad57a85b5d63fa7e27 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:id="@+id/catalog_promo_container"
  android:orientation="vertical"
  android:background="?attr/windowBackgroundForced"
  android:layout_width="match_parent"
  android:layout_height="wrap_content">
  <TextView
    android:id="@+id/catalog_promo_title"
    android:text="@string/gallery_pp_download_guides_title"
    android:textAppearance="?android:textAppearance"
    android:singleLine="true"
    android:ellipsize="end"
    android:layout_marginLeft="@dimen/margin_base"
    android:layout_marginStart="@dimen/margin_base"
    android:layout_marginRight="@dimen/margin_base"
    android:layout_marginEnd="@dimen/margin_base"
    android:layout_marginTop="@dimen/margin_base"
    android:layout_marginBottom="@dimen/margin_half_plus"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>
  <include
    android:id="@+id/catalog_promo_title_divider"
    android:layout_width="match_parent"
    android:layout_height="@dimen/divider_height"
    layout="@layout/list_divider"/>
  <LinearLayout
    android:id="@+id/promo_poi_description_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:background="?cardBackground"
    android:padding="@dimen/margin_base">
    <TextView
      android:id="@+id/promo_poi_name"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textSize="@dimen/text_size_body_3"
      android:fontFamily="@string/robotoRegular"
      android:textStyle="bold"
      android:textColor="?android:textColorPrimary"
      android:lineSpacingExtra="@dimen/line_spacing_extra_2"
      android:maxLines="2"
      android:ellipsize="end"
      tools:text="Государственный музей изобразительных искусств имени А.С. Пушкина это..."
      tools:targetApi="jelly_bean" />
    <TextView
      android:id="@+id/promo_poi_description"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginTop="@dimen/margin_half"
      android:textSize="@dimen/text_size_body_3"
      android:fontFamily="@string/robotoRegular"
      android:textStyle="normal"
      android:textColor="?android:textColorPrimary"
      android:lineSpacingExtra="@dimen/line_spacing_extra_2"
      android:maxLines="5"
      android:ellipsize="end"
      tools:text="музейный комплекс, обладающий одим из крупнейших в России художественных собраний
      зарубежного искусства. хранящий артефакты, созданные мастерами разных эпох - от Древнего Египта
      и античной Греции до;..."
      tools:ignore="UnusedAttribute" />
    <TextView
      android:id="@+id/promo_poi_more"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textSize="@dimen/text_size_body_3"
      android:fontFamily="@string/robotoRegular"
      android:textStyle="normal"
      android:textColor="?colorAccent"
      android:lineSpacingExtra="@dimen/text_size_body_3"
      android:text="@string/category_desc_more"
      android:layout_marginTop="@dimen/margin_half"
      tools:ignore="UnusedAttribute" />
  </LinearLayout>
  <include
    android:id="@+id/promo_poi_description_divider"
    android:layout_width="match_parent"
    android:layout_height="@dimen/divider_height"
    layout="@layout/list_divider"/>
  <android.support.v7.widget.CardView
    android:id="@+id/promo_poi_card"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/margin_half"
    app:cardCornerRadius="@dimen/margin_eighth"
    app:cardBackgroundColor="?cardBackground">
    <LinearLayout
      android:layout_width="match_parent"
      android:layout_height="@dimen/promo_single_place_container_height"
      android:orientation="horizontal"
      tools:ignore="UnusedAttribute">
      <ImageView
        android:id="@+id/promo_poi_image"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:scaleType="centerCrop"/>
      <LinearLayout
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:orientation="vertical"
        android:paddingStart="@dimen/margin_half_plus"
        android:paddingLeft="@dimen/margin_half_plus"
        android:paddingTop="@dimen/margin_double_and_half"
        android:paddingEnd="@dimen/margin_half_plus"
        android:paddingRight="@dimen/margin_half_plus"
        android:paddingBottom="@dimen/margin_base">
        <TextView
          android:id="@+id/place_single_bookmark_name"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:ellipsize="end"
          android:fontFamily="@string/robotoRegular"
          android:lineSpacingExtra="@dimen/line_spacing_extra_0"
          android:maxLines="3"
          android:textColor="?android:textColorPrimary"
          android:textSize="@dimen/text_size_body_3"
          android:textStyle="bold"
          tools:text="From the Alexander Gardens to the City centre" />
        <TextView
          android:id="@+id/place_single_bookmark_author"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="@dimen/margin_half"
          android:fontFamily="@string/robotoRegular"
          android:lineSpacingExtra="@dimen/line_spacing_extra_1"
          android:textColor="?android:textColorSecondary"
          android:textSize="@dimen/text_size_body_4"
          android:textStyle="normal"
          tools:text="ArrivalGuides" />
        <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:gravity="bottom"
          android:orientation="vertical">
          <Button
            android:id="@+id/place_single_bookmark_cta"
            style="@style/MwmWidget.Button.Primary"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingLeft="@dimen/margin_half"
            android:paddingStart="@dimen/margin_half"
            android:paddingRight="@dimen/margin_half"
            android:paddingEnd="@dimen/margin_half"
            android:paddingTop="@dimen/margin_quarter_plus"
            android:paddingBottom="@dimen/margin_quarter_plus"
            android:text="@string/pp_discovery_place_related_cta_button"/>
        </LinearLayout>
      </LinearLayout>
    </LinearLayout>
  </android.support.v7.widget.CardView>
  <android.support.v7.widget.RecyclerView
    android:id="@+id/catalog_promo_recycler"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/margin_quarter"
    android:layout_marginBottom="@dimen/margin_quarter" />
</LinearLayout>