找回密码
 立即注册
geniusdemojavasrc | android开发 2022-10-29 76 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
首要讲述的就是自定义TAB样式的实现,要实现TAB首要就是用三种方法1.自定义TabWidget、2.RadioGroup3.ActivityGroup。其间大家首要用到了TabWidget。不难看出,以上三种方法实现的作用基本共同(如无特别需求的话)要实现自定义TAB无非是要实现以下三点:1.TAB的主背景2.TAB的item视图3.TAB的ITEM选择作用本资料共包括以下附件:
src\com\genius\demo\Activity1.java
src\com\genius\demo\Activity2.java
src\com\genius\demo\Activity3.java
src\com\genius\demo\Activity4.java
src\com\genius\demo\Activity5.java
src\com\genius\demo\Constant.java
src\com\genius\demo\CustomTabActivity1.java
src\com\genius\demo\CustomTabActivity2.java
src\com\genius\demo\CustomTabActivity3.java
src\com\genius\demo\CustomTabDemoActivity.java
src\com\genius\demo\GridViewAdapter.java
.....

(The first thing to talk about is the implementation of custom TAB style. There are three methods to implement TAB: 1. Customize TabWidget, 2. RadioGroup3. ActivityGroup. In the meantime, we mainly used TabWidgets. It is not difficult to see that the functions of the above three methods are basically common (if there is no special requirement). To achieve a user-defined TAB, it is necessary to achieve the following three points: 1. the main background of the TAB 2. the item view of the TAB 3. the role of the TAB's item selection This document includes the following annexes:
src\com\genius\demo\Activity1.java
src\com\genius\demo\Activity2.java
src\com\genius\demo\Activity3.java
src\com\genius\demo\Activity4.java
src\com\genius\demo\Activity5.java
src\com\genius\demo\Constant.java
src\com\genius\demo\CustomTabActivity1.java
src\com\genius\demo\CustomTabActivity2.java
src\com\genius\demo\CustomTabActivity3.java
src\com\genius\demo\CustomTabDemoActivity.java
src\com\genius\demo\GridViewAdapter.java
.....)

[下载]15521283383.rar




上一篇:一个综合实现以下知识点的DEMO
下一篇:Android之断点续传下载