Hello,

I am having trouble using the API documents. On the page:

http://developer.android.com/reference/android/widget/CheckBox.html

we find the following:

<TextView xmlns:android="http://schemas.android.com/apk/res/android";
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="10dp"
    android:textSize="16sp" >
</TextView>

but then under "Summary" when I click on the headings under
Inherited XML Attributes I see no android:layout_height. Instead
I find an entry for this attribute under:

http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html

but android.widget.CheckBox does not inherit from ViewGroup.LayoutParams.

But I thought that if it uses the android:layout_height attribute then it
should.

Where am I going wrong with my reasoning. Do I need to learn more about
XML Schema. Can someone please explain to me what is happening here?

Thanks,

John Goche

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to