itachi1706 / SingBuses

A Bus Arrival Tracker with Android Wear (Planned but not in the lonnnng future)
3 stars 1 forks source link

Map when searching location #64

Closed itachi1706 closed 6 years ago

itachi1706 commented 7 years ago

When searching location, also make a mapview visible where all bus stops are pointed out in reference to the user (with the labels and all that). Also make it such that clicking on said labels will launch the bus stop in question to retrieve bus timings

itachi1706 commented 6 years ago

We can move the search bar to the actionbar if possible and then show a map taking up half of the screen estate. Then making the map shrink when the list is interacted and letting the map expand when the map is being interacted

itachi1706 commented 6 years ago

How to make the map appear when using location check

https://stackoverflow.com/questions/19765938/show-and-hide-a-view-with-a-slide-up-down-animation

https://stackoverflow.com/questions/22454839/android-adding-simple-animations-while-setvisibilityview-gone

https://proandroiddev.com/the-little-secret-of-android-animatelayoutchanges-e4caab2fddec

Sent from my LG G7 ThinQ using FastHub

itachi1706 commented 6 years ago

Dynamic layout. Probably try constraint layouts I guess?

https://stackoverflow.com/questions/12302651/android-layout-height-in-percentage-of-screen-resolution

https://stackoverflow.com/questions/44741636/percentage-of-screen-height-not-parents-layout-height

itachi1706 commented 6 years ago

If this proves too troublesome to do we can also do tabbed browsing. One (main) for search and one for nearby