├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── drawable │ │ │ ├── profile.png │ │ │ ├── profile_decorator.png │ │ │ └── bubble_counter_bkg.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── bubble_trash_background.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── bubble_trash_background.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── bubble_trash_background.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── bubble_trash_background.png │ │ ├── mipmap-xxxhdpi │ │ │ └── bubble_trash_background.png │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── styles.xml │ │ │ ├── dimens.xml │ │ │ └── colors.xml │ │ └── layout │ │ │ ├── bubble_trash_layout.xml │ │ │ ├── activity_main.xml │ │ │ └── bubble_layout.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── txusballesteros │ │ └── bubbles │ │ └── app │ │ └── MainActivity.java ├── proguard-rules.pro └── build.gradle ├── bubbles ├── .gitignore ├── proguard-rules.pro ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── txusballesteros │ │ │ └── bubbles │ │ │ ├── OnInitializedCallback.java │ │ │ ├── BubbleBaseLayout.java │ │ │ ├── BubbleTrashLayout.java │ │ │ ├── BubblesManager.java │ │ │ ├── BubblesLayoutCoordinator.java │ │ │ ├── BubblesService.java │ │ │ └── BubbleLayout.java │ │ ├── AndroidManifest.xml │ │ └── res │ │ └── animator │ │ ├── bubble_shown_animator.xml │ │ ├── bubble_up_click_animator.xml │ │ ├── bubble_down_click_animator.xml │ │ ├── bubble_trash_shown_animator.xml │ │ ├── bubble_trash_hide_animator.xml │ │ ├── bubble_trash_hide_magnetism_animator.xml │ │ └── bubble_trash_shown_magnetism_animator.xml └── build.gradle ├── settings.gradle ├── assets ├── bubbles_demo.gif └── Bubble_Trash_Decorator.psd ├── gradle.properties ├── .gitignore ├── README.md └── LICENSE /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /bubbles/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':bubbles' 2 | -------------------------------------------------------------------------------- /assets/bubbles_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/assets/bubbles_demo.gif -------------------------------------------------------------------------------- /assets/Bubble_Trash_Decorator.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/assets/Bubble_Trash_Decorator.psd -------------------------------------------------------------------------------- /app/src/main/res/drawable/profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/drawable/profile.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/profile_decorator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/drawable/profile_decorator.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/bubble_trash_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-hdpi/bubble_trash_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/bubble_trash_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-mdpi/bubble_trash_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/bubble_trash_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-xhdpi/bubble_trash_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/bubble_trash_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-xxhdpi/bubble_trash_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/bubble_trash_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txusballesteros/bubbles-for-android/HEAD/app/src/main/res/mipmap-xxxhdpi/bubble_trash_background.png -------------------------------------------------------------------------------- /app/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 /Users/txus/Android/android-sdk-macosx/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 | -------------------------------------------------------------------------------- /bubbles/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 /Users/txus/Android/android-sdk-macosx/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 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 22 5 | buildToolsVersion "22.0.1" 6 | 7 | defaultConfig { 8 | applicationId "com.txusballesteros.bubbles.app" 9 | minSdkVersion 14 10 | targetSdkVersion 22 11 | versionCode 1 12 | versionName parent.ext.libraryVersion 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | compile 'com.android.support:appcompat-v7:22.2.0' 25 | compile project(':bubbles') 26 | } 27 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | Bubbles 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 |