/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

zserge.com
| | jakewharton.github.io

Field and method binding for Android views.
1.8 parsecs

Travel
| |
| | wittchen.io

When we work with Activities in Android, defining different layouts for different screen orientations is easy. The only thing we need to do, is to create two *.xml files with the same name for layouts in two separate directories (res/layout/ and res/layout-land/). In Fragments its not that easy. In such case, we need to perform additional operations in order to achieve our goal. Fragment in Android is not re-inflated on configuration change, but we can recreate layout and repopulate view manually.
1.4 parsecs

Travel
| |
| | arpitonline.com

In my previous post, I had written a bit about creating custom Layouts for Android. However to make a truly reusable layout there are a few more things we'd probably need: Some unique properties that you may want to assign to it via XML (Like LinearLayout has an orientation property unique to it) Custom LayoutParams...
1.8 parsecs

Travel
| |
| | pbrisbin.com

I am not an android developer. I am not even a Java developer. What appears below is my attempt to share what I've learned using the android documentation, google, and copious amounts of trial and/or error. I apologize for mistakes; please offer corrections via twitter or email. I was upset when I first got my Droid Eris that the media player couldn't load a url by default. I stream my mpd out to the world so that I can pick it up away from home.
18.1 parsecs

Travel
|