├── wave_library ├── .gitignore ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ ├── res │ │ └── values │ │ │ └── attr.xml │ │ └── java │ │ └── com │ │ └── john │ │ └── waveview │ │ ├── Solid.java │ │ ├── WaveView.java │ │ └── Wave.java ├── build.gradle └── proguard-rules.pro ├── settings.gradle ├── img.gif ├── progress.gif ├── raw ├── screenshot1.png ├── screenshot2.png ├── screenshot3.png └── screenshot4.png ├── sample ├── ic_launcher-web.png ├── .settings │ ├── org.eclipse.jdt.ui.prefs │ └── org.eclipse.jdt.core.prefs ├── res │ ├── drawable-xxxhdpi │ │ ├── bg.png │ │ ├── home_bg.png │ │ ├── home_msg.png │ │ ├── home_net.png │ │ ├── home_num.png │ │ ├── home_pay.png │ │ ├── menu_vip.png │ │ ├── home_arrow.png │ │ ├── home_cheap.png │ │ ├── home_find.png │ │ ├── home_menu.png │ │ ├── home_order.png │ │ ├── home_park.png │ │ ├── home_action.png │ │ ├── home_integral.png │ │ ├── home_sign_ok.png │ │ ├── ic_launcher.png │ │ ├── menu_setting.png │ │ ├── dialog_bar_code.png │ │ ├── dialog_qr_code.png │ │ ├── dialog_sign_bg.png │ │ └── home_sign_defaut.png │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values-sw600dp │ │ └── dimens.xml │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── theme.xml │ ├── anim │ │ ├── anim_marquee_in.xml │ │ └── anim_marquee_out.xml │ ├── drawable │ │ ├── barcode_dialog_bg_shape.xml │ │ ├── qrcode_dialog_bg_shape.xml │ │ ├── sign_dialog_btn_shape.xml │ │ └── select_item_shape.xml │ ├── menu │ │ └── circular_progress_bar_sample.xml │ ├── values-sw720dp-land │ │ └── dimens.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ └── layout │ │ ├── layout_roll_msg.xml │ │ ├── item_menu_layout.xml │ │ ├── layout_sign_dialog.xml │ │ ├── layout_qrcode_dialog.xml │ │ ├── layout_menu.xml │ │ ├── activity_main.xml │ │ └── activity_home.xml ├── libs │ └── nineoldandroids-2.4.0.jar ├── gradle.properties ├── project.properties ├── build.gradle ├── src │ └── com │ │ └── pascalwelsch │ │ └── circularprogressbarsample │ │ ├── QRCodeDialog.java │ │ ├── base │ │ ├── ViewHolder.java │ │ └── BaseAdapter.java │ │ ├── MenuBean.java │ │ ├── HomeMuneAdapter.java │ │ ├── MenuLeftFragment.java │ │ ├── SignDialog.java │ │ ├── HomeActivity.java │ │ └── CircularProgressBarSample.java ├── proguard-project.txt └── AndroidManifest.xml ├── library ├── gradle.properties ├── res │ ├── drawable-xxxhdpi │ │ ├── bg.png │ │ ├── big_circle.png │ │ └── ic_launcher.png │ └── values │ │ ├── attrs.xml │ │ └── styles.xml ├── build.gradle ├── AndroidManifest.xml ├── project.properties ├── proguard-project.txt ├── src │ └── com │ │ └── pascalwelsch │ │ └── holocircularprogressbar │ │ ├── DensityUtils.java │ │ └── HoloCircularProgressBar.java └── .settings │ └── org.eclipse.jdt.ui.prefs ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── README.md ├── .gitignore ├── gradlew.bat └── gradlew /wave_library/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':library', ':wave_library' 2 | include ':sample' 3 | -------------------------------------------------------------------------------- /img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/img.gif -------------------------------------------------------------------------------- /progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/progress.gif -------------------------------------------------------------------------------- /raw/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/raw/screenshot1.png -------------------------------------------------------------------------------- /raw/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/raw/screenshot2.png -------------------------------------------------------------------------------- /raw/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/raw/screenshot3.png -------------------------------------------------------------------------------- /raw/screenshot4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/raw/screenshot4.png -------------------------------------------------------------------------------- /sample/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/ic_launcher-web.png -------------------------------------------------------------------------------- /sample/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | formatter_profile=_Android 3 | formatter_settings_version=12 4 | -------------------------------------------------------------------------------- /library/gradle.properties: -------------------------------------------------------------------------------- 1 | ARTIFACT_ID=library 2 | NAME=HoloCircularProgressBar 3 | PACKAGING=aar 4 | DESCRIPTION=HoloCircularProgressBar library 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /library/res/drawable-xxxhdpi/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/library/res/drawable-xxxhdpi/bg.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/bg.png -------------------------------------------------------------------------------- /sample/libs/nineoldandroids-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/libs/nineoldandroids-2.4.0.jar -------------------------------------------------------------------------------- /sample/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_bg.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_msg.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_net.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_net.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_num.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_num.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_pay.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/menu_vip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/menu_vip.png -------------------------------------------------------------------------------- /sample/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_arrow.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_cheap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_cheap.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_find.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_menu.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_order.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_park.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_park.png -------------------------------------------------------------------------------- /library/res/drawable-xxxhdpi/big_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/library/res/drawable-xxxhdpi/big_circle.png -------------------------------------------------------------------------------- /library/res/drawable-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/library/res/drawable-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_action.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_integral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_integral.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_sign_ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_sign_ok.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/menu_setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/menu_setting.png -------------------------------------------------------------------------------- /sample/gradle.properties: -------------------------------------------------------------------------------- 1 | ARTIFACT_ID=sample 2 | NAME=HoloCircularProgressBar-sample 3 | PACKAGING=apk 4 | DESCRIPTION=Sample application for HoloCircularProgressBar library 5 | -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/dialog_bar_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/dialog_bar_code.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/dialog_qr_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/dialog_qr_code.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/dialog_sign_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/dialog_sign_bg.png -------------------------------------------------------------------------------- /sample/res/drawable-xxxhdpi/home_sign_defaut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XHiStone/android-HoloCircularProgressBar-master/HEAD/sample/res/drawable-xxxhdpi/home_sign_defaut.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # android-HoloCircularProgressBar-master 2 | 动态积分圆进度条
3 | ![image](https://github.com/18337129968/android-HoloCircularProgressBar-master/blob/master/progress.gif)
4 | -------------------------------------------------------------------------------- /wave_library/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /sample/res/values-sw600dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | -------------------------------------------------------------------------------- /sample/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /sample/res/anim/anim_marquee_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /sample/res/drawable/barcode_dialog_bg_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /sample/res/anim/anim_marquee_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Oct 03 20:35:49 CEST 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /sample/res/drawable/qrcode_dialog_bg_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /sample/res/menu/circular_progress_bar_sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/res/values-sw720dp-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 128dp 8 | 9 | -------------------------------------------------------------------------------- /sample/res/drawable/sign_dialog_btn_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /sample/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /sample/res/drawable/select_item_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /sample/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /sample/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CircularProgressBarSample 5 | Settings 6 | Hello world! 7 | Switch theme 8 | random color 9 | drawer_open 10 | drawer_close 11 | -------------------------------------------------------------------------------- /library/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'android-library' 2 | 3 | group = 'com.pascalwelsch.holocircularprogressbar' 4 | version = '1.3' 5 | 6 | android { 7 | compileSdkVersion 19 8 | buildToolsVersion '19.1.0' 9 | 10 | defaultConfig { 11 | minSdkVersion 7 12 | targetSdkVersion 19 13 | } 14 | 15 | sourceSets { 16 | main { 17 | manifest.srcFile 'AndroidManifest.xml' 18 | resources.srcDirs = ['src'] 19 | res.srcDirs = ['res'] 20 | java.srcDirs = ['src'] 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /library/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # files for the dex VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | build/ 16 | 17 | # Local configuration file (sdk path, etc) 18 | local.properties 19 | 20 | # Windows thumbnail db 21 | Thumbs.db 22 | 23 | # OSX files 24 | .DS_Store 25 | 26 | # Eclipse project files 27 | .classpath 28 | .project 29 | 30 | # Android Studio 31 | *.iml 32 | .idea 33 | 34 | # Local IDEA workspace 35 | .idea/workspace.xml 36 | 37 | # Gradle cache 38 | .gradle 39 | 40 | #NDK 41 | obj/ -------------------------------------------------------------------------------- /wave_library/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion '23.0.3' 6 | 7 | defaultConfig { 8 | minSdkVersion 8 9 | targetSdkVersion 19 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | compile fileTree(dir: 'libs', include: ['*.jar']) 23 | } 24 | -------------------------------------------------------------------------------- /sample/res/layout/layout_roll_msg.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 16 | -------------------------------------------------------------------------------- /library/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-17 15 | android.library=true 16 | -------------------------------------------------------------------------------- /sample/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-17 15 | android.library.reference.1=../library 16 | -------------------------------------------------------------------------------- /sample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'android' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion "23.0.3" 6 | 7 | defaultConfig { 8 | minSdkVersion 15 9 | targetSdkVersion 22 10 | } 11 | 12 | 13 | sourceSets { 14 | main { 15 | manifest.srcFile 'AndroidManifest.xml' 16 | resources.srcDirs = ['src'] 17 | res.srcDirs = ['res'] 18 | java.srcDirs = ['src'] 19 | } 20 | } 21 | } 22 | 23 | dependencies { 24 | compile fileTree(include: ['*.jar'], dir: 'libs') 25 | compile project(':library') 26 | compile 'com.android.support:appcompat-v7:23.3.0' 27 | compile project(':wave_library') 28 | } -------------------------------------------------------------------------------- /sample/src/com/pascalwelsch/circularprogressbarsample/QRCodeDialog.java: -------------------------------------------------------------------------------- 1 | package com.pascalwelsch.circularprogressbarsample; 2 | 3 | import android.app.Dialog; 4 | import android.content.Context; 5 | import android.view.View; 6 | 7 | /** 8 | * android-HoloCircularProgressBar-master 9 | * com.pascalwelsch.circularprogressbarsample 10 | * 11 | * @Author: xie 12 | * @Time: 2017/1/13 10:07 13 | * @Description: 14 | */ 15 | 16 | 17 | public class QRCodeDialog extends Dialog { 18 | public QRCodeDialog(Context context) { 19 | super(context,R.style.NormalDialog); 20 | View v = View.inflate(context, R.layout.layout_qrcode_dialog, null); 21 | setContentView(v); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /wave_library/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:/data/sdk/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /sample/res/layout/item_menu_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 20 | -------------------------------------------------------------------------------- /sample/src/com/pascalwelsch/circularprogressbarsample/base/ViewHolder.java: -------------------------------------------------------------------------------- 1 | package com.pascalwelsch.circularprogressbarsample.base; 2 | 3 | import android.util.SparseArray; 4 | import android.view.View; 5 | 6 | /** 7 | *@Title: ViewHolder 8 | *@Description: 描述 9 | *@date 2016/9/22 16:48 10 | *@auther xie 11 | */ 12 | @SuppressWarnings("unchecked") 13 | public class ViewHolder { 14 | public static T get(View convertView, int id) { 15 | SparseArray viewHolder = (SparseArray) convertView.getTag(); 16 | if (viewHolder == null) { 17 | viewHolder = new SparseArray(); 18 | convertView.setTag(viewHolder); 19 | } 20 | View childView = viewHolder.get(id); 21 | if (childView == null) { 22 | childView = convertView.findViewById(id); 23 | viewHolder.put(id, childView); 24 | } 25 | return (T) childView; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /library/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 | -------------------------------------------------------------------------------- /sample/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 | -------------------------------------------------------------------------------- /sample/res/values/theme.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 20 | -------------------------------------------------------------------------------- /wave_library/src/main/res/values/attr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /sample/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /library/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /sample/src/com/pascalwelsch/circularprogressbarsample/MenuBean.java: -------------------------------------------------------------------------------- 1 | package com.pascalwelsch.circularprogressbarsample; 2 | 3 | /** 4 | * android-HoloCircularProgressBar-master 5 | * com.pascalwelsch.circularprogressbarsample 6 | * 7 | * @Author: xie 8 | * @Time: 2017/1/11 15:27 9 | * @Description: 10 | */ 11 | 12 | 13 | public class MenuBean { 14 | private int icon; 15 | private String name; 16 | private boolean selected; 17 | 18 | public boolean isSelected() { 19 | return selected; 20 | } 21 | 22 | public void setSelected(boolean selected) { 23 | this.selected = selected; 24 | } 25 | 26 | public MenuBean(int icon, String name,boolean selected) { 27 | this.icon = icon; 28 | this.name = name; 29 | this.selected = selected; 30 | } 31 | 32 | public int getIcon() { 33 | return icon; 34 | } 35 | 36 | public void setIcon(int icon) { 37 | this.icon = icon; 38 | } 39 | 40 | public String getName() { 41 | return name; 42 | } 43 | 44 | public void setName(String name) { 45 | this.name = name; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /library/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 | 14 | 24 | -------------------------------------------------------------------------------- /sample/src/com/pascalwelsch/circularprogressbarsample/HomeMuneAdapter.java: -------------------------------------------------------------------------------- 1 | package com.pascalwelsch.circularprogressbarsample; 2 | 3 | import android.content.Context; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.TextView; 8 | 9 | import com.pascalwelsch.circularprogressbarsample.base.BaseAdapter; 10 | import com.pascalwelsch.circularprogressbarsample.base.ViewHolder; 11 | 12 | /** 13 | * android-HoloCircularProgressBar-master 14 | * com.pascalwelsch.circularprogressbarsample 15 | * 16 | * @Author: xie 17 | * @Time: 2017/1/11 15:27 18 | * @Description: 19 | */ 20 | 21 | 22 | public class HomeMuneAdapter extends BaseAdapter { 23 | 24 | public HomeMuneAdapter(Context context) { 25 | super(context); 26 | } 27 | 28 | @Override 29 | public View getView(int position, View convertView, ViewGroup parent) { 30 | if (convertView == null) 31 | convertView = LayoutInflater.from(mContext).inflate(R.layout.item_menu_layout, parent, false); 32 | TextView tvName = ViewHolder.get(convertView, R.id.tv_menu_name); 33 | tvName.setText(mList.get(position).getName()); 34 | 35 | return convertView; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /wave_library/src/main/java/com/john/waveview/Solid.java: -------------------------------------------------------------------------------- 1 | package com.john.waveview; 2 | 3 | import android.content.Context; 4 | import android.graphics.Canvas; 5 | import android.graphics.Paint; 6 | import android.util.AttributeSet; 7 | import android.view.View; 8 | import android.widget.LinearLayout; 9 | 10 | /** 11 | *@Title: Solid 12 | *@Description: 描述 13 | *@date 2017/1/12 18:01 14 | *@auther xie 15 | */ 16 | class Solid extends View { 17 | 18 | private Paint aboveWavePaint; 19 | private Paint blowWavePaint; 20 | 21 | public Solid(Context context, AttributeSet attrs) { 22 | this(context, attrs, 0); 23 | } 24 | 25 | public Solid(Context context, AttributeSet attrs, int defStyleAttr) { 26 | super(context, attrs, defStyleAttr); 27 | LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); 28 | params.weight = 1; 29 | setLayoutParams(params); 30 | } 31 | 32 | public void setAboveWavePaint(Paint aboveWavePaint) { 33 | this.aboveWavePaint = aboveWavePaint; 34 | } 35 | 36 | public void setBlowWavePaint(Paint blowWavePaint) { 37 | this.blowWavePaint = blowWavePaint; 38 | } 39 | 40 | @Override 41 | protected void onDraw(Canvas canvas) { 42 | super.onDraw(canvas); 43 | canvas.drawRect(getLeft(), 0, getRight(), getBottom(), blowWavePaint); 44 | canvas.drawRect(getLeft(), 0, getRight(), getBottom(), aboveWavePaint); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /sample/res/layout/layout_sign_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 18 | 19 | 27 | 28 |