title: How can set Hint Text in code?
body: <p>I have:</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
                      android:id="@+id/ti_amount_layout"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center_horizontal"
                      android:layout_marginTop="10dp"
                      android:layout_marginBottom="10dp"
                      android:theme="@style/BlueAccentColor"&gt;
  
                      &lt;EditText
                          android:id="@+id/et_amount"
                          style="@style/EditTextRedBorder"
                          android:layout_width="@dimen/product_selector_width"
                          android:background="@drawable/contacts_bg_mess"
                          android:textColorHint="@color/palette_contacts_send_mess_text"
                          android:textColor="@color/palette_black"
                          android:inputType="numberDecimal"&gt;
  
                      &lt;/EditText&gt;
  
                  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>And I need add <strong>Hint Text</strong>, If I added hint text in xml, in EditText:</p>
  
  <pre><code>android:hint="@string/s_amount"
  </code></pre>
  
  <p>all nice, but if I add <code>etAmount.setHint(R.string.s_amount);</code> in code - String (hint text) does not popup ((, Why?</p>