Parameters:text - the text that is displayed, specified as a regular expressiononlyVisible - true if only visible EditTexts on the screen should be returnedReturns:the EditText displaying the specified textgetView
public android.view.View getView(int id)Returns a View matching the specified resource id。Parameters:id - the R。id of the View to returnReturns:a View matching the specified idgetView
public android.view.View getView(int id, int index)Returns a View matching the specified resource id and index。Parameters:id - the R。id of the View to returnindex - the index of the View。
0 if only one is availableReturns:a View matching the specified id and indexgetView
public android.view.View getView(String id)Returns a View matching the specified resource id。Parameters:id - the id of the View to returnReturns:a View matching the specified idgetView
public android.view.View getView(String id, int index)Returns a View matching the specified resource id and index。Parameters:id - the id of the View to returnindex - the index of the View。 0 if only one is availableReturns:a View matching the specified id and indexgetView
publicReturns a View matching the specified class and index。T getView(Class viewClass, int index)
Parameters:viewClass - the class of the requested viewindex - the index of the View。 0 if only one is availableReturns:a View matching the specified class and indexgetWebElement
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-31.html
别会错意他在说滚滚滚
反正我从来不吃