<commit_before>---
layout: post
title:  "Add drawable to Multiline EditText's top left corner"
date:   2017-06-21
---

EditText is a user interface element for entering and modifying text. When you define an edit text widget, you must specify the TextView_inputType attribute. For example, for plain text input set **inputType** to "text": 
{% highlight xml %}
<EditText
     android:id="@+id/plain_text_input"
     android:layout_height="wrap_content"
     android:layout_width="match_parent"
     android:inputType="text"/>
{% endhighlight %} 
We can add drawable into EditText, so the source code example like below :
{% highlight xml %}
 <EditText
     android:id="@+id/plain_text_input"
     android:layout_height="wrap_content"
     android:layout_width="match_parent"<commit_msg>Update github pages<commit_after>---
layout: post
title:  "Add drawable to Multiline EditText's top left corner"
date:   2017-06-22
---

EditText is a user interface element for entering and modifying text. When you define an edit text widget, you must specify the TextView_inputType attribute. For example, for plain text input set **inputType** to "text": 
{% highlight xml %}
<EditText
     android:id="@+id/plain_text_input"
     android:layout_height="wrap_content"
     android:layout_width="match_parent"
     android:inputType="text"/>
{% endhighlight %} 
We can add drawable into EditText, so the source code example like below :
{% highlight xml %}
 <EditText
     android:id="@+id/plain_text_input"
     android:layout_height="wrap_content"
     android:layout_width="match_parent"
{'fraction_non_alphanumeric': 0.10139416983523447, 'fraction_numerical': 0.010139416983523447, 'mean_word_length': 4.700361010830325, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2270922', 'n_tokens_mistral': 482, 'n_tokens_neox': 442, 'n_words': 151}