Category Archives: general

How to customize actionbar items

I just wanted to point out this really handy method that lets you specify your own layout for an action item. <strong>android:actionlayout=”@layout/action_layout”</strong> Super cool albeit a bit obscure! This is all you need to do: In your menu xml: <item android:id=”@+id/menu_item” android:showAsAction=”always|withText” android:actionLayout=”@layout/action_layout” android:title=”@string/menu_settings”/> It’s that simple! Your layout can be anything! in my case

Read More

More on testing automation in Android

Test automation has been a particularly interesting topic for me in the past few weeks. I wanted to share some of the info I’ve gathered hoping that it will be useful to someone else. In my previous post I talked about Testdroid which makes use of robotium and also can make MonkeyRunner tests The plugin

Read More