… | |
… | |
112 | if (entry.gettype() == 1)
|
112 | if (entry.gettype() == 1)
|
113 | {
|
113 | {
|
114 | convertView = inflater.inflate(R.layout.search_result_item_street, null);
|
114 | convertView = inflater.inflate(R.layout.search_result_item_street, null);
|
115 |
|
115 |
|
116 | ImageView icon_view = (ImageView) convertView.findViewById(R.id.icon);
|
116 | ImageView icon_view = (ImageView) convertView.findViewById(R.id.icon);
|
117 | if (Navit.PREF_current_theme == Navit.DEFAULT_THEME_OLD_LIGHT)
|
117 | if (Navit.p.PREF_current_theme == Navit.DEFAULT_THEME_OLD_LIGHT)
|
118 | {
|
118 | {
|
119 | // leave it as it is
|
119 | // leave it as it is
|
120 | }
|
120 | }
|
121 | else
|
121 | else
|
122 | {
|
122 | {
|
… | |
… | |
136 | else if (entry.gettype() == 3)
|
136 | else if (entry.gettype() == 3)
|
137 | {
|
137 | {
|
138 | convertView = inflater.inflate(R.layout.search_result_item_poi, null);
|
138 | convertView = inflater.inflate(R.layout.search_result_item_poi, null);
|
139 |
|
139 |
|
140 | ImageView icon_view = (ImageView) convertView.findViewById(R.id.icon);
|
140 | ImageView icon_view = (ImageView) convertView.findViewById(R.id.icon);
|
141 | if (Navit.PREF_current_theme == Navit.DEFAULT_THEME_OLD_LIGHT)
|
141 | if (Navit.p.PREF_current_theme == Navit.DEFAULT_THEME_OLD_LIGHT)
|
142 | {
|
142 | {
|
143 | // leave it as it is
|
143 | // leave it as it is
|
144 | }
|
144 | }
|
145 | else
|
145 | else
|
146 | {
|
146 | {
|
… | |
… | |
159 | else
|
159 | else
|
160 | {
|
160 | {
|
161 | convertView = inflater.inflate(R.layout.search_result_item_town, null);
|
161 | convertView = inflater.inflate(R.layout.search_result_item_town, null);
|
162 |
|
162 |
|
163 | ImageView icon_view = (ImageView) convertView.findViewById(R.id.icon);
|
163 | ImageView icon_view = (ImageView) convertView.findViewById(R.id.icon);
|
164 | if (Navit.PREF_current_theme == Navit.DEFAULT_THEME_OLD_LIGHT)
|
164 | if (Navit.p.PREF_current_theme == Navit.DEFAULT_THEME_OLD_LIGHT)
|
165 | {
|
165 | {
|
166 | // leave it as it is
|
166 | // leave it as it is
|
167 | }
|
167 | }
|
168 | else
|
168 | else
|
169 | {
|
169 | {
|