简体   繁体   English

如何创建一个不能覆盖整个屏幕的片段

[英]How to create a fragment that does not cover the whole screen

Is it possible to create a fragment that opens from the side and comes to three-quarters of the screen? 是否可以创建从侧面打开并到达屏幕四分之三的片段? like navigateDrawer? 像navigationDrawer一样? How to actually pull the fragment to a specific location on the screen that i first set 如何将片段实际拉到我首先设置的屏幕上的特定位置

您可以使用可互换的Tabhost,请参考以下链接http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何创建可响应的GridView以覆盖整个屏幕? - How to create responsive GridView to cover whole screen? 如果 ImageView 包含在不覆盖整个屏幕的 ViewPager 的片段中,是否可以使 ImageView 覆盖整个屏幕? - Is it possible to make an ImageView cover the whole screen, if it's contained in a fragment in a ViewPager that doesn't cover the whole screen? 为什么GridLayout可以覆盖整个屏幕? - Why does the GridLayout cover the whole screen? libgdx getHeight()不会覆盖整个屏幕 - libgdx getHeight() does not cover the whole screen 如何使视图覆盖整个屏幕? - How to make the View to cover the whole screen? Android Camera2 API,如何使用变换矩阵使预览图像覆盖整个屏幕? - Android Camera2 API, how does one get the preview image to cover the whole screen using transformation matrices? 在Android中播放视频时,VideoView不能覆盖整个屏幕 - VideoView does not cover whole screen while playing videos in Android 我的片段没有填满整个屏幕 - My fragment does not fill the whole screen 如何在Viewpager Fragment中使整个屏幕可滚动 - How to make whole screen scrollable in Viewpager Fragment 如何创建按钮矩阵以覆盖整个屏幕 - How to create matrix of buttons to cover the entire screen
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM