Android: Simple Weather Menu Icons

I have renamed my Android weather application to ‘Simple Weather’.

Menu with system Icons

Main

Absolutely the last screen shot I promise (until the next one).

You can reuse the system drawables, their id values start with “ic_”. In this context I wanted to reuse icons for ‘Settings’ and ‘About’.

The tricky bit, which isn’t very clear for the documentation or SDK, is the reference to the system icon.


<menu xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:id="@+id/show_settings"
        android:icon="@drawable/android:ic_menu_manage"
        android:title="@string/show_settings" />

    <item android:id="@+id/about"
        android:icon="@drawable/android:ic_menu_help"
        android:title="@string/about" />

</menu>

You can find a complete display of the system drawables here. This list is extremely handy.

Just got to put an nice icon together for this and then I will stick it up on the Android Market for people to download (free). I’m not expecting this to be a big hit or anything as there are weather applications which are amazing (like the Weatherbug one) but it might fill a niche for a simple straight forward forecast plus it’s got the geocoder view which is kind of unique.

Comments

Leave a Reply