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

catalog_promo_placeholder_card.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9f28dbde587c06aedd58088ee3e809ad9e446a0 (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
<FrameLayout
  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_placeholder_card"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:padding="@dimen/margin_quarter"
  android:clipToPadding="false">
  <androidx.cardview.widget.CardView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:cardBackgroundColor="?cardBackground"
    android:minHeight="@dimen/discovery_expert_item_min_height">
    <LinearLayout
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="@dimen/discovery_expert_item_min_height">
      <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:minHeight="@dimen/discovery_search_item_min_height"
        android:background="?attr/clickableBackground"
        android:orientation="vertical"
        android:gravity="center_horizontal">
        <ProgressBar
          android:id="@+id/progress"
          android:layout_width="@dimen/margin_base_plus"
          android:layout_height="@dimen/margin_base_plus"
          android:layout_marginTop="@dimen/margin_base_plus"/>
        <TextView
          android:id="@+id/title"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="@dimen/margin_half_plus"
          android:layout_marginLeft="@dimen/margin_half_plus"
          android:layout_marginRight="@dimen/margin_half_plus"
          android:gravity="center_horizontal"
          android:lines="2"
          android:textAppearance="@style/MwmTextAppearance.Discovery.Item.Title"
          tools:text="Irina Severintseva"/>
        <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"
          android:gravity="center_horizontal"
          android:lines="3"
          android:ellipsize="middle"
          android:textAppearance="@style/MwmTextAppearance.Body3"
          tools:text="★ ★ ★ ★ ★"/>
      </LinearLayout>
      <TextView
        android:id="@+id/button"
        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"
        android:lines="1"
        android:text="@string/details"/>
    </LinearLayout>
  </androidx.cardview.widget.CardView>
</FrameLayout>