Please go through following URL
http://developer.android.com/resources/browser.html?tag=tutorial
It will be great help for you :)
If you want to control behavior of any particular component in an
activity, you have to find the component first by using id of that
particular component,for that
thank u so much :)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For
hi ...I wil tell u what exactly findViewByid ...as u see R.layout.id or
R.id.(button id or any other widgets i's) ...in android project folder
structure you can see Gen folder under gen folder there is R.java class this
is auto generated by framework.it is a bridge detween user interface and
android:id is used to access that resource id in the java program and
findViewById() used in java program to access the particular id in the xml
file.
Abhijit Chakra
On Tue, Jul 26, 2011 at 9:26 PM, rambabu mareedu
rambabu.mare...@gmail.comwrote:
hi ...I wil tell u what exactly findViewByid
There is another important fact about android:id. The widget will save
its state if it has a unique ID (with the android:id attribute). The
widget state is restored by default implementation of
onSaveInstanceState(). If a widget does not have an ID, then it cannot
save its state.
On Jul 22, 4:46
5 matches
Mail list logo