diff --git a/android-app/src/main/AndroidManifest.xml b/android-app/src/main/AndroidManifest.xml
index 01d84c52..885df7d0 100644
--- a/android-app/src/main/AndroidManifest.xml
+++ b/android-app/src/main/AndroidManifest.xml
@@ -56,7 +56,6 @@
-
diff --git a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorActivityLauncher.java b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorActivityLauncher.java
index e5b17ec8..c32a007b 100644
--- a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorActivityLauncher.java
+++ b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorActivityLauncher.java
@@ -262,16 +262,6 @@ public final class CalculatorActivityLauncher implements CalculatorEventListener
});
}
break;
- case show_wiki_description:
- App.getUiThreadExecutor().execute(new Runnable() {
- @Override
- public void run() {
- final Intent intent = new Intent(context, CalculatorWikiActivity.class);
- Android.addIntentFlags(intent, false, context);
- context.startActivity(intent);
- }
- });
- break;
case show_message_dialog:
final DialogData dialogData = (DialogData) data;
if (dialogData != null) {
diff --git a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorWikiActivity.java b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorWikiActivity.java
deleted file mode 100644
index 0d338ef2..00000000
--- a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorWikiActivity.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright 2013 serso aka se.solovyev
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- * Contact details
- *
- * Email: se.solovyev@gmail.com
- * Site: http://se.solovyev.org
- */
-
-package org.solovyev.android.calculator;
-
-import android.os.Bundle;
-import android.webkit.WebView;
-
-/**
- * User: serso
- * Date: 6/16/13
- * Time: 6:26 PM
- */
-public final class CalculatorWikiActivity extends EmptyActivity {
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- setContentView(R.layout.cpp_wiki_page);
-
- final WebView webView = (WebView) findViewById(R.id.cpp_wiki_webview);
- //webView.loadUrl("file:///android_asset/wiki/functions/sin/index.html");
- }
-}
diff --git a/android-app/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java b/android-app/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java
index 33850bd0..1dec35f9 100644
--- a/android-app/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java
+++ b/android-app/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java
@@ -60,7 +60,6 @@ import org.solovyev.common.text.Strings;
import android.support.v4.app.ListFragment;
-import static org.solovyev.android.calculator.CalculatorEventType.show_wiki_description;
/**
* User: serso
@@ -275,14 +274,6 @@ public abstract class AbstractMathEntityListFragment exten
} else {
description.setVisibility(View.GONE);
}
-
- final View descriptionButton = result.findViewById(R.id.math_entity_description_imageview);
- descriptionButton.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- Locator.getInstance().getCalculator().fireCalculatorEvent(show_wiki_description, null);
- }
- });
}
}
diff --git a/android-app/src/main/res/drawable-hdpi/ab_clock.png b/android-app/src/main/res/drawable-hdpi/ab_clock.png
deleted file mode 100644
index 2ca96500..00000000
Binary files a/android-app/src/main/res/drawable-hdpi/ab_clock.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-hdpi/ab_plus.png b/android-app/src/main/res/drawable-hdpi/ab_plus.png
deleted file mode 100644
index 71f96c80..00000000
Binary files a/android-app/src/main/res/drawable-hdpi/ab_plus.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-hdpi/ab_remove.png b/android-app/src/main/res/drawable-hdpi/ab_remove.png
deleted file mode 100644
index eaf4672c..00000000
Binary files a/android-app/src/main/res/drawable-hdpi/ab_remove.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-hdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-hdpi/ic_delete_grey600_48dp.png
deleted file mode 100644
index 5171fbe5..00000000
Binary files a/android-app/src/main/res/drawable-hdpi/ic_delete_grey600_48dp.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-mdpi/ab_clock.png b/android-app/src/main/res/drawable-mdpi/ab_clock.png
deleted file mode 100644
index caf0584d..00000000
Binary files a/android-app/src/main/res/drawable-mdpi/ab_clock.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-mdpi/ab_plus.png b/android-app/src/main/res/drawable-mdpi/ab_plus.png
deleted file mode 100644
index 2df0a600..00000000
Binary files a/android-app/src/main/res/drawable-mdpi/ab_plus.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-mdpi/ab_remove.png b/android-app/src/main/res/drawable-mdpi/ab_remove.png
deleted file mode 100644
index c387183a..00000000
Binary files a/android-app/src/main/res/drawable-mdpi/ab_remove.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-mdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-mdpi/ic_delete_grey600_48dp.png
deleted file mode 100644
index a46013c2..00000000
Binary files a/android-app/src/main/res/drawable-mdpi/ic_delete_grey600_48dp.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-xhdpi/ab_clock.png b/android-app/src/main/res/drawable-xhdpi/ab_clock.png
deleted file mode 100644
index 4ffb529f..00000000
Binary files a/android-app/src/main/res/drawable-xhdpi/ab_clock.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-xhdpi/ab_plus.png b/android-app/src/main/res/drawable-xhdpi/ab_plus.png
deleted file mode 100644
index 050dc012..00000000
Binary files a/android-app/src/main/res/drawable-xhdpi/ab_plus.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-xhdpi/ab_remove.png b/android-app/src/main/res/drawable-xhdpi/ab_remove.png
deleted file mode 100644
index bc2f393e..00000000
Binary files a/android-app/src/main/res/drawable-xhdpi/ab_remove.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-xhdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-xhdpi/ic_delete_grey600_48dp.png
deleted file mode 100644
index 87d36023..00000000
Binary files a/android-app/src/main/res/drawable-xhdpi/ic_delete_grey600_48dp.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable-xxhdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-xxhdpi/ic_delete_grey600_48dp.png
deleted file mode 100644
index 78a2141b..00000000
Binary files a/android-app/src/main/res/drawable-xxhdpi/ic_delete_grey600_48dp.png and /dev/null differ
diff --git a/android-app/src/main/res/drawable/metro_green_list_item.xml b/android-app/src/main/res/drawable/metro_green_list_item.xml
deleted file mode 100644
index 06ddd49f..00000000
--- a/android-app/src/main/res/drawable/metro_green_list_item.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/android-app/src/main/res/drawable/metro_purple_list_item.xml b/android-app/src/main/res/drawable/metro_purple_list_item.xml
deleted file mode 100644
index 973b7a24..00000000
--- a/android-app/src/main/res/drawable/metro_purple_list_item.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/android-app/src/main/res/layout/calc_plot_view.xml b/android-app/src/main/res/layout/calc_plot_view.xml
deleted file mode 100644
index a425745d..00000000
--- a/android-app/src/main/res/layout/calc_plot_view.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/cpp_simple_button_like.xml b/android-app/src/main/res/layout/cpp_simple_button_like.xml
deleted file mode 100644
index af2cb020..00000000
--- a/android-app/src/main/res/layout/cpp_simple_button_like.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/cpp_unit_converter.xml b/android-app/src/main/res/layout/cpp_unit_converter.xml
index 8d00a958..ba04f6fa 100644
--- a/android-app/src/main/res/layout/cpp_unit_converter.xml
+++ b/android-app/src/main/res/layout/cpp_unit_converter.xml
@@ -78,15 +78,6 @@
a:orientation="horizontal"
a:paddingBottom="10dp">
-
-
+
+
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/cpp_wiki_page.xml b/android-app/src/main/res/layout/cpp_wiki_page.xml
deleted file mode 100644
index 20a0d84b..00000000
--- a/android-app/src/main/res/layout/cpp_wiki_page.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/cpp_wizard.xml b/android-app/src/main/res/layout/cpp_wizard.xml
deleted file mode 100644
index f5cf1469..00000000
--- a/android-app/src/main/res/layout/cpp_wizard.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/main_empty_multi_pane.xml b/android-app/src/main/res/layout/main_empty_multi_pane.xml
deleted file mode 100644
index 563f93de..00000000
--- a/android-app/src/main/res/layout/main_empty_multi_pane.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/math_entity.xml b/android-app/src/main/res/layout/math_entity.xml
index 3c28bea3..ba01133a 100644
--- a/android-app/src/main/res/layout/math_entity.xml
+++ b/android-app/src/main/res/layout/math_entity.xml
@@ -22,36 +22,23 @@
~ Site: http://se.solovyev.org
-->
-
+ a:orientation="vertical">
-
+
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/matrix_edit_fragment_item.xml b/android-app/src/main/res/layout/matrix_edit_fragment_item.xml
deleted file mode 100644
index b73ab996..00000000
--- a/android-app/src/main/res/layout/matrix_edit_fragment_item.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/android-app/src/main/res/layout/widget_layout.xml b/android-app/src/main/res/layout/widget_layout.xml
index ad9e2064..ad42ba89 100644
--- a/android-app/src/main/res/layout/widget_layout.xml
+++ b/android-app/src/main/res/layout/widget_layout.xml
@@ -16,7 +16,8 @@
+ a:layout_weight="1"
+ a:baselineAligned="false">
@string/p_green_line_color
- @string/p_grey_line_color
-
- - white
- - blue
- - red
- - green
- - grey
-
- @string/cpp_wizard_mode_simple
diff --git a/android-app/src/main/res/values/colors.xml b/android-app/src/main/res/values/colors.xml
index 86cd2623..564d71e3 100644
--- a/android-app/src/main/res/values/colors.xml
+++ b/android-app/src/main/res/values/colors.xml
@@ -21,8 +21,6 @@
-->
- #ff2e2e2e
-
#ffe6e6e6
@color/cpp_text_inverse
#424242
@@ -30,13 +28,9 @@
#ffffffff
#ffffff99
- #ffffffff
#ffffff99
#101010
#fff6f1ef
- #FAFAFA
- #9E9E9E
- #FAFAFA
#424242
#616161
#757575
@@ -49,18 +43,16 @@
#ff37b295
#ff309e84
#c1d2ef
- #ff092c39
#088e3a
#651456
#ff707070
- #ddffffff
- #89ffffff
#40ffffff
#ff131313
#262626
#66ffffff
+ #FAFAFA
#212121
#393939
@color/cpp_material_grey
diff --git a/android-app/src/main/res/values/dimens.xml b/android-app/src/main/res/values/dimens.xml
index ebe13b79..c16e2b83 100644
--- a/android-app/src/main/res/values/dimens.xml
+++ b/android-app/src/main/res/values/dimens.xml
@@ -14,7 +14,6 @@
20sp
30dp
- 20dp
25sp
25sp
diff --git a/android-app/src/main/res/values/theme.xml b/android-app/src/main/res/values/theme.xml
index ceaa5b9d..1615eb30 100644
--- a/android-app/src/main/res/values/theme.xml
+++ b/android-app/src/main/res/values/theme.xml
@@ -27,9 +27,9 @@
- @color/cpp_metro_button
- @color/cpp_metro_button_dark
- @color/cpp_metro_button_dark
- - @color/cpp_wizard_primary
- - @color/cpp_wizard_primary
- - @color/cpp_wizard_overscroll
+ - @color/cpp_material_accent
+ - @color/cpp_material_accent
+ - @color/cpp_material_accent
- @color/cpp_status_bar
- @color/cpp_main_bg
@@ -49,9 +49,9 @@
- @color/cpp_metro_button
- @color/cpp_metro_button_dark
- @color/cpp_metro_button_dark
- - @color/cpp_wizard_primary
- - @color/cpp_wizard_primary
- - @color/cpp_wizard_overscroll
+ - @color/cpp_material_accent
+ - @color/cpp_material_accent
+ - @color/cpp_material_accent
- @color/cpp_status_bar
- false
diff --git a/android-app/src/main/res/xml/ga.xml b/android-app/src/main/res/xml/ga.xml
index 9f61b0ce..c7159f3e 100644
--- a/android-app/src/main/res/xml/ga.xml
+++ b/android-app/src/main/res/xml/ga.xml
@@ -1,5 +1,6 @@
-
+
UA-28724009-2
true
true
diff --git a/core/src/main/java/org/solovyev/android/calculator/CalculatorEventType.java b/core/src/main/java/org/solovyev/android/calculator/CalculatorEventType.java
index cb59d5fd..dd8cfbd6 100644
--- a/core/src/main/java/org/solovyev/android/calculator/CalculatorEventType.java
+++ b/core/src/main/java/org/solovyev/android/calculator/CalculatorEventType.java
@@ -186,8 +186,6 @@ public enum CalculatorEventType {
*/
show_message_dialog,
- show_wiki_description,
-
plot_graph,
/**