BreadcrumbLayout icon indicating copy to clipboard operation
BreadcrumbLayout copied to clipboard

text size

Open nikitamarysoloman opened this issue 8 years ago • 5 comments

Please guide how to set the text size in BreadcrumbLayout

nikitamarysoloman avatar Dec 15 '16 07:12 nikitamarysoloman

Also please suggest how to add new crumb from arrayList

nikitamarysoloman avatar Dec 15 '16 08:12 nikitamarysoloman

Please guide how to set the text size in BreadcrumbLayout

kukikrupa avatar May 18 '17 09:05 kukikrupa

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.

ayvazj avatar May 21 '17 23:05 ayvazj

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

kukikrupa avatar May 23 '17 04:05 kukikrupa

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.

adryx92 avatar Jun 05 '17 14:06 adryx92