title: How to create TextInputLayout with OutlineBox programmatically
body: <p>I want to create TextInputLayout with Widget.MaterialComponents.TextInputLayout.OutlinedBox style. I tried many ways but couldn't get the required result. 
  Here is my code.</p>
  
  <pre><code>TextInputLayout textInputLayout = new TextInputLayout(getActivity(),null,R.style.Widget_MaterialComponents_TextInputLayout_OutlinedBox);
  textInputLayout.setHint("My Hint");
  TextInputEditText editText = new TextInputEditText(textInputLayout.getContext());
  textInputLayout.addView(editText);
  parentView.addView(textInputLayout);
  </code></pre>
  
  <p>I also tried:</p>
  
  <pre><code>TextInputLayout textInputLayout = new TextInputLayout(getActivity(),null,TextInputLayout.BOX_BACKGROUND_OUTLINE);
  </code></pre>
  
  <p>I want to create view like this .<a href="https://i.stack.imgur.com/WgIn9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WgIn9.png" alt="enter image description here"></a></p>