Make a xml file named as textbox_selector.xml in your drawable folder. Copy Paste the following:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/box_light_blue_bg" android:state_enabled="true" android:state_window_focused="false" />
<item android:drawable="@drawable/box_light_blue_bg" android:state_enabled="false" android:state_window_focused="false" />
<item android:drawable="@drawable/box_dark_blue_bg" android:state_pressed="true" />
<item android:drawable="@drawable/box_dark_blue_bg" android:state_enabled="true" android:state_focused="true" />
<item android:drawable="@drawable/box_light_blue_bg" android:state_enabled="true" />
<item android:drawable="@drawable/box_dark_blue_bg" android:state_focused="true" />
<item android:drawable="@drawable/box_light_blue_bg" />
Now wherever your edit text is just set
android:background="@drawable/textbox_selector"
Now if you touch your edittext, its color will change to dark blue and when not in touched state or back to orignal state the color will remain light blue.
For tagging you can use these library
https://github.com/kpbird/chips-edittext-library
https://github.com/DavidPizarro/AutoLabelUI
Hope this helps!