Doing something similar to this: http://developer.android.com/guide/topics/ui/custom-components.html
Now I want to do something like this:
<com.me.activities.MyCompoundControl android:id="@+id/someName" android:layout_height="wrap_content" android:layout_width="wrap_content" customproperty="12345"/>
So, my question is how do I declare/code
customproperty
So I can reference it in XML when insert my custom view?
See http://www.infidian.com/2008/05/02/android-tutorial-42-passing-custom-variables-via-xml-resource-files/ for how to use the
/res/values/attrs.xmlfile to specify the custom attributes you want to attach to your custom view and then access in the component initialization.