Comments (10)
I don't understand. Are you saying hide the search icon in the action bar on the main activity?
from brainy-quote-app.
Yes, until the user presses the search button on the main screen. If the user cancels a search by pressing the X symbol, then it will be hidden again. This is mainly for the main screen.
from brainy-quote-app.
Sure.
from brainy-quote-app.
There's another thing that we should think of. The blue search button is visible when the android keyboard pops up.
The user might click on the blue search button to search which will do nothing as the button just opens up the search view.
We could ...
- Move the blue buttons lower
- Set the blue buttons invisible when the search view is not iconified.
- other
from brainy-quote-app.
I am not really sure. If we make the buttons disapear, it would disrupt the layout. If the buttons are moved lower, there seems to be too much white space towards the center of the page.
Would it be possible to make the search button do a search, once the search field becomes visible for typing? Another idea is to start a new activity with only a search bar, or have the search bar appear right above the buttons on the main screen, similar to google's homepage, but this seems kind of cheesy.
from brainy-quote-app.
- How would making the buttons disappear disrupt the layout?
- I agree the buttons should not move any lower
- It should be possible to make the search button do a search. It would be a bit clunky though as the onClickListener for the button would have 2 functions then, opening the search and executing a search. We might have to set a boolean to do this effectively.
- I don't think starting a new activity with a search bar is necessary. This is the same thing as have the image buttons invisible.
- The searchView in the actionbar will stay in the actionbar. If you want a search interface above the button then you need to create a new search dialog or widget within the Main Activity.
from brainy-quote-app.
- I feel like the user does not really expect the buttons to disappear, and when they do, they open up a blank space in the center.
2 - 5. Same.
from brainy-quote-app.
You're right.
So..
- Keep as is
- Let the user press search and launch Specific Quote Activity
I'm now leaning towards (2) because the user can click on randomButton and be able to launch Random Quote Activity while searchView is iconified. Or we could always not let the user be able to launch the activity while searchView is iconified, but this is kind of a step back.
from brainy-quote-app.
(2) sounds good. To clarify, so when the user presses the search button after entering something, the specific quote activity is launched?
from brainy-quote-app.
No.
Currently the onClickListener of searchButton will only open the searchView (set isIconified to false).
The randomButton will launch the random quote activity though.
The specific quote activity is currently being launched by the onQueryTextSubmit of the onQueryTextListener of the searchView
from brainy-quote-app.
Related Issues (20)
- Favorited quotes must have starOn next to it HOT 5
- Option to unfavorite a quote HOT 1
- Discussion on extra functionalities for List View in FavQuoteScreen Activity HOT 4
- Arrow buttons HOT 6
- FavQuoteScreen activity extending BaseActivity HOT 2
- generateUrl methods need to be condensed HOT 3
- Instructional Custom Toast Messages HOT 3
- Future features HOT 9
- Sharing button HOT 4
- Discussion on Split ActionBar HOT 9
- Wrong quote on swipe right when pageNum = 2, index = 0 [pageNum ++]
- customized bottom bar more aesthetic HOT 1
- Discussion on Settings Page HOT 6
- Share button in CAB in fav quote screen HOT 1
- Animation onSwipe left and right. HOT 6
- Remember Search History
- Activity restarting on orientation change
- PopUpMenu on author search needs to be cleaner HOT 1
- Bookmarking search place for specific queryText HOT 1
- Pre Version 1 Release Checklist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brainy-quote-app.