Permalink
Browse files

Shrink the APK file to 209KB

  • Loading branch information...
puffnfresh committed May 24, 2017
1 parent cb97998 commit 41b4fce1f63f1896ef0496a52857fbcf28f298ef
View
@@ -11,10 +11,12 @@ android {
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resConfigs "en"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
@@ -28,6 +30,5 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
testCompile 'junit:junit:4.12'
}
@@ -1,10 +1,10 @@
package xyz.profunctor.etaandroid;
import android.support.v7.app.AppCompatActivity;
import android.app.Activity;
import android.os.Bundle;
import xyz.profunctor.android.ActivityImpl;
public class MainActivity extends AppCompatActivity {
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
@@ -1,11 +1,7 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<style name="AppTheme" parent="android:Theme.Light">
</style>
</resources>

0 comments on commit 41b4fce

Please sign in to comment.