I'm at my wits end trying to figure this out and hope there is someone out there who has a solution.
I want to create a custom layout for an Android App. This should theoretically be straight forward enough, but I can find no useful information on how to do so.
I'm looking for: 1) A simple, step-by-step, tutorial on how to subclass the ViewGroup to create custom layouts. 2) A basic understanding of the inner mechanics of, for example, how to access child views, how and when to ask the child views to draw themselves, how to define the xml for a custom layout, how to access custom xml attributes etc.
I've looked all around the internet and I can only find small tidbits on it, and haven't even been able to get started creating a subclass.
I have found 1) A talk given at http://parleys.com/#id=2191&sl=3&st=5 but it cuts off after a few minutes asking for a subscription. 2) The API reference at http://developer.android.com/reference/android/view/ViewGroup.html but this doesn't give any clue as to how to realistically implement a subclass.