From f179354e2360741996d497264b5bde2cabee9134 Mon Sep 17 00:00:00 2001 From: Philipp Jahoda Date: Fri, 1 Aug 2014 15:30:43 +0200 Subject: [PATCH] Improvements in the example project. --- MPChartExample/AndroidManifest.xml | 6 +- .../res/anim/move_left_in_activity.xml | 7 + .../res/anim/move_left_out_activity.xml | 7 + .../res/anim/move_right_in_activity.xml | 7 + .../res/anim/move_right_out_activity.xml | 7 + MPChartExample/res/layout/activity_main.xml | 75 +------ MPChartExample/res/layout/list_item.xml | 27 +++ .../mpchartexample/BarChartActivity.java | 4 +- .../BarChartActivityMultiDataset.java | 9 +- .../mpchartexample/DrawChartActivity.java | 4 +- .../mpchartexample/LineChartActivity.java | 16 +- .../mpchartexample/MainActivity.java | 117 ----------- .../MultiLineChartActivity.java | 6 +- .../mpchartexample/PieChartActivity.java | 4 +- .../mpchartexample/ScatterChartActivity.java | 4 +- .../fragments/SimpleChartDemo.java | 4 +- .../mpchartexample/notimportant/DemoBase.java | 14 ++ .../notimportant/MainActivity.java | 193 ++++++++++++++++++ .../charting/charts/BarLineChartBase.java | 4 +- .../mikephil/charting/charts/Chart.java | 7 +- 20 files changed, 294 insertions(+), 228 deletions(-) create mode 100644 MPChartExample/res/anim/move_left_in_activity.xml create mode 100644 MPChartExample/res/anim/move_left_out_activity.xml create mode 100644 MPChartExample/res/anim/move_right_in_activity.xml create mode 100644 MPChartExample/res/anim/move_right_out_activity.xml create mode 100644 MPChartExample/res/layout/list_item.xml delete mode 100644 MPChartExample/src/com/xxmassdeveloper/mpchartexample/MainActivity.java create mode 100644 MPChartExample/src/com/xxmassdeveloper/mpchartexample/notimportant/DemoBase.java create mode 100644 MPChartExample/src/com/xxmassdeveloper/mpchartexample/notimportant/MainActivity.java diff --git a/MPChartExample/AndroidManifest.xml b/MPChartExample/AndroidManifest.xml index 60e0b9780b..d1ba13a598 100644 --- a/MPChartExample/AndroidManifest.xml +++ b/MPChartExample/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="4" + android:versionName="1.0.4" > diff --git a/MPChartExample/res/anim/move_left_in_activity.xml b/MPChartExample/res/anim/move_left_in_activity.xml new file mode 100644 index 0000000000..086ea12238 --- /dev/null +++ b/MPChartExample/res/anim/move_left_in_activity.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/MPChartExample/res/anim/move_left_out_activity.xml b/MPChartExample/res/anim/move_left_out_activity.xml new file mode 100644 index 0000000000..8ac6d51db9 --- /dev/null +++ b/MPChartExample/res/anim/move_left_out_activity.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/MPChartExample/res/anim/move_right_in_activity.xml b/MPChartExample/res/anim/move_right_in_activity.xml new file mode 100644 index 0000000000..d16f775fe4 --- /dev/null +++ b/MPChartExample/res/anim/move_right_in_activity.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/MPChartExample/res/anim/move_right_out_activity.xml b/MPChartExample/res/anim/move_right_out_activity.xml new file mode 100644 index 0000000000..948a4d90d2 --- /dev/null +++ b/MPChartExample/res/anim/move_right_out_activity.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/MPChartExample/res/layout/activity_main.xml b/MPChartExample/res/layout/activity_main.xml index 7840d659be..33c8203553 100644 --- a/MPChartExample/res/layout/activity_main.xml +++ b/MPChartExample/res/layout/activity_main.xml @@ -1,76 +1,7 @@ - - - - - -