android - CollapsingToolbarLayout: position the ExpandedText programmatically -


i using new android support design view collapsingtoolbarlayout. have need position expandedtitle programmatically.

actually way set position expandedtitle in .xml file (example here: https://goo.gl/l5h5fc) there no public api set text position programmatically , fields private.

do know if it's possible without reflection or 'hacky' tricks?

i have solved problem exposing properties via reflection (https://gist.github.com/fpezzato/8e7d45112883dbbc5ffb), works don't use trick in production code.

@google: please no more private or final stuff! :)


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -