简体   繁体   中英

Fragment with different size than the nav host fragment

I'm using the navigation architecture component in my single activity app and it works fine but what I'm facing is that in one of the fragments I need to have another fragment that takes about 60% of the initial fragment size (60% of the nav host fragment). How can I achieve that?

我现在每当需要时以编程方式更改导航主机片段大小

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM