(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
.....)