|  |  |  | @ -1,6 +1,5 @@ | 
		
	
		
			
				|  |  |  |  | package com.yinuo.safetywatcher.watcher.utils | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | import android.R | 
		
	
		
			
				|  |  |  |  | import android.content.Context | 
		
	
		
			
				|  |  |  |  | import android.graphics.drawable.StateListDrawable | 
		
	
		
			
				|  |  |  |  | import android.view.View | 
		
	
	
		
			
				
					|  |  |  | @ -12,7 +11,7 @@ fun Context.showToast(msg: String) { | 
		
	
		
			
				|  |  |  |  |     CommonToast(this).makeCommonText(this, msg, Toast.LENGTH_SHORT).show() | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | private val focusableStateKey: IntArray = intArrayOf(R.attr.state_focused) | 
		
	
		
			
				|  |  |  |  | private val focusableStateKey: IntArray = intArrayOf(android.R.attr.state_focused) | 
		
	
		
			
				|  |  |  |  | fun View?.trySetCommonBg() { | 
		
	
		
			
				|  |  |  |  |     this?.apply { | 
		
	
		
			
				|  |  |  |  |         val bg = StateListDrawable() | 
		
	
	
		
			
				
					|  |  |  | 
 |