├── BottomLayout ├── .gitignore ├── 5.gif ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ ├── ic_launcher.png │ │ ├── read_circle.png │ │ ├── ic_tab_index_normal.png │ │ ├── ic_tab_index_pressed.png │ │ ├── ic_tab_message_normal.png │ │ ├── ic_tab_profile_normal.png │ │ ├── ic_tab_publish_normal.png │ │ ├── ic_tab_search_normal.png │ │ ├── ic_tab_search_pressed.png │ │ ├── ic_tab_message_pressed.png │ │ ├── ic_tab_profile_pressed.png │ │ └── ic_tab_publish_pressed.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── values-v11 │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ ├── values-w820dp │ │ └── dimens.xml │ ├── values-v14 │ │ └── styles.xml │ ├── drawable │ │ ├── tab_enconter_selector.xml │ │ ├── tab_home_selector.xml │ │ ├── tab_message_selector.xml │ │ ├── tab_user_selector.xml │ │ └── tab_community_selector.xml │ └── layout │ │ ├── activity_main.xml │ │ └── layout_bottom.xml ├── src │ └── comzyh │ │ └── bottomlayout │ │ ├── BottomLayout.java │ │ └── MainActivity.java ├── .classpath ├── project.properties ├── proguard-project.txt ├── AndroidManifest.xml └── .project └── README.md /BottomLayout/.gitignore: -------------------------------------------------------------------------------- 1 | /gen/ 2 | /bin/ 3 | -------------------------------------------------------------------------------- /BottomLayout/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/5.gif -------------------------------------------------------------------------------- /BottomLayout/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/ic_launcher-web.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BottomLayout 2 | 自定义组合控件,底部多按钮切换 3 | ![](https://github.com/18236887539/BottomLayout/blob/master/BottomLayout/5.gif) 4 | -------------------------------------------------------------------------------- /BottomLayout/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/libs/android-support-v4.jar -------------------------------------------------------------------------------- /BottomLayout/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/read_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/read_circle.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_index_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_index_normal.png -------------------------------------------------------------------------------- /BottomLayout/src/comzyh/bottomlayout/BottomLayout.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/src/comzyh/bottomlayout/BottomLayout.java -------------------------------------------------------------------------------- /BottomLayout/src/comzyh/bottomlayout/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/src/comzyh/bottomlayout/MainActivity.java -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_index_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_index_pressed.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_message_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_message_normal.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_profile_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_profile_normal.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_publish_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_publish_normal.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_search_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_search_normal.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_search_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_search_pressed.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_message_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_message_pressed.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_profile_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_profile_pressed.png -------------------------------------------------------------------------------- /BottomLayout/res/drawable-xhdpi/ic_tab_publish_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanks-zyh/BottomLayout/HEAD/BottomLayout/res/drawable-xhdpi/ic_tab_publish_pressed.png -------------------------------------------------------------------------------- /BottomLayout/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /BottomLayout/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | BottomLayout 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /BottomLayout/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /BottomLayout/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /BottomLayout/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /BottomLayout/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /BottomLayout/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BottomLayout/res/drawable/tab_enconter_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /BottomLayout/res/drawable/tab_home_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BottomLayout/res/drawable/tab_message_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BottomLayout/res/drawable/tab_user_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BottomLayout/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-21 15 | -------------------------------------------------------------------------------- /BottomLayout/res/drawable/tab_community_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BottomLayout/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | 11 | 17 | 18 | -------------------------------------------------------------------------------- /BottomLayout/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /BottomLayout/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /BottomLayout/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /BottomLayout/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | BottomLayout 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /BottomLayout/res/layout/layout_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 20 | 21 |