package com.chiclaim.customview;

import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.InputType;
import android.util.Log;
import android.widget.LinearLayout;

/**
 * Description：
 * <br/>
 * Created by kumu on 2017/5/15.
 */

public class EditViewInMZ extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_edit_view_mz);
        LinearLayout ll = (LinearLayout) findViewById(R.id.ll_container);
        MZEditText myEditText = new MZEditText(this);

        myEditText.setExtraWidth(11);
        //myEditText.removeExtraWidth();

        myEditText.setBackgroundResource(0);
        myEditText.setInputType(InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_CLASS_NUMBER);
        myEditText.setMaxLines(1);
        myEditText.setSingleLine(true);
        ll.addView(myEditText, 1);

        Log.e("EditViewInMZ", Build.BRAND);
        Log.e("EditViewInMZ", Build.DEVICE);
        Log.e("EditViewInMZ", Build.MODEL);
        Log.e("EditViewInMZ", Build.FINGERPRINT);
        Log.e("EditViewInMZ", Build.HOST);
        Log.e("EditViewInMZ", Build.TYPE);
        Log.e("EditViewInMZ", Build.MANUFACTURER);
        Log.e("EditViewInMZ", Build.USER);
        Build.VERSION.
    }
}

@@ -60,33 +60,8 @@
 ty;%0A
-import android.os.Build;%0A
 impo
@@ -161,33 +161,8 @@
 pe;%0A
-import android.util.Log;%0A
 impo
@@ -956,394 +956,8 @@
 );%0A%0A
-        Log.e(%22EditViewInMZ%22, Build.BRAND);%0A        Log.e(%22EditViewInMZ%22, Build.DEVICE);%0A        Log.e(%22EditViewInMZ%22, Build.MODEL);%0A        Log.e(%22EditViewInMZ%22, Build.FINGERPRINT);%0A        Log.e(%22EditViewInMZ%22, Build.HOST);%0A        Log.e(%22EditViewInMZ%22, Build.TYPE);%0A        Log.e(%22EditViewInMZ%22, Build.MANUFACTURER);%0A        Log.e(%22EditViewInMZ%22, Build.USER);%0A        Build.VERSION.%0A
     

remove print Build info