├── dui-demo ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── 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 │ │ │ ├── dimens.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── layout │ │ │ ├── list_view_tem.xml │ │ │ ├── content_main.xml │ │ │ ├── activity_main.xml │ │ │ └── activity_dui.xml │ │ ├── values-v21 │ │ │ └── styles.xml │ │ └── values-w820dp │ │ │ ├── dimens.xml │ │ │ └── attrs.xml │ │ ├── assets │ │ ├── index_bundle.js │ │ └── index.html │ │ ├── java │ │ └── in │ │ │ └── juspay │ │ │ └── dui_android │ │ │ ├── NewLogger.java │ │ │ ├── DUIApplicationClass.java │ │ │ ├── DUIActivity.java │ │ │ ├── Utils.java │ │ │ ├── TabItem.java │ │ │ ├── MainActivity.java │ │ │ ├── ViewPagerAdapter.java │ │ │ ├── ListViewAdapter.java │ │ │ └── JsInterface.java │ │ └── AndroidManifest.xml ├── proguard-rules.pro ├── build.gradle └── LICENSE ├── mystique ├── .gitignore ├── src │ └── main │ │ ├── res │ │ └── values │ │ │ ├── strings.xml │ │ │ ├── styles.xml │ │ │ └── dui.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── in │ │ └── juspay │ │ └── mystique │ │ ├── ErrorCallback.java │ │ ├── DuiLogger.java │ │ ├── Renderer.java │ │ ├── DynamicUI.java │ │ └── JsInterface.java ├── to_eclipse.sh ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── CONTRIBUTING.md ├── README.md ├── gradle.properties ├── gradlew.bat ├── gradlew └── LICENSE /dui-demo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /keys -------------------------------------------------------------------------------- /mystique/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /keys -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':dui-demo', ':mystique' 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juspay/dui-android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /dui-demo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juspay/dui-android/HEAD/dui-demo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /dui-demo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juspay/dui-android/HEAD/dui-demo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /dui-demo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juspay/dui-android/HEAD/dui-demo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /dui-demo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juspay/dui-android/HEAD/dui-demo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /dui-demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juspay/dui-android/HEAD/dui-demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | .gradle/* 4 | /local.properties 5 | /.idea/workspace.xml 6 | /.idea/libraries 7 | .DS_Store 8 | /build 9 | /captures 10 | .idea/* 11 | npm-debug.log 12 | /keys 13 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Oct 20 23:49:38 IST 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.14.1-all.zip 7 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | 0. Fork () 4 | 1. Create feature branch (`git checkout -b feature/foo-bar`) 5 | 2. For code styling, follow [Android Code Style](https://source.android.com/source/code-style). 6 | 3. Commit your changes (`git commit -am 'Add some foo bar'`) 7 | 4. Push to the branch (`git push origin feature/foo-bar`) 8 | 5. Create a new Pull Request -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Dynamic UI (DUI) 2 | > DUI is a framework to build native android apps using javascript. 3 | 4 | 5 | 6 | ## Installation 7 | 8 | Download [the latest AAR file][1] and add it to your android project. 9 | 10 | 11 | 12 | ## Getting the bundle 13 | 14 | Refer [mystique](https://github.com/juspay/mystique) to get more information about how to write native UI and build javascript bundles using DUI. 15 | 16 | 17 | 18 | ## ProGuard 19 | 20 | If you are using ProGuard you might need to add the following options: 21 | 22 | ``` 23 | -keep class in.juspay.mystique.** {*;} 24 | -keep interface in.juspay.mystique.** {*;} 25 | 26 | ``` 27 | 28 | 29 | ## Examples 30 | 31 | [dui-demo](dui-demo) demonstrates a sample integration of this library and how to build apps using this framework. 32 | 33 | 34 | 35 | ## License 36 | 37 | This project is licensed under the AGPL License - see the [LICENSE](LICENSE) file for details. 38 | > Copyright (c) 2012-2017 [juspay.in](https://www.juspay.in) 39 | 40 | 41 | ## Contributing 42 | 43 | See the [CONTRIBUTING.md](CONTRIBUTING.md) file for details. 44 | 45 | 46 | [1]: https://s3-ap-southeast-1.amazonaws.com/juspay-assets-public/dui/in/juspay/mystique/0.2.13/mystique-0.2.13.aar 47 | -------------------------------------------------------------------------------- /dui-demo/src/main/assets/index_bundle.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2017 "JUSPAY Technologies" 3 | * JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 4 | * 5 | * This file is part of JUSPAY Platform. 6 | * 7 | * JUSPAY Platform is free software: you can redistribute it and/or modify 8 | * it for only educational purposes under the terms of the GNU Affero General 9 | * Public License (GNU AGPL) as published by the Free Software Foundation, 10 | * either version 3 of the License, or (at your option) any later version. 11 | * For Enterprise/Commerical licenses, contact . 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 16 | * be liable for all damages without limitation, which is caused by the 17 | * ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 18 | * damages, claims, cost, including reasonable attorney fee claimed on Juspay. 19 | * The end user has NO right to claim any indemnification based on its use 20 | * of Licensed Software. See the GNU Affero General Public License for more details. 21 | * 22 | * You should have received a copy of the GNU Affero General Public License 23 | * along with this program. If not, see . 24 | */ 25 | 26 | -------------------------------------------------------------------------------- /mystique/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /mystique/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /dui-demo/src/main/assets/index.html: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | MYSTIQUE 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /mystique/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /mystique/src/main/res/values/dui.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 0.2.13 28 | 0 29 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | Dui-Android 28 | MainActivity 29 | 1 30 | 31 | -------------------------------------------------------------------------------- /mystique/src/main/java/in/juspay/mystique/ErrorCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2017 "JUSPAY Technologies" 3 | * JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 4 | * 5 | * This file is part of JUSPAY Platform. 6 | * 7 | * JUSPAY Platform is free software: you can redistribute it and/or modify 8 | * it for only educational purposes under the terms of the GNU Affero General 9 | * Public License (GNU AGPL) as published by the Free Software Foundation, 10 | * either version 3 of the License, or (at your option) any later version. 11 | * For Enterprise/Commerical licenses, contact . 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 16 | * be liable for all damages without limitation, which is caused by the 17 | * ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 18 | * damages, claims, cost, including reasonable attorney fee claimed on Juspay. 19 | * The end user has NO right to claim any indemnification based on its use 20 | * of Licensed Software. See the GNU Affero General Public License for more details. 21 | * 22 | * You should have received a copy of the GNU Affero General Public License 23 | * along with this program. If not, see . 24 | */ 25 | 26 | package in.juspay.mystique; 27 | 28 | /** 29 | * Created by sahebjot on 29/07/16. 30 | */ 31 | public interface ErrorCallback { 32 | void onError(String errorType, String errorMessage); 33 | } 34 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/layout/list_view_tem.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 32 | -------------------------------------------------------------------------------- /mystique/src/main/java/in/juspay/mystique/DuiLogger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2017 "JUSPAY Technologies" 3 | * JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 4 | * 5 | * This file is part of JUSPAY Platform. 6 | * 7 | * JUSPAY Platform is free software: you can redistribute it and/or modify 8 | * it for only educational purposes under the terms of the GNU Affero General 9 | * Public License (GNU AGPL) as published by the Free Software Foundation, 10 | * either version 3 of the License, or (at your option) any later version. 11 | * For Enterprise/Commerical licenses, contact . 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 16 | * be liable for all damages without limitation, which is caused by the 17 | * ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 18 | * damages, claims, cost, including reasonable attorney fee claimed on Juspay. 19 | * The end user has NO right to claim any indemnification based on its use 20 | * of Licensed Software. See the GNU Affero General Public License for more details. 21 | * 22 | * You should have received a copy of the GNU Affero General Public License 23 | * along with this program. If not, see . 24 | */ 25 | 26 | package in.juspay.mystique; 27 | 28 | /** 29 | * Created by sahebjot on 22/07/16. 30 | */ 31 | public interface DuiLogger { 32 | void d(String tag, String message); 33 | void e(String tag, String message); 34 | void i(String tag, String message); 35 | void v(String tag, String message); 36 | } 37 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 28 | 31 | 64dp 32 | 33 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/layout/content_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 16dp 29 | 16dp 30 | 16dp 31 | 32 | 8dp 33 | 72dp 34 | 264dp 35 | 14sp 36 | 12sp 37 | 38 | 39 | -------------------------------------------------------------------------------- /dui-demo/src/main/java/in/juspay/dui_android/NewLogger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2017 "JUSPAY Technologies" 3 | * JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 4 | * 5 | * This file is part of JUSPAY Platform. 6 | * 7 | * JUSPAY Platform is free software: you can redistribute it and/or modify 8 | * it for only educational purposes under the terms of the GNU Affero General 9 | * Public License (GNU AGPL) as published by the Free Software Foundation, 10 | * either version 3 of the License, or (at your option) any later version. 11 | * For Enterprise/Commerical licenses, contact . 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 16 | * be liable for all damages without limitation, which is caused by the 17 | * ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 18 | * damages, claims, cost, including reasonable attorney fee claimed on Juspay. 19 | * The end user has NO right to claim any indemnification based on its use 20 | * of Licensed Software. See the GNU Affero General Public License for more details. 21 | * 22 | * You should have received a copy of the GNU Affero General Public License 23 | * along with this program. If not, see . 24 | */ 25 | 26 | package in.juspay.dui_android; 27 | 28 | import android.util.Log; 29 | 30 | import in.juspay.mystique.DuiLogger; 31 | 32 | /** 33 | * Created by sahebjot on 22/07/16. 34 | */ 35 | public class NewLogger implements DuiLogger { 36 | @Override 37 | public void d(String tag, String message) { 38 | } 39 | 40 | @Override 41 | public void e(String tag, String message) { 42 | } 43 | 44 | @Override 45 | public void i(String tag, String message) { 46 | } 47 | 48 | @Override 49 | public void v(String tag, String message) { 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 34 | 39 | 40 | -------------------------------------------------------------------------------- /mystique/to_eclipse.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2017 "JUSPAY Technologies" 2 | # JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 3 | # 4 | # This file is part of JUSPAY Platform. 5 | # 6 | # JUSPAY Platform is free software: you can redistribute it and/or modify 7 | # it for only educational purposes under the terms of the GNU Affero General 8 | # Public License (GNU AGPL) as published by the Free Software Foundation, 9 | # either version 3 of the License, or (at your option) any later version. 10 | # For Enterprise/Commerical licenses, contact . 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 15 | # be liable for all damages without limitation, which is caused by the 16 | # ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 17 | # damages, claims, cost, including reasonable attorney fee claimed on Juspay. 18 | # The end user has NO right to claim any indemnification based on its use 19 | # of Licensed Software. See the GNU Affero General Public License for more details. 20 | # 21 | # You should have received a copy of the GNU Affero General Public License 22 | # along with this program. If not, see . 23 | 24 | #!/bin/bash 25 | 26 | BASEDIR=$(dirname $0) 27 | cd $BASEDIR 28 | echo $1 29 | echo $2 30 | if [ -d "build/outputs/aar/$1" ]; then 31 | echo "Cleaning existing directory $1" 32 | rm -rf build/outputs/aar/$1 33 | fi 34 | 35 | mkdir build/outputs/aar/$1 36 | cd build/outputs/aar/ 37 | if [ -f "$1.aar" ]; then 38 | cp $1.aar $1 39 | cd $1 40 | unzip -q $1.aar 41 | rm $1.aar 42 | 43 | mkdir src libs 44 | mv classes.jar libs/$1.jar 45 | rm -f R.txt 46 | rm -rf jni 47 | cd .. 48 | 49 | tar -zcf $1-$2.tar.gz $1/ 50 | rm -rf $1/ 51 | echo "Done" 52 | cd $BASEDIR 53 | else 54 | echo "Build not found" 55 | exit -1 56 | fi 57 | 58 | 59 | -------------------------------------------------------------------------------- /dui-demo/src/main/java/in/juspay/dui_android/DUIApplicationClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2017 "JUSPAY Technologies" 3 | * JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 4 | * 5 | * This file is part of JUSPAY Platform. 6 | * 7 | * JUSPAY Platform is free software: you can redistribute it and/or modify 8 | * it for only educational purposes under the terms of the GNU Affero General 9 | * Public License (GNU AGPL) as published by the Free Software Foundation, 10 | * either version 3 of the License, or (at your option) any later version. 11 | * For Enterprise/Commerical licenses, contact . 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 16 | * be liable for all damages without limitation, which is caused by the 17 | * ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 18 | * damages, claims, cost, including reasonable attorney fee claimed on Juspay. 19 | * The end user has NO right to claim any indemnification based on its use 20 | * of Licensed Software. See the GNU Affero General Public License for more details. 21 | * 22 | * You should have received a copy of the GNU Affero General Public License 23 | * along with this program. If not, see . 24 | */ 25 | 26 | package in.juspay.dui_android; 27 | 28 | import android.app.Application; 29 | 30 | import com.squareup.leakcanary.LeakCanary; 31 | 32 | /** 33 | * Created by kushagra on 03/04/17. 34 | */ 35 | 36 | public class DUIApplicationClass extends Application { 37 | @Override 38 | public void onCreate() { 39 | super.onCreate(); 40 | if (LeakCanary.isInAnalyzerProcess(this)) { 41 | // This process is dedicated to LeakCanary for heap analysis. 42 | // You should not init your app in this process. 43 | return; 44 | } 45 | LeakCanary.install(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /dui-demo/src/main/java/in/juspay/dui_android/DUIActivity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2017 "JUSPAY Technologies" 3 | * JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 4 | * 5 | * This file is part of JUSPAY Platform. 6 | * 7 | * JUSPAY Platform is free software: you can redistribute it and/or modify 8 | * it for only educational purposes under the terms of the GNU Affero General 9 | * Public License (GNU AGPL) as published by the Free Software Foundation, 10 | * either version 3 of the License, or (at your option) any later version. 11 | * For Enterprise/Commerical licenses, contact . 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 16 | * be liable for all damages without limitation, which is caused by the 17 | * ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 18 | * damages, claims, cost, including reasonable attorney fee claimed on Juspay. 19 | * The end user has NO right to claim any indemnification based on its use 20 | * of Licensed Software. See the GNU Affero General Public License for more details. 21 | * 22 | * You should have received a copy of the GNU Affero General Public License 23 | * along with this program. If not, see . 24 | */ 25 | 26 | package in.juspay.dui_android; 27 | 28 | import android.content.Intent; 29 | import android.support.v7.app.AppCompatActivity; 30 | import android.os.Bundle; 31 | import android.view.View; 32 | 33 | import com.squareup.leakcanary.LeakCanary; 34 | 35 | public class DUIActivity extends AppCompatActivity { 36 | 37 | @Override 38 | protected void onCreate(Bundle savedInstanceState) { 39 | super.onCreate(savedInstanceState); 40 | setContentView(R.layout.activity_dui); 41 | } 42 | 43 | public void startDUI(View view) { 44 | Intent intent = new Intent(this, MainActivity.class); 45 | startActivity(intent); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /dui-demo/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2017 "JUSPAY Technologies" 2 | # JUSPAY Technologies Pvt. Ltd. [https://www.juspay.in] 3 | # 4 | # This file is part of JUSPAY Platform. 5 | # 6 | # JUSPAY Platform is free software: you can redistribute it and/or modify 7 | # it for only educational purposes under the terms of the GNU Affero General 8 | # Public License (GNU AGPL) as published by the Free Software Foundation, 9 | # either version 3 of the License, or (at your option) any later version. 10 | # For Enterprise/Commerical licenses, contact . 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The end user will 15 | # be liable for all damages without limitation, which is caused by the 16 | # ABUSE of the LICENSED SOFTWARE and shall INDEMNIFY JUSPAY for such 17 | # damages, claims, cost, including reasonable attorney fee claimed on Juspay. 18 | # The end user has NO right to claim any indemnification based on its use 19 | # of Licensed Software. See the GNU Affero General Public License for more details. 20 | # 21 | # You should have received a copy of the GNU Affero General Public License 22 | # along with this program. If not, see . 23 | 24 | # Add project specific ProGuard rules here. 25 | # By default, the flags in this file are appended to flags specified 26 | # in /Users/amankasliwal/Library/Android/sdk/tools/proguard/proguard-android.txt 27 | # You can edit the include path and order by changing the proguardFiles 28 | # directive in build.gradle. 29 | # 30 | # For more details, see 31 | # http://developer.android.com/guide/developing/tools/proguard.html 32 | 33 | # Add any project specific keep options here: 34 | 35 | # If your project uses WebView with JS, uncomment the following 36 | # and specify the fully qualified class name to the JavaScript interface 37 | # class: 38 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 39 | # public *; 40 | #} 41 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | 28 | #00000000 29 | #4b5c93 30 | #B6215A 31 | #fff 32 | #fff 33 | #000 34 | #000 35 | #00000000 36 | 37 | #ffffff 38 | #e2e2e2 39 | #e2e2e2 40 | #eee 41 | #176e03 42 | #FFFFFF 43 | -------------------------------------------------------------------------------- /dui-demo/src/main/res/layout/activity_dui.xml: -------------------------------------------------------------------------------- 1 | 2 | 26 | 36 |