title: How to add chips from Material Components library to input field in android?
body: <p>I've seen that in android-P google add new material components library which contains material chips:  </p>
  
  <p><a href="https://material.io/develop/android/components/chip/" rel="noreferrer">Material components for android</a></p>
  
  <p><a href="https://material.io/design/components/chips.html#usage" rel="noreferrer">Material.io chips usage</a></p>
  
  <p><a href="https://github.com/material-components/material-components-android" rel="noreferrer">Material components on GitHub</a></p>
  
  <p>So I decided to add material input chips to my project, but unfortunately didn't find any tutorial how to make that. I want to create something like Gmail chips but without image on the start.  </p>
  
  <p>Because I'm using appcompat library I tried to use material chips by <code>android.support.design.chip.Chip</code> and <code>android.support.design.chip.ChipGroup</code>.
  But result was just chips without any input field. Also I tried to create a Standalone ChipDrawable and then add it to <code>EditText</code> using </p>
  
  <pre><code>Editable text = editText.getText();
  
  text.setSpan(span, 0, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
  </code></pre>
  
  <p>But I got empty EditText without any chips. So how can I create chips input like in Gmail using this material components library? Maybe someone has expreience or knows any tutorials where I could see how to create this?</p>
  
  <p>Thanks in advance!</p>