Skip to content

Commit

Permalink
Release 1.18.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Aug 7, 2018
1 parent 35c3ee2 commit 02920b7
Show file tree
Hide file tree
Showing 11 changed files with 79 additions and 26 deletions.
19 changes: 10 additions & 9 deletions app/build.gradle
Expand Up @@ -16,8 +16,8 @@ android {
applicationId "javinator9889.bitcoinpools"
minSdkVersion 21
targetSdkVersion 27
versionCode 72
versionName "1.18.5"
versionCode 75
versionName "1.18.6"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -31,6 +31,7 @@ android {
renderscriptDebuggable false
pseudoLocalesEnabled false
zipAlignEnabled true
signingConfig signingConfigs.config
}
debug {
minifyEnabled false
Expand All @@ -48,17 +49,17 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-core:11.8.0'
implementation 'com.google.firebase:firebase-crash:11.8.0'
implementation 'com.google.firebase:firebase-invites:11.8.0'
implementation 'com.google.firebase:firebase-appindexing:11.8.0'
implementation 'com.google.firebase:firebase-perf:11.8.0'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-crash:16.0.1'
implementation 'com.google.firebase:firebase-invites:16.0.1'
implementation 'com.google.firebase:firebase-appindexing:16.0.1'
implementation 'com.google.firebase:firebase-perf:16.0.0'
implementation('com.crashlytics.sdk.android:crashlytics:2.7.1@aar') {
transitive = true
}
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
implementation 'com.android.support:preference-v14:27.1.0'
implementation 'com.android.support:preference-v7:27.1.0'
Expand Down
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Expand Up @@ -24,3 +24,6 @@
-keep class **.R$* {
<fields>;
}
-keep public class com.github.mikephil.charting.animation.* {
public protected *;
}
Binary file added app/release/BitCoinPools-1.18.6.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion app/release/output.json
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":72,"versionName":"1.18.5","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":75,"versionName":"1.18.6","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Expand Up @@ -6,12 +6,12 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />-->
<uses-permission android:name="android.permission.READ_LOGS" />
<!--<uses-permission android:name="android.permission.READ_LOGS" />-->
<uses-permission android:name="com.android.vending.BILLING" />

<application
android:name=".BitCoinApp"
android:allowBackup="false"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
Expand Down Expand Up @@ -59,6 +59,6 @@
<uses-permission
android:name="android.permission.INTERNET"
tools:ignore="ManifestOrder" />
<uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
<!--<uses-permission android:name="android.permission.CONTROL_KEYGUARD" />-->

</manifest>
Expand Up @@ -118,16 +118,20 @@ public void run() {
data.setColors(ColorTemplate.MATERIAL_COLORS);
data.setValueTextSize(10f);

destinationChart.setData(new PieData(data));
destinationChart.setUsePercentValues(true);
destinationChart.setEntryLabelColor(ColorTemplate.rgb("#000000"));
Description description = new Description();
description.setText(getString(R.string.porcent));
destinationChart.setDescription(description);
destinationChart.getLegend().setEnabled(false);
destinationChart.setDragDecelerationFrictionCoef(0.95f);
destinationChart.animateY(1400, Easing.EasingOption.EaseInOutQuad);
destinationChart.invalidate();
try {
destinationChart.setData(new PieData(data));
destinationChart.setUsePercentValues(true);
destinationChart.setEntryLabelColor(ColorTemplate.rgb("#000000"));
Description description = new Description();
description.setText(getString(R.string.porcent));
destinationChart.setDescription(description);
destinationChart.getLegend().setEnabled(false);
destinationChart.setDragDecelerationFrictionCoef(0.95f);
destinationChart.animateY(1400, Easing.EasingOption.EaseInOutQuad);
destinationChart.invalidate();
} catch (Exception e) {
Log.e("PieChart", "Error loading PieChart: " + e.getMessage());
}
}
}, 100);
}
Expand Down
41 changes: 41 additions & 0 deletions app/src/main/java/javinator9889/bitcoinpools/ViewPagerFixed.java
@@ -0,0 +1,41 @@
package javinator9889.bitcoinpools;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;

/**
* Created by Javinator9889 on 07/08/2018.
* Based on: https://github.com/chrisbanes/PhotoView/issues/31
*/
public class ViewPagerFixed extends android.support.v4.view.ViewPager {
public ViewPagerFixed(Context context) {
super(context);
}

public ViewPagerFixed(Context context, AttributeSet attrs) {
super(context, attrs);
}

@Override
public boolean onTouchEvent(MotionEvent ev) {
try {
return super.onTouchEvent(ev);
} catch (IllegalArgumentException ex) {
Log.e("ViewPagerFX", "Error handling \"onTouchEvent\". Full trace: "
+ ex.getMessage());
}
return false;
}

@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
try {
return super.onInterceptTouchEvent(ev);
} catch (IllegalArgumentException ex) {
ex.printStackTrace();
}
return false;
}
}
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Expand Up @@ -41,9 +41,9 @@
</android.support.design.widget.TabLayout>
</android.support.design.widget.AppBarLayout>

<android.support.v4.view.ViewPager
<javinator9889.bitcoinpools.ViewPagerFixed
android:id="@+id/viewContainer"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_constraintBottom_toBottomOf="parent"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-es/strings.xml
Expand Up @@ -74,6 +74,8 @@
<string name="github"><![CDATA[Accede al proyecto de GitHub justo aquí: <a href="https://github.com/Javinator9889/BitCoinPools">GitHub</a>]]></string>
<string name="changelog">
<![CDATA[
<h1>Versión 1.18.6 (07/08/18)</h1><i>
- Mantenimiento y corrección de errores<br /></i>
<h1>Versión 1.18.5 (04/07/18)</h1><i>
- Mantenimiento y corrección de errores<br />
- Tamaño de la aplicación reducido<br /></i>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Expand Up @@ -97,6 +97,8 @@ SOFTWARE.<br />
<string name="github"><![CDATA[Access to the GitHub project right here: <a href="https://github.com/Javinator9889/BitCoinPools">GitHub</a>]]></string>
<string name="changelog">
<![CDATA[
<h1>Version 1.18.6 (07/08/18)</h1><i>
- Maintenance and bugs solved<br /></i>
<h1>Version 1.18.5 (04/07/18)</h1><i>
- Maintenance and bugs solved<br />
- Reduced app size<br /></i>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -10,7 +10,7 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.google.gms:google-services:3.2.0'
classpath 'io.fabric.tools:gradle:1.24.4'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
Expand Down

0 comments on commit 02920b7

Please sign in to comment.