Hi,

I am trying to create a compound widget which has 2 labels (i.e.
textview), one label on each line.

public class TwoLabel extends LinearLayout {
        private TextView mLabel;
        private TextView mLabel2;

public TwoLabel(Context context, AttributeSet attrs, int defStyle) {
                super(context, attrs, defStyle);

        mLabel = new TextView(context, attrs, R.attr.textViewStyle);

        mLabel2 = new TextView(context, attrs, R.attr.textViewStyle);

}

}

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