├── .classpath ├── .gitignore ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── libs ├── android-support-v4.jar ├── nineoldandroids-2.4.0.jar └── universal-image-loader-1.9.4.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-nodpi │ ├── actionbar_downloading_manager.png │ ├── actionbar_menu.png │ ├── bg_score.9.png │ ├── google.jpg │ ├── heart.png │ ├── heart_hover.png │ ├── ic_arrow_back_white.png │ ├── ic_pentagram_empty.png │ ├── ic_pentagram_full.png │ ├── ic_pentagram_half.png │ └── share.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ └── ic_launcher.png ├── drawable │ ├── background_tab.xml │ ├── dots_normal.xml │ ├── dots_selected.xml │ ├── game_collection_selector.xml │ ├── selector_actionbar_acttion_bg.xml │ ├── shape_home_gradient.xml │ └── tab_indicator_color.xml ├── layout │ ├── activity_main.xml │ ├── activity_start.xml │ ├── detail_footer.xml │ ├── fragment_tab.xml │ ├── item.xml │ └── stickylayout_topview.xml ├── menu │ └── main.xml ├── values-sw600dp │ └── dimens.xml ├── values-sw720dp-land │ └── dimens.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml └── values │ ├── attrs.xml │ ├── color.xml │ ├── dimens.xml │ ├── ids_sticky.xml │ ├── psts__attrs.xml │ ├── strings.xml │ └── styles.xml ├── screenrecord.gif └── src └── com └── touch18 └── finaldemo ├── MainActivity.java ├── StartActivity.java ├── TabFragment.java ├── util ├── ImageLoaderUtil.java ├── InitUtils.java └── UiUtils.java └── view ├── MyRatingBar.java ├── PagerSlidingTabStrip.java └── StickyLayout.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | 15 | # Gradle files 16 | .gradle/ 17 | build/ 18 | 19 | # Local configuration file (sdk path, etc) 20 | local.properties 21 | 22 | # Proguard folder generated by Eclipse 23 | proguard/ 24 | 25 | # Log Files 26 | *.log 27 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | FinalDemo 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 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 仿当乐软件详情页 2 | > 基于 [Android 自定义控件 轻松实现360软件详情页](http://blog.csdn.net/lmj623565791/article/details/43649913) 3 | 4 | ![screenrecord](https://github.com/ngstyle/StickyLayout/raw/master/screenrecord.gif) -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/libs/android-support-v4.jar -------------------------------------------------------------------------------- /libs/nineoldandroids-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/libs/nineoldandroids-2.4.0.jar -------------------------------------------------------------------------------- /libs/universal-image-loader-1.9.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/libs/universal-image-loader-1.9.4.jar -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-19 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-nodpi/actionbar_downloading_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/actionbar_downloading_manager.png -------------------------------------------------------------------------------- /res/drawable-nodpi/actionbar_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/actionbar_menu.png -------------------------------------------------------------------------------- /res/drawable-nodpi/bg_score.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/bg_score.9.png -------------------------------------------------------------------------------- /res/drawable-nodpi/google.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/google.jpg -------------------------------------------------------------------------------- /res/drawable-nodpi/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/heart.png -------------------------------------------------------------------------------- /res/drawable-nodpi/heart_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/heart_hover.png -------------------------------------------------------------------------------- /res/drawable-nodpi/ic_arrow_back_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/ic_arrow_back_white.png -------------------------------------------------------------------------------- /res/drawable-nodpi/ic_pentagram_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/ic_pentagram_empty.png -------------------------------------------------------------------------------- /res/drawable-nodpi/ic_pentagram_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/ic_pentagram_full.png -------------------------------------------------------------------------------- /res/drawable-nodpi/ic_pentagram_half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/ic_pentagram_half.png -------------------------------------------------------------------------------- /res/drawable-nodpi/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-nodpi/share.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ngstyle/StickyLayout/3b01a693eb7093d045f7d65499e909719ecb4418/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable/background_tab.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /res/drawable/dots_normal.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/dots_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/game_collection_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /res/drawable/selector_actionbar_acttion_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/shape_home_gradient.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /res/drawable/tab_indicator_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | 15 | 30 | 31 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /res/layout/activity_start.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 |