如何使无标签布局的刷卡视图屏幕在android系统? [英] How to make a swipe view screens without tab layout in android?

查看:175
本文介绍了如何使无标签布局的刷卡视图屏幕在android系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出如何使刷卡视图不带选项卡的布局。

I am trying to figure out how to make a swipe view without a tab layout.

在上图中,
 1.我想打,可浏览网页左,右轻扫视图。
 2.图示1是一个全球性的菜单,需要的是那里所有的时间,而swipping。
 3.图标3是底栏。我怎么能做出这样呀?

In the figure above, 1. I want to make a swipe view that can navigate page left and right. 2. Icon 1 is a global menu that needed to be there all the time while swipping. 3. Icon 3 is a bottom bar. How can I make like that way?

任何一种建议和指导环节将美联社preciated。提前致谢。

Any kind of suggestions and tutorial links would be appreciated. Thanks in advance.

推荐答案

我没有为同一任何联系,但我仍然会告诉你,很简单的逻辑来创建:

i don't have any links for the same,but still i will tell you the very simple logic to create:

1。首先去掉标题栏

 this.requestWindowFeature(Window.FEATURE_NO_TITLE);

2,采用以下结构

2.Use the following Structure

 <RelativeLayout> 
    <ViewPager android:layout_height="fill_parent"
                android:layout_width="fill_parent"> //full screen

        <RelativeLayout android:id="@+id/header"> -->for header
          android:layout_alignParentTop="true"
        </RelativeLayout> 

         <RelativeLayout> -->for inicators
          android:below="@+id/header"
        </RelativeLayout>

        <RelativeLayout> --> for footer
         android:layout_alignParentBottom="true"
        </RelativeLayout>

    </ViewPager>        
</RelativeLayout> 

3.now作出页眉和页脚的图像,并设置为背景。结果
4.对于视图寻呼机指标经过这个帖子。刚下载并导入到Eclipse并设置在您的项目库。如何使用循环寻呼机指标<一个href=\"http://stackoverflow.com/questions/23238298/circle-page-indicator-how-to-change-fill-color-changing/23240722#23240722\">Check我的回答。

3.now make the images for header and footer and set as background.
4.for view pager indicator go Through This Post.just download it and import in your eclipse and set as a lib in your project. how to use circle pager indicator Check My Answer.

和你现在做的!

这篇关于如何使无标签布局的刷卡视图屏幕在android系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆