Categories
android morsels

Monthly Android Morsels [November 2015]

Just a small list of things related to Android development that I have found useful this month. Hope you find them useful too!

  • Android Design: A nice new way to edit your theme and see its effect in Android Studio. Click Tools -> Android -> Theme Editor
Android Theme Editor
Android Theme Editor
  • Android XML optimisation: Tired of creating dummy text strings in the strings.xml file? Or want to see things in the Design View but it’s supposed to be hidden in the real view?

You can use the nifty tools namespace to make things visible for design purposes but have no affect in your app. Add the tools namespace to your XML file and you can override things such as visibility and text. Even though android:visibility is set to gone, using tools:visibility to visible, the view will be visible in the Design View but not in the real implementation.Very handy for complex layouts.

https://gist.github.com/spongebobrf/fd3199c043e02e399b5c

http://tools.android.com/tips/layout-designtime-attributes

Using Design time
Using Design time attributes

What cool Android things have you discovered recently?

#AndroidMorsels

Leave a Reply