So I\'m trying to get a grasp of using custom controls in Android. But my app crashes on trying to create the activity. Here\'s the code:
package com.myApp;
You have to add this constructor for creating any custom View.
public MyEditText(Context context, AttributeSet attrs) { super(context, attrs); ..... }
instead of
public MyEditText(Context context) { super(context); // TODO Auto-generated constructor stub }