How to set property of a view in layout XML file in Android? -


for example, using android.support.v4.view.pagertabstrip , want call settabindicatorcolor choice of color. how in layout xml file?

best thing can consult documentation. pagertabstrip here.

there's summary section can check xml attributes defined class. in case, can see there attributes inherited viewgroup , view. none of them sets tab indicator color.

this means need set in code.

let's @ example there attribute, e.g. orientation linearlayout. there's entry android:orientation attribute tells how set in xml.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -