Say I have
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/editText2"
android:text="Save" />
At some point I might need to add some custom attributes, like this
<Button
...................................
my-attribute = "value"
...................................
android:text="Save" />
I tried to do this just like that but I get some errors, of course. I come from html5 world..
Is there a naming convention or something ?
Is there another (correct) way of doing this?