EditText TextAttribute change to generic types