title: Default text for TextInputLayout with AutoCompleteTextView
body: <p>I am using this to display a <code>Spinner</code> type of view for <code>TextInputLayout</code> but I am not getting how can I set any default value to it.</p>
  <pre><code>&lt;com.google.android.material.textfield.TextInputLayout
      style=&quot;@style/Widget.MaterialComponents.TextInputLayout.FilledBox.ExposedDropdownMenu&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      app:hintTextColor=&quot;@color/primary_color_3&quot;&gt;
  
      &lt;AutoCompleteTextView
          android:id=&quot;@+id/accType_dropdown&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:backgroundTint=&quot;@android:color/transparent&quot;
          android:inputType=&quot;none&quot;
          android:text=&quot;@={viewModel.mytext}&quot;
          android:lineSpacingExtra=&quot;5sp&quot;
          android:textColor=&quot;@color/name_primary_color&quot;
          android:textSize=&quot;14sp&quot; /&gt;
  
  &lt;/com.google.android.material.textfield.TextInputLayout&gt;
  </code></pre>
  <p>The placeholder only works when it is in focus mode so please suggest a workaround.</p>
  <p>Edit:</p>
  <p>I am using two way data binding in this textview and it seems due to this  no solution is working in my case. Even i try to set default value for binded object then it automatically pop ups the spinner on application launch which i don't need so please suggest me something.</p>