osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.58k stars 1.01k forks source link

Search screen – Android Auto #17209

Open dmpr0 opened 1 year ago

dmpr0 commented 1 year ago

ToDo

After changed we made in https://github.com/osmandapp/OsmAnd/issues/16632, that allows to access all used data from the main screen, I propose to update Search first screen.

Current Proposed

Search screen

Screenshot

Address, Figma

Add step-by-step address search for Android Auto.

Screenshot
Select cit Select street Select building
ntruchsess commented 6 months ago

I propose to make use of the TabTemplate that comes with car-library version 1.3.0. A maximum of 4 tabs is permitted, those could be 'Free Search', 'Address', 'Categories' and 'Favorites'. Free-search would be default. As long there is no search-phrase it would list the recently used destinations (this is what the current searchscreen already does).

vshcherb commented 5 months ago

We don't how to clear or append text after you click on City, so we can't allow to have incremental search. Like type "Bos" -> select "Boston" and text field would display "Boston " or "".

ntruchsess commented 5 months ago

@vshcherb to clear the input just push another instance of searchscreen on the stack. This also has the benefit one can go 'back' to each previous step (both via action or hardware-button)