title: How to change boxStrokeColor Of TextInputLayout in Android?
body: <p>I dynamically create textInputlayout and add it to my lienarlayot using <strong>the code below:</strong></p>
  <pre><code>        LinearLayout.LayoutParams params = new 
          LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 
          LinearLayout.LayoutParams.WRAP_CONTENT);
          params.setMargins(10,10,10,10);
          til.setLayoutParams(params);
          til.setHint(&quot;Label&quot;);
          til.setId(i+1);
          TextInputEditText et = new TextInputEditText(til.getContext());  
          et.setSingleLine(true);
          til.addView(et);
          til.setBoxCornerRadii(R.dimen.CornerRadious,R.dimen.CornerRadious,R.dimen.CornerRadious,
          R.dimen.CornerRadious);
          information.addView(til);
  </code></pre>
  <p>I want to change boxStrokeColor , CursorColor and HintTextColor.</p>
  <p><strong>I use the following code block to change boxStrokeColor</strong></p>
  <pre><code> til.setBoxStrokeColor(getResources().getColor(R.color.white));
  </code></pre>
  <p>But that code block only change the boxStrokeColor of TextInputLayout (white) when I click the TextInputLayout ,without click it's color is black. How can I set it's color white ?</p>