BreadcrumbLayout
BreadcrumbLayout copied to clipboard
text size
Please guide how to set the text size in BreadcrumbLayout
Also please suggest how to add new crumb from arrayList
Please guide how to set the text size in BreadcrumbLayout
Unfortunately I don't think changing the text size is possible without building from source. I am working on an update that should fix this.
You have to copy the BreadcrumbLayout.java file from this and put it on your package. Then you can do your desire change as you need.. @ayvazj
You should edit the value assigned to the float textSize
variable in the BreadcrumbLayout class. I did it this way:
float mySizeFromRes = res.getDimension(R.dimen.breadcrumb_text_size);
float textSize = mySizeFromRes;
Where R.dimen.breadcrumb_text_size
is the sp text size from your dimens.xml resource file.
Probably not the most elegant solution, but it works in the meantime @ayvazj is developing the library update.