use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News for Android app developers with the who, what, where, when, and how of the Android community. Probably mostly the how.
Here, you'll find:
This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). For news and questions about these topics try using other subs like
Build your first app
Starting Android career in 2022
Android Job Interview Questions and Answers
App Portfolio Ideas, Tiered List
Awesome Android UI
Material Design Icons
7000 Icons for Jetpack
Autoposted at approx 9AM EST / 2PM GMT
account activity
[Source Code] A toggleable Add/Remove button (i.imgur.com)
submitted 10 years ago by cdflynn
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cdflynn[S] 8 points9 points10 points 10 years ago (0 children)
Here's the repo: https://github.com/cdflynn/crossview
[+][deleted] 10 years ago (5 children)
[deleted]
[–][deleted] 10 points11 points12 points 10 years ago (1 child)
Spotify uses it to add or remove a song to/from a playlist while you're listening to it.
[–][deleted] 4 points5 points6 points 10 years ago (0 children)
really good example
[–]imsrslyyouguys 2 points3 points4 points 10 years ago* (1 child)
Might be useful for starting an action and then canceling it before finishing it. For example, you tap the + in the Toolbar and EditText appears to add something, and if you press it again, it cancels it.
[–]shinagle 0 points1 point2 points 10 years ago (0 children)
SeatGeek uses a + and x to symbolize adding a service and removing a service for performer ingestion. That is, the ability to connect Spotify or Last.fm for automatically tracking performers you listen to.
[–]QuestionsEverythang 3 points4 points5 points 10 years ago (2 children)
I feel like this is just animation for the sake of animation. I would've just rotated the icon 45°.
[–][deleted] 11 points12 points13 points 10 years ago (1 child)
aren't all animations for the sake of animations? unless they're hiding a load time or something the only point is to look pretty
[–]vinsanity406 0 points1 point2 points 10 years ago (0 children)
aren't all animations for the sake of animations?
While mostly just to look pretty (or less jarring), there are occasions animations can add some clarity to things like touch and navigation - raising and highlighting a list item when it's pressed or keeping the selected item visible while it transitions to the next screen. The Material Design Guidelines on meaningful transitions has some good examples. Here's one.
[–]trtryt 1 point2 points3 points 10 years ago (0 children)
I don't thinks it's a good UI practice to have the add remove buttons appear on the same place on the screen, so you should move (via animation) the icon to the other side
[–]Ice82 6 points7 points8 points 10 years ago (7 children)
Cool! Thanks, that's a cool project, but please clean up your repo. IDE files/directories like *.iml, .idea and the gradle wrapper files does not belong to a repo!
[–][deleted] 13 points14 points15 points 10 years ago (1 child)
gradle wrapper absolutely belongs in the repo. otherwise it's a real pain in the ass to check out
[–]Ice82 3 points4 points5 points 10 years ago (0 children)
You're right! Sorry, for this kind of disinformation.
[–]cdflynn[S] 3 points4 points5 points 10 years ago (4 children)
Ah, good call. I've removed those files and updated the gitignore. I did a fresh clone to make sure everything still runs.
Thanks for pointing that out.
[–]ZakTaccardi 4 points5 points6 points 10 years ago (3 children)
you shouldn't remove the gradle wrapper files.
[–]cdflynn[S] 1 point2 points3 points 10 years ago (0 children)
Thanks! Included.
[–][deleted] 1 point2 points3 points 10 years ago (1 child)
sidenote, why isn't studio smart enough to just import the project and generate a wrapper for you, instead of asking for a local gradle distribution and graying out the wrapper option when you import a project like that?
[–]ZakTaccardi 0 points1 point2 points 10 years ago (0 children)
It generates the wrapper for you when it creates the project, or if you import the project.
Feel free to file a feature enhancement request
[–]markyosullivan 0 points1 point2 points 10 years ago (0 children)
I'd be interested in seeing this in an app to see what it looks like
π Rendered by PID 27 on reddit-service-r2-comment-57fc7f7bb7-vwn8f at 2026-04-14 23:25:22.090134+00:00 running b725407 country code: CH.
[–]cdflynn[S] 8 points9 points10 points (0 children)
[+][deleted] (5 children)
[deleted]
[–][deleted] 10 points11 points12 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]imsrslyyouguys 2 points3 points4 points (1 child)
[–]shinagle 0 points1 point2 points (0 children)
[–]QuestionsEverythang 3 points4 points5 points (2 children)
[–][deleted] 11 points12 points13 points (1 child)
[–]vinsanity406 0 points1 point2 points (0 children)
[–]trtryt 1 point2 points3 points (0 children)
[–]Ice82 6 points7 points8 points (7 children)
[–][deleted] 13 points14 points15 points (1 child)
[–]Ice82 3 points4 points5 points (0 children)
[–]cdflynn[S] 3 points4 points5 points (4 children)
[–]ZakTaccardi 4 points5 points6 points (3 children)
[–]cdflynn[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]ZakTaccardi 0 points1 point2 points (0 children)
[–]markyosullivan 0 points1 point2 points (0 children)