FileDocCategorySizeDatePackage
BottomEditTextActivityPanScan.javaAPI DocAndroid 5.1 API1961Thu Mar 12 22:22:44 GMT 2015com.android.imftest.samples

BottomEditTextActivityPanScan

public class BottomEditTextActivityPanScan extends android.app.Activity

Fields Summary
private android.view.View
mRootView
private android.view.View
mDefaultFocusedView
Constructors Summary
Methods Summary
public android.view.ViewgetDefaultFocusedView()

        return mDefaultFocusedView;
    
public android.view.ViewgetRootView()

        return mRootView;
    
public voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);
        
        mRootView = new LinearLayout(this);
        ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL);
        
        View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false);
        mDefaultFocusedView = view.findViewById(R.id.dialog_edit_text);
        ((LinearLayout) mRootView).addView(view);
       
        setContentView(mRootView);
        this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);