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

fragment_search_filter.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9b0ed420171b6876ea26c49d5e13a4d8465fa12e (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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:orientation="vertical"
  android:background="?windowBackgroundForced"
  android:layout_width="match_parent"
  android:layout_height="match_parent">
  <android.support.design.widget.AppBarLayout
    android:id="@+id/app_bar"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/colorPrimary"
    android:elevation="@dimen/margin_half_plus"
    tools:targetApi="lollipop">
    <android.support.design.widget.CollapsingToolbarLayout
      android:id="@+id/collapsing_toolbar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      app:titleEnabled="false"
      app:layout_scrollFlags="enterAlways">
      <android.support.v7.widget.Toolbar
        android:id="@+id/toolbar"
        style="@style/MwmWidget.ToolbarStyle"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:theme="@style/MwmWidget.ToolbarTheme">
        <ImageView
          android:id="@+id/reset"
          android:layout_width="?actionBarSize"
          android:layout_height="?actionBarSize"
          android:layout_alignParentEnd="true"
          android:layout_alignParentRight="true"
          android:layout_gravity="end|center_vertical"
          android:background="?selectableItemBackgroundBorderless"
          android:scaleType="centerInside"
          android:src="@drawable/ic_24px_clear"/>
      </android.support.v7.widget.Toolbar>
    </android.support.design.widget.CollapsingToolbarLayout>
  </android.support.design.widget.AppBarLayout>
  <android.support.v4.widget.NestedScrollView
    android:id="@+id/scroll"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <LinearLayout
      android:id="@+id/content"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:paddingBottom="@dimen/hotels_filter_padding"
      android:orientation="vertical">
      <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="@dimen/margin_base"
        android:orientation="horizontal"
        android:baselineAligned="false">
        <LinearLayout
          android:layout_width="0dp"
          android:layout_weight="1"
          android:layout_marginLeft="@dimen/margin_base"
          android:layout_marginStart="@dimen/margin_base"
          android:layout_marginRight="@dimen/margin_quarter"
          android:layout_marginEnd="@dimen/margin_quarter"
          android:orientation="vertical"
          android:gravity="start"
          android:layout_height="wrap_content">
          <TextView
            android:id="@+id/checkin_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/margin_half"
            android:textColor="?attr/bookingFilterTitleColor"
            android:textAppearance="@style/MwmTextAppearance.BookingFilter.Title"
            android:text="@string/booking_filters_check_in"/>
          <TextView
            android:id="@+id/checkIn"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            style="@style/MwmTextAppearance.BookingFilter.DateTextView"/>
        </LinearLayout>
        <LinearLayout
          android:layout_width="0dp"
          android:layout_weight="1"
          android:layout_marginLeft="@dimen/margin_quarter"
          android:layout_marginStart="@dimen/margin_quarter"
          android:layout_marginRight="@dimen/margin_base"
          android:layout_marginEnd="@dimen/margin_base"
          android:orientation="vertical"
          android:gravity="start"
          android:layout_height="wrap_content">
          <TextView
            android:id="@+id/checkout_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/margin_half"
            android:textColor="?attr/bookingFilterTitleColor"
            android:textAppearance="@style/MwmTextAppearance.BookingFilter.Title"
            android:text="@string/booking_filters_check_out"/>
          <TextView
            android:id="@+id/checkOut"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            style="@style/MwmTextAppearance.BookingFilter.DateTextView"/>
        </LinearLayout>
      </LinearLayout>
      <TextView
        android:id="@+id/offlineWarning"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/margin_base"
        android:layout_marginRight="@dimen/margin_base"
        android:layout_marginTop="@dimen/margin_half_plus"
        android:visibility="gone"
        android:text="@string/offline_fiters_check_in"
        android:textAppearance="@style/MwmTextAppearance.BookingFilter.Warning"/>
      <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/margin_base"
        android:layout_marginRight="@dimen/margin_base"
        android:layout_marginBottom="@dimen/margin_half"
        android:layout_marginTop="@dimen/hotels_filter_margin_top"
        android:textAppearance="@style/MwmTextAppearance.BookingFilter.Title"
        android:text="@string/booking_filters_rating"/>
      <com.mapswithme.maps.search.RatingFilterView
        android:id="@+id/rating"
        android:layout_marginLeft="@dimen/margin_base"
        android:layout_marginRight="@dimen/margin_base"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
      <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/margin_base"
        android:layout_marginRight="@dimen/margin_base"
        android:layout_marginTop="@dimen/hotels_filter_margin_top"
        android:layout_marginBottom="@dimen/margin_half"
        android:textAppearance="@style/MwmTextAppearance.BookingFilter.Title"
        android:text="@string/booking_filters_price_category"/>
      <com.mapswithme.maps.search.PriceFilterView
        android:id="@+id/price"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/margin_base"
        android:layout_marginRight="@dimen/margin_base"/>
      <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/margin_base"
        android:layout_marginRight="@dimen/margin_base"
        android:layout_marginTop="@dimen/hotels_filter_margin_top"
        android:textAppearance="@style/MwmTextAppearance.BookingFilter.Title"
        android:text="@string/search_hotel_filters_type"/>
      <android.support.v7.widget.RecyclerView
        android:id="@+id/type"
        android:layout_marginLeft="@dimen/margin_quarter"
        android:layout_marginRight="@dimen/margin_quarter"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:listitem="@layout/item_tag"/>
    </LinearLayout>
  </android.support.v4.widget.NestedScrollView>
  <TextView
    android:id="@+id/done"
    android:layout_width="match_parent"
    android:minHeight="@dimen/height_block_base"
    android:layout_height="wrap_content"
    android:layout_gravity="bottom"
    android:gravity="center"
    android:textAppearance="@style/MwmTextAppearance.Button"
    android:fontFamily="@string/robotoMedium"
    android:text="@string/search"
    android:background="?filterPropertyBackground"
    tools:targetApi="jelly_bean"/>
</android.support.design.widget.CoordinatorLayout>