I have to get child views of WebView. For some text manipulations, I wonder if there is a way to set attributes of child views, for example:
View[] childs = webView.getChilds;
View ch = childs[0];
ch.setText("manipulated text");
I have to get child views of WebView. For some text manipulations, I wonder if there is a way to set attributes of child views, for example:
View[] childs = webView.getChilds;
View ch = childs[0];
ch.setText("manipulated text");
Why don't you use findViewById ?
TextView subElement = (TextView) webview.findViewById(R.id.subelement);
subElement.setText("Oh Hi");
If you really want to iterate over the child, you can also use ViewGroup::getChildAt() and ViewGroup::getChildCount()