In the android source code, CheckedTextView
(frameworks/base/core/java/android/widget/CheckedTextView.java) is an
abstract class.

And yet, in select_dialog_singlechoice
(/Volumes/android/mydroid-faves/frameworks/base/core/res/res/layout/select_dialog_singlechoice.xml),
it is using CheckedTextView widget:

<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android";
    android:id="@android:id/text1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:textAppearance="?android:attr/textAppearanceLargeInverse"
    android:gravity="center_vertical"
    android:paddingLeft="12dip"
    android:paddingRight="7dip"
    android:checkMark="@android:drawable/btn_check"
    android:ellipsize="marquee"
/>

Can you please tell me how does Android instantiated the
CheckedTextView given that it is an abstract class when it inflates
select_dialog_singlechoice.xml?

Thank you.

-- 
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