[英]Customize Browse Fragment
I wish to customize Browse fragment via width that distinguishes header and child fragment in Browse Fragment. 我希望通过宽度自定义浏览片段,以区分浏览片段中的标题和子片段。 The default ratio of distinction is about 1:3 but I wish space took by header fragment to be reduced (eg in the ratio 1:4).
区分的默认比率约为1:3,但我希望标题片段占用的空间减少(例如,比例为1:4)。 After some research, I found padding and margins only for them modifying from styles.xml but which is not my requirement.
经过一些研究,我发现填充和边距仅适用于从styles.xml修改,但这不是我的要求。 What is the solution to achieve it?
实现它的解决方案是什么?
最终解决方案是在我自己的项目的dimens.xml中使用相同的资源名称覆盖leanback库的维度。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.