A new attribute!!!

13 views
Skip to first unread message

Rajeev

unread,
Dec 28, 2012, 8:42:17 AM12/28/12
to winter-training...@googlegroups.com
From today onwards I'll be posting new attributes related to tags we have already learnt!!!
For today it is "android:hint", which is similar to "alt" for images in html....
try it out in you previous xml files...

Rajeev

unread,
Jan 1, 2013, 2:56:32 PM1/1/13
to winter-training...@googlegroups.com
I was ill nd left this blank, now I will put 3 new attributes to compensate..

1)android:tag
   similar to id and can be used to call the object in java using function 
   "findViewWithTag"

2)android:contentDescription
   to provide details of the content of the tag

3)this is not an attribute but an important empty tag
  <requestFocus />
  the parent gets the initial focus...
  use it and you'll get the meaning of it..

Rajeev

unread,
Jan 13, 2013, 1:01:59 PM1/13/13
to winter-training...@googlegroups.com
Post here if tags are required for any specific functionality...
Reply all
Reply to author
Forward
0 new messages