hey all! do any anko-ninjas know how to reduce the...
# anko
m
hey all! do any anko-ninjas know how to reduce the tabPadding of a tabLayout in anko? it is part of the app namespace in the XML, so maybe it’s not possible yet…
m
mikesol: the problem is not in
app
namespace but in the absence of setters. I work such things around by inflating XMLs 😞 Also, there should be a way to fabricate an AttributeSet 🙃
m
Hey @miha-x64 , thanks for the response. Yeah, I'm looking forward to easy attribute set fabrication in anko, it would save me some time!!
m
I've tried to do so.
android.content.res.Resources#obtainAttributes(android.util.AttributeSet, int[])
casts incoming
AttributeSet
to package-private hidden
android.content.res.XmlBlock.Parser
. Shame that Android makes such things impossible without dirty hacks.