Consider the XML fragment below, which is taken from one of the files in an Android project:
android:layout_width = "fill_parent"
android:layout_height = "fill_parent"
android:text = "Some Text">
Which of the following are true about the XML fragment above?
Question:Consider the XML fragment below, which is taken from one of the files in an Android project:
android:layout_width = "fill_parent"
android:layout_height = "fill_parent"
android:text = "Some Text">
Which of the following are true about the XML fragment above?
1.It is taken from an XML file used to define a view.
2.If this is not the outer most tag in the XML file then it need not contain the xmlns: attribute.
3.MyElement should be the name of a class derived, directly or indirectly, from the View class.✔
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!