Merge change 736 into donut
* changes: CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract.
This commit is contained in:
@@ -33,7 +33,7 @@ import com.android.internal.R;
|
|||||||
* something other than {@link android.widget.ListView#CHOICE_MODE_NONE CHOICE_MODE_NONE}.
|
* something other than {@link android.widget.ListView#CHOICE_MODE_NONE CHOICE_MODE_NONE}.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public abstract class CheckedTextView extends TextView implements Checkable {
|
public class CheckedTextView extends TextView implements Checkable {
|
||||||
private boolean mChecked;
|
private boolean mChecked;
|
||||||
private int mCheckMarkResource;
|
private int mCheckMarkResource;
|
||||||
private Drawable mCheckMarkDrawable;
|
private Drawable mCheckMarkDrawable;
|
||||||
|
|||||||
Reference in New Issue
Block a user