daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Oct 21st, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <LinearLayout
  2.   android:layout_width="wrap_content"
  3.   android:id="@+id/llAddView"
  4.   android:layout_height="wrap_content"
  5.   android:orientation="vertical">
  6. </LinearLayout>
  7.    
  8. LinearLayout linearLayout =  (LinearLayout) findViewById(R.id.llAddView);
  9.     EditText newET= new EditText (this);
  10.     newET.setText("");
  11.     newET.setLayoutParams(new LayoutParams(
  12.             LayoutParams.MATCH_PARENT,
  13.             LayoutParams.WRAP_CONTENT));
  14.  
  15.     linearLayout.addView(newET);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top