repo: https://github.com/jimandreas/SearchViewBottomNav
Demonstrates what this app has implemented:
Search function with Bottom Nav Bar
Fast Scroll over 253 months of entries
-
Search Fruits - remember search choices. Show matches.
-
Fast scroll of 20 years of monthly selections. Based on the Google Photos fast scroll UX.
-
Google Photos fast scroll. It is really a good example of a useful scroll feature.
-
Wikipedia search function. It was the model to match for a search user experience.
Note that both of these UX features were implemented here as concepts for inclusion in the Molecule Of The Month browser implementation.
Code credits:
- Android Studio Bottom Navigation Bar template
It is coded in Kotlin and is based on the BottomNavigationBar
"Hello World" template
as kindly provided in Android Studio 4.1.
The UI in the Wikipedia app switches dynamically between a history of the search function, and a dynamically updated match list based on the search entry text. The design follows what exists in the Wikipedia app as of October 2020.
The design uses the collapsing toolbar view for the fruit activity. The link above references the github repo authored by @chrisbanes.
The Reply sample application has a mostly non-functional search function - but the UI is based on the EditText widget rather than the SearchView widget. The EditText widget provides a sufficient level of base functionality and proved to be much simpler to manage in laying out UI components. This sample app wires up the "cancel text" X pushbutton, and the back arrow to dismiss the soft keyboard in a layout similar to the Reply app.
- Images from imgur
The fruit images are all sourced from imgur. See the FRUITS.md file for the fruit images referenced and their URLs.