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

fragment_catalog_bookmark_categories.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1247f198aacfb2f5e2211ae37b1bf99c1f762895 (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:mapsme="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent">

  <android.support.v4.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:fillViewport="true"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <LinearLayout
      android:id="@+id/cached_bookmarks_payload_container"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical">
      <LinearLayout
        android:orientation="vertical"
        android:background="?cardBackground"
        android:focusableInTouchMode="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
      <android.support.constraint.ConstraintLayout
        android:id="@+id/header"
        android:paddingLeft="@dimen/margin_base"
        android:paddingRight="@dimen/margin_base"
        android:paddingBottom="@dimen/margin_half_plus"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <TextView
          android:id="@+id/header_title"
          android:text="@string/download_guides"
          android:textAppearance="@style/MwmTextAppearance.Body1"
          android:gravity="start|center_vertical"
          android:paddingTop="@dimen/margin_half_plus"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          mapsme:layout_constraintLeft_toLeftOf="parent"/>
        <TextView
          android:id="@+id/header_description"
          android:text="@string/cached_guides_placeholder_subtitle"
          android:textAppearance="@style/MwmTextAppearance.Body3"
          android:paddingTop="@dimen/margin_half_plus"
          android:paddingBottom="@dimen/margin_half_plus"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          mapsme:layout_constraintTop_toBottomOf="@id/header_title"/>
        <ImageView
          android:id="@+id/header_close"
          android:baselineAlignBottom="true"
          mapsme:layout_constraintRight_toRightOf="parent"
          mapsme:layout_constraintBottom_toTopOf="@id/header_description"
          mapsme:layout_constraintBaseline_toBaselineOf="@id/header_title"
          android:src="@drawable/ic_clear"
          android:tint="@color/icon_tint"
          android:layout_width="@dimen/margin_half_double_plus"
          android:layout_height="@dimen/margin_half_double_plus"/>
      </android.support.constraint.ConstraintLayout>
        <View
          android:background="?android:attr/listDivider"
          android:layout_width="match_parent"
          android:layout_height="@dimen/divider_height"/>
        <include
          android:id="@+id/download_routes_layout"
          layout="@layout/item_bookmark_create_group"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
        </include>
        <View
          android:background="?android:attr/listDivider"
          android:layout_width="match_parent"
          android:layout_height="@dimen/divider_height"/>
      </LinearLayout>
      <include
        layout="@layout/recycler_default"
        android:id="@+id/recycler"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/bookmark_recycler_view_bottom_margin"/>
    </LinearLayout>
  </android.support.v4.widget.NestedScrollView>
    <LinearLayout
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_centerHorizontal="true"
      android:gravity="center_horizontal"
      android:paddingTop="@dimen/placeholder_margin_top"
      android:paddingBottom="@dimen/placeholder_margin_top"
      android:paddingLeft="@dimen/margin_double_and_half"
      android:paddingRight="@dimen/margin_double_and_half"
      android:id="@+id/placeholder_container">
      <com.mapswithme.maps.widget.PlaceholderView
        android:id="@+id/placeholder"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center_horizontal"
        android:layout_weight="1"
        mapsme:imgSrcDefault="@drawable/img_empty_bookmarks"
        mapsme:titleDefault="@string/guides_catalogue_title"
        mapsme:subTitleDefault="@string/cached_bookmarks_placeholder_subtitle"/>
      <Button
        android:id="@+id/download_routers_btn"
        android:layout_width="@dimen/button_width"
        android:layout_height="wrap_content"
        style="@style/MwmWidget.Button.Primary"
        android:layout_weight="0"
        android:layout_marginTop="@dimen/margin_half"
        android:text="@string/download_guides"
        android:textAppearance="@style/MwmTextAppearance.Body1.Light"/>
    </LinearLayout>
    <LinearLayout
      android:id="@+id/placeholder_loading"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_centerInParent="true"
      android:gravity="center"
      android:visibility="gone"
      tools:visibility="visible">
      <ProgressBar
        style="@style/Widget.AppCompat.ProgressBar"
        android:background="@null"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
      <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:paddingTop="@dimen/margin_half"
        android:textAppearance="@style/MwmTextAppearance.Body3"
        android:text="@string/load_kmz_title"/>
    </LinearLayout>

</RelativeLayout>