Clear button and busy indicator for search field
Review Request #124605 - Created Aug. 3, 2015 and submitted
Some minor improvements for the search field:
- add a clear button
- add a busy indicator
- restrict width to a maximum width to avoid that it spans the full screen in landscape mode or on large screens (e.g. tablets)
The buttons (including the existing search button) are rendered inside the search input field for a nicer look. The busy indicator uses a custom style because the default Qt implementation fails to adjust its size on Android.
See http://nienhueser.de/marble/marble-android-search-ui.mp4 for a screencast. The video stutters a bit, my device is too slow to record a screencast in realtime. A screenshot is attached.
Tested on a Nexus 4.