<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
   <item
       android:state_selected="true"
       android:drawable="@drawable/all_active" />
      
  
   <item
       android:state_pressed="true"
       android:drawable="@drawable/all_active" />
 
 
   <item
       android:drawable="@drawable/all" />
 
  

</selector>

 

이렇게 하면 탭버튼이 눌렀을때만 바뀌고 손을 떼면 원래색깔로 바뀌는데요.

손을 떼었을 때에도 바뀐 색깔이 적용되려면 어떻게 해야하나요?

찾아보니 소스부분에서 바꿔야한다는 말도 있는데 구체적으로 설명이 안되있어서요..

도와주시면 감사드리겠습니다