Latest Tweets

 
I’ve been getting to grips with the new drawable density functionality that’s been exposed in Android 1.6 and it’s terrific - it simply saves so much effort when you want to target different screen sizes.

You can see how the layouts (originally designed around HVGA) are faithfully recovered compared with Android 1.5. For example in the first screenshot, the buttons return to the correct proportions, and in the second, the flower reclaims most of the screen estate.


when I say no code changes, all I did was change all pixel dimensions to dips and patch up the “Share” rendering (as described in my last post).

I’ve been getting to grips with the new drawable density functionality that’s been exposed in Android 1.6 and it’s terrific - it simply saves so much effort when you want to target different screen sizes.

You can see how the layouts (originally designed around HVGA) are faithfully recovered compared with Android 1.5. For example in the first screenshot, the buttons return to the correct proportions, and in the second, the flower reclaims most of the screen estate.

  • when I say no code changes, all I did was change all pixel dimensions to dips and patch up the “Share” rendering (as described in my last post).