├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── modules.xml ├── runConfigurations.xml ├── compiler.xml ├── gradle.xml └── misc.xml ├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── food.png │ │ │ │ ├── fullstar.png │ │ │ │ ├── companylogo.png │ │ │ │ ├── emptystar.png │ │ │ │ ├── left_arrow.png │ │ │ │ ├── right_arrow.png │ │ │ │ ├── shadow_y5.9.png │ │ │ │ ├── shadow_y10_white.9.png │ │ │ │ ├── shape1.xml │ │ │ │ ├── shape2.xml │ │ │ │ ├── shape.xml │ │ │ │ └── background.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ └── styles.xml │ │ │ ├── layout │ │ │ │ ├── content_swipe_deck.xml │ │ │ │ ├── activity_blank.xml │ │ │ │ ├── star_rating.xml │ │ │ │ ├── test_card.xml │ │ │ │ ├── activity_swipe_deck.xml │ │ │ │ └── test_card2.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── menu │ │ │ │ └── menu_swipe_deck.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── daprlabs │ │ │ │ └── swipedeck │ │ │ │ ├── BlankActivity.java │ │ │ │ └── SwipeDeckActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── daprlabs │ │ │ └── swipedeck │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── daprlabs │ │ └── swipedeck │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── cardstack ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── attrs.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── daprlabs │ │ │ └── cardstack │ │ │ ├── SwipeCoordinatorLayout.java │ │ │ ├── SwipeRelativeLayout.java │ │ │ ├── SwipeLinearLayout.java │ │ │ ├── SwipeFrameLayout.java │ │ │ ├── SwipeListener.java │ │ │ └── SwipeDeck.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── daprlabs │ │ │ └── cardstack │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── daprlabs │ │ └── cardstack │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── RELEASE.txt ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── LICENSE ├── gradlew.bat ├── gradlew └── README.md /.idea/.name: -------------------------------------------------------------------------------- 1 | Swipe-Deck -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /cardstack/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':cardstack' 2 | -------------------------------------------------------------------------------- /RELEASE.txt: -------------------------------------------------------------------------------- 1 | 0.0.1 2 | Initial release. 3 | still needs a lot of optimization work, expect bugs. -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/food.png -------------------------------------------------------------------------------- /cardstack/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Card Stack 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/fullstar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/fullstar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/companylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/companylogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/emptystar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/emptystar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/left_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/left_arrow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/right_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/right_arrow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shadow_y5.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/shadow_y5.9.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shadow_y10_white.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/drawable/shadow_y10_white.9.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaronbond/Swipe-Deck/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /cardstack/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SwipeDeck 3 | BlankActivity 4 | 5 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Feb 07 16:01:25 AEDT 2016 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 | -------------------------------------------------------------------------------- /app/src/main/res/layout/content_swipe_deck.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape1.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/daprlabs/swipedeck/BlankActivity.java: -------------------------------------------------------------------------------- 1 | package com.daprlabs.swipedeck; 2 | 3 | import android.os.Bundle; 4 | import android.app.Activity; 5 | 6 | public class BlankActivity extends Activity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.activity_blank); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /app/src/test/java/com/daprlabs/swipedeck/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.daprlabs.swipedeck; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /cardstack/src/test/java/com/daprlabs/cardstack/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.daprlabs.cardstack; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /app/src/androidTest/java/com/daprlabs/swipedeck/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.daprlabs.swipedeck; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /cardstack/src/androidTest/java/com/daprlabs/cardstack/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.daprlabs.cardstack; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_swipe_deck.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /cardstack/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | 8 | #F37B61 9 | #4A4C54 10 | #72747A 11 | #f4f5f9 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_blank.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /cardstack/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /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 C:\Users\aaron\AppData\Local\Android\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 | -------------------------------------------------------------------------------- /cardstack/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 C:\Users\aaron\AppData\Local\Android\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 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |