资源简介

自定义Android中TabHost组件显示在屏幕底部,并实现滑动切换页面。在此基础上可以实现类似米聊等软件主界面的Tab效果。

资源截图

代码片段和文件信息

/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package com.laili.mytabhost;

public final class R {
    public static final class attr {
    }
    public static final class drawable {
        public static final int bottom_button_bar_pressed=0x7f020000;
        public static final int ic_launcher=0x7f020001;
        public static final int radio_1=0x7f020002;
        public static final int radio_2=0x7f020003;
        public static final int radio_btn=0x7f020004;
        public static final int tab_selector=0x7f020005;
        public static final int text_color=0x7f020006;
        public static final int text_off=0x7f020007;
        public static final int text_on=0x7f020008;
    }
    public static final class id {
        public static final int LinearLayout1=0x7f050001;
        public static final int LinearLayout2=0x7f050003;
        public static final int LinearLayout3=0x7f050005;
        public static final int LinearLayout4=0x7f050007;
        public static final int TabHost01=0x7f050000;
        public static final int icon=0x7f050009;
        public static final int jump2next_btn_1=0x7f050004;
        public static final int jump2next_btn_2=0x7f050006;
        public static final int jump2next_btn_3=0x7f050008;
        public static final int label=0x7f05000a;
        public static final int login_table=0x7f050002;
    }
    public static final class layout {
        public static final int main=0x7f030000;
        public static final int tab_view=0x7f030001;
    }
    public static final class string {
        public static final int app_name=0x7f040001;
        public static final int hello=0x7f040000;
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-12-15 16:50  TestTabHost2\
     文件         364  2011-12-15 13:32  TestTabHost2\.classpath
     文件         848  2011-12-15 16:50  TestTabHost2\.project
     文件         743  2011-12-15 13:35  TestTabHost2\AndroidManifest.xml
     目录           0  2011-12-15 13:32  TestTabHost2\assets\
     目录           0  2011-12-15 17:18  TestTabHost2\bin\
     目录           0  2011-12-15 16:50  TestTabHost2\bin\classes\
     文件        7236  2011-12-15 17:18  TestTabHost2\bin\classes.dex
     目录           0  2011-12-15 16:50  TestTabHost2\bin\classes\com\
     目录           0  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\
     目录           0  2011-12-15 17:06  TestTabHost2\bin\classes\com\laili\mytabhost\
     文件         343  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\mytabhost\R$attr.class
     文件         687  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\mytabhost\R$drawable.class
     文件         747  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\mytabhost\R$id.class
     文件         429  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\mytabhost\R$layout.class
     文件         430  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\mytabhost\R$string.class
     文件         538  2011-12-15 16:50  TestTabHost2\bin\classes\com\laili\mytabhost\R.class
     文件        1950  2011-12-15 17:18  TestTabHost2\bin\classes\com\laili\mytabhost\TestTabHostActivity$MyGestureListener.class
     文件        4638  2011-12-15 17:18  TestTabHost2\bin\classes\com\laili\mytabhost\TestTabHostActivity.class
     目录           0  2011-12-15 16:50  TestTabHost2\bin\res\
     文件      120326  2011-12-15 17:07  TestTabHost2\bin\resources.ap_
     目录           0  2011-12-15 16:50  TestTabHost2\bin\res\drawable-hdpi\
     文件        3966  2011-12-15 13:35  TestTabHost2\bin\res\drawable-hdpi\ic_launcher.png
     目录           0  2011-12-15 16:50  TestTabHost2\bin\res\drawable-ldpi\
     文件        1537  2011-12-15 13:35  TestTabHost2\bin\res\drawable-ldpi\ic_launcher.png
     目录           0  2011-12-15 16:50  TestTabHost2\bin\res\drawable-mdpi\
     文件        2200  2011-12-15 13:35  TestTabHost2\bin\res\drawable-mdpi\ic_launcher.png
     文件        2540  2011-12-15 13:57  TestTabHost2\bin\res\drawable-mdpi\radio_1.png
     文件        2089  2011-12-15 13:57  TestTabHost2\bin\res\drawable-mdpi\radio_2.png
     文件      125359  2011-12-15 16:19  TestTabHost2\bin\TestTabHost.apk
     文件      126244  2011-12-15 17:18  TestTabHost2\bin\TestTabHost2.apk
............此处省略32个文件信息

评论

共有 条评论