Tag: xml

  • [TUT] Using Annotations for Android XML onClick visibility

    In this tutorial I’ll show you how to create a basic Annotation. The idea being you can use this to highlight the entry points into your code. (These entry points coming from XML onClick declarations in your layout files). I did this originally for myself, I was finding it hard when looking through my Activity…

  • [TUT] Show YouTube Feed for a Users Videos in a ListView ( XML )

    Hi guys, this is a Tutorial Request to show a list of videos that a user has uploaded to their youtube channel using atom XML. YouTube has some great API‘s for using the data from their website and you can retrieve this data in a few formats including XML and JSON. This tutorial will retrieve…

  • [TUT] Array List of countries for arrays.xml

    Just created these two matching pair array’s of countries and county codes thought I would share them with everyone since I couldn’t find them myself. Could use the full names for a spinner selection and the short hand for database storage / look up / sending to a server. Or anything else! The Countries list,…

  • [TUT] ListView with a Footer Item

    Just figured this one out myself. If you want a ListView with a button / edittext or other view item below the ListView that stays at the bottom of the screen while the view still scroll’s:   <?xml version=”1.0″ encoding=”utf-8″?> <RelativeLayout xmlns:android=”https://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:padding=”10dip” > <LinearLayout android:id=”@+id/bottom_view” android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:layout_alignParentBottom=”true”> <!–Put whatever view…