2012-05-17 25 views

回答

0

我得到了這樣的看法。希望幫助。

final LayoutInflater inflater = LayoutInflater.from(mContext); 
ViewGroup view = (ViewGroup) inflater.inflate(R.layout.widget, null); 
View v = view .findViewById(R.id.text); 

assertFalse(v.isShown()); 

相關問題