Majax's Android Tips
Wednesday, October 17, 2018
How to set layout attributes on an included layout
›
If you're using the tag to include parts of a layout into another layout you might also want to be able to add layout attributes to the...
Tuesday, February 27, 2018
How to create a selector drawable and change its states on the fly in code
›
If you've ever built your own buttons you will likely use a selector Drawable to describe all the different states that the button will...
Friday, June 9, 2017
How to create your own overflow menus anywhere in your UI
›
You're probably building a list or a grid and you'd like your items to have a little overflow menu. Well, here's what you d...
Tuesday, March 14, 2017
›
TL:DR: If you ever plan on using Frame Animations ( animation-list ) to animate a list item in a recycler view make sure you stop the anim...
Wednesday, May 11, 2016
How to make your ViewPager give a sneak peak at the next page
›
Simply add a scroll animation like so: final long DRAG_HINT_ANIMATION_DURATION_IN = 500 ; final long DRAG_HINT_ANIMATION_DURATION_OU...
›
Home
View web version