blob: 017cf13ddf7b63120c1dc8a7e1192dac02dedc8a (
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
|
<?xml version="1.0" encoding="utf-8"?>
<com.mapswithme.maps.widget.HeightLimitedFrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:wheel="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:background="?windowBackgroundForced"
android:clickable="true">
<LinearLayout
android:id="@+id/ll__select_download"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingLeft="@dimen/margin_double_and_half"
android:paddingRight="@dimen/margin_double_and_half"
tools:ignore="UnusedAttribute">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/search_without_internet_advertisement"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="@dimen/placeholder_size"
android:layout_marginTop="@dimen/margin_half"
android:src="@drawable/img_search_no_maps"
android:tag="@string/tag_height_limited"/>
<LinearLayout
android:id="@+id/ll__location_determined"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
<TextView
android:id="@+id/tv__country_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_half"
android:paddingTop="@dimen/margin_half"
android:paddingBottom="@dimen/margin_half"
android:gravity="center"
android:textAppearance="@style/MwmTextAppearance.Title"
tools:text="Some country name"/>
<Button
android:id="@+id/btn__download_map"
style="@style/MwmWidget.Button.Accent"
android:layout_marginTop="@dimen/margin_half"
android:text="@string/downloader_download_map"
android:textAppearance="@style/MwmTextAppearance.Body1"/>
</LinearLayout>
<LinearLayout
android:id="@+id/ll__location_unknown"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_horizontal"
android:visibility="gone"
tools:visibility="visible">
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/height_block_base"
android:layout_marginTop="@dimen/margin_half"
android:gravity="center"
android:text="@string/unknown_current_position"
android:textAppearance="@style/MwmTextAppearance.Body3"/>
<Button
android:id="@+id/btn__select_map"
style="@style/MwmWidget.Button.Accent"
android:layout_marginTop="@dimen/margin_half"
android:text="@string/search_select_map"
android:textAppearance="@style/MwmTextAppearance.Body1"/>
<Button
android:id="@+id/btn__select_other_map"
style="@style/MwmWidget.Button"
android:layout_marginTop="@dimen/margin_base_plus"
android:text="@string/search_select_other_map"
android:textAppearance="@style/MwmTextAppearance.Body3"
android:textColor="?colorAccent"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/ll__active_download"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingLeft="@dimen/margin_double_and_half"
android:paddingRight="@dimen/margin_double_and_half"
android:visibility="gone">
<TextView
android:id="@+id/tv__active_country_name"
android:layout_width="wrap_content"
android:layout_height="@dimen/height_block_base"
android:textAppearance="@style/MwmTextAppearance.Title"/>
<com.mapswithme.maps.widget.WheelProgressView
android:id="@+id/wpv__download_progress"
android:layout_width="@dimen/downloader_status_size"
android:layout_height="@dimen/downloader_status_size"
android:layout_marginTop="@dimen/margin_half_plus"
android:background="?clickableBackground"
wheel:wheelProgressColor="?colorAccent"
wheel:wheelSecondaryColor="?dividerHorizontal"
wheel:wheelThickness="@dimen/margin_quarter"/>
</LinearLayout>
</com.mapswithme.maps.widget.HeightLimitedFrameLayout>
|