├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── triangle.png │ │ │ │ ├── textview_background.xml │ │ │ │ ├── textview_background_bold.xml │ │ │ │ ├── side_nav_bar.xml │ │ │ │ ├── ic_menu_send.xml │ │ │ │ ├── ic_menu_slideshow.xml │ │ │ │ ├── ic_menu_gallery.xml │ │ │ │ ├── ic_menu_manage.xml │ │ │ │ ├── ic_menu_camera.xml │ │ │ │ ├── ic_menu_share.xml │ │ │ │ ├── spinner_background.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── menu │ │ │ │ ├── navigation_drawer.xml │ │ │ │ └── activity_navigation_drawer_drawer.xml │ │ │ ├── layout-land │ │ │ │ ├── spinner_layout.xml │ │ │ │ ├── content_navigation_drawer.xml │ │ │ │ ├── activity_navigation_drawer.xml │ │ │ │ ├── app_bar_navigation_drawer.xml │ │ │ │ ├── nav_header_navigation_drawer.xml │ │ │ │ ├── fragment_exchange_rate.xml │ │ │ │ ├── fragment_converter.xml │ │ │ │ └── fragment_home.xml │ │ │ ├── layout │ │ │ │ ├── spinner_layout.xml │ │ │ │ ├── content_navigation_drawer.xml │ │ │ │ ├── activity_navigation_drawer.xml │ │ │ │ ├── app_bar_navigation_drawer.xml │ │ │ │ ├── nav_header_navigation_drawer.xml │ │ │ │ ├── fragment_converter.xml │ │ │ │ ├── fragment_exchange_rate.xml │ │ │ │ ├── fragment_home.xml │ │ │ │ └── fragment_radix.xml │ │ │ ├── navigation │ │ │ │ └── mobile_navigation.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── calculatorbyleafee │ │ │ │ ├── lib │ │ │ │ ├── expression │ │ │ │ │ ├── ErrorExpressionException.java │ │ │ │ │ └── Expression.java │ │ │ │ └── datastructure │ │ │ │ │ ├── EmptyContainerException.java │ │ │ │ │ ├── Lnode.java │ │ │ │ │ ├── Lstack.java │ │ │ │ │ └── Lqueue.java │ │ │ │ ├── ui │ │ │ │ ├── radix │ │ │ │ │ ├── RadixModel.java │ │ │ │ │ └── RadixFragment.java │ │ │ │ ├── sharedTools │ │ │ │ │ └── CustomAdapter.java │ │ │ │ ├── exchangeRate │ │ │ │ │ ├── ExchangeRateModel.java │ │ │ │ │ └── ExchangeRateFragment.java │ │ │ │ ├── home │ │ │ │ │ └── HomeFragment.java │ │ │ │ └── converter │ │ │ │ │ ├── ConverterModel.java │ │ │ │ │ └── ConverterFragment.java │ │ │ │ └── MainCalc.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── calculatorbyleafee │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── calculatorbyleafee │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── vcs.xml ├── misc.xml ├── dictionaries │ └── leafee98.xml ├── runConfigurations.xml ├── gradle.xml └── codeStyles │ └── Project.xml ├── .gitignore ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name='CalculatorByLeafee' 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/drawable/triangle.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafee98/CalculatorByLeafee/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Sep 04 09:40:46 CST 2019 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-5.4.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/textview_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/textview_background_bold.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/side_nav_bar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_send.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 8dp 6 | 176dp 7 | 16dp 8 | -------------------------------------------------------------------------------- /.idea/dictionaries/leafee98.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | calculatorbyleafee 5 | gibi 6 | kibi 7 | leafee 8 | lqueue 9 | mebi 10 | numa 11 | orginal 12 | scur 13 | tcur 14 | textview 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/calculatorbyleafee/lib/expression/ErrorExpressionException.java: -------------------------------------------------------------------------------- 1 | package com.example.calculatorbyleafee.lib.expression; 2 | 3 | public class ErrorExpressionException extends Exception { 4 | private static final long serialVersionUID = 6602273568241636585L; 5 | public ErrorExpressionException(String message) { 6 | super(message); 7 | } 8 | public ErrorExpressionException() { 9 | super(); 10 | } 11 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/calculatorbyleafee/lib/datastructure/EmptyContainerException.java: -------------------------------------------------------------------------------- 1 | package com.example.calculatorbyleafee.lib.datastructure; 2 | 3 | public class EmptyContainerException extends Exception { 4 | private static final long serialVersionUID = 6202378284826546585L; 5 | public EmptyContainerException(String message) { 6 | super(message); 7 | } 8 | public EmptyContainerException() { 9 | super(); 10 | } 11 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/calculatorbyleafee/lib/datastructure/Lnode.java: -------------------------------------------------------------------------------- 1 | package com.example.calculatorbyleafee.lib.datastructure; 2 | 3 | public class Lnode { 4 | public type item; 5 | public Lnode next; 6 | 7 | public Lnode(type item, Lnode next) { 8 | this.item = item; 9 | this.next = next; 10 | } 11 | public Lnode(type item) { 12 | this.item = item; 13 | this.next = null; 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_slideshow.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_gallery.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/navigation_drawer.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/calculatorbyleafee/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.calculatorbyleafee; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_manage.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout-land/spinner_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/spinner_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_camera.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_share.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 15 | 16 |