Skip to content

Commit

Permalink
Merge pull request #333 from HoraApps/develop
Browse files Browse the repository at this point in the history
new version 0.5.8
  • Loading branch information
dnldsht authored Sep 25, 2016
2 parents 0cde513 + 12e58e1 commit 69083b1
Show file tree
Hide file tree
Showing 198 changed files with 22,486 additions and 12,869 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/crowdin-cli.jar
/crowdin.yaml
.gradle
# User-specific configurations
/.directory
Expand All @@ -11,3 +9,5 @@
.DS_Store
/build
/captures
/scripts/crowdin.key
/app/src/main/assets/secretconstants.properties
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ LeafPic is now available in a beta release on the Play Store, you can join [here
<img src="https://f-droid.org/badge/get-it-on.png"
alt="Get it on F-Droid" height="80">
</a>

<a href="https://play.google.com/store/apps/details?id=org.horaapps.leafpic">
<img alt="Get it on Google Play"
height="80"
Expand Down
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/src/main/gen/
72 changes: 41 additions & 31 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,75 +1,85 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
}
}

apply plugin: 'com.android.application'
apply plugin: "com.gladed.androidgitversion"

repositories {
jcenter()
maven { url "http://repo1.maven.org/maven2" }
maven { url "http://dl.bintray.com/dasar/maven" }
maven { url "http://dl.bintray.com/dasar/maven" }
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

compileSdkVersion 24
buildToolsVersion '24'

defaultConfig {
applicationId "com.horaapps.leafpic"
applicationId "org.horaapps.leafpic"
minSdkVersion 19
targetSdkVersion 23
versionCode 7
versionName "v0.4"
targetSdkVersion 24
versionName androidGitVersion.name()
versionCode androidGitVersion.code()
}

lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false
}
// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions {
additionalParameters "--no-version-vectors"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_6
targetCompatibility JavaVersion.VERSION_1_6
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "LeafPic"
}

debug {
applicationIdSuffix ".debug"
resValue "string", "app_name", "LeafPic (debug)"
}
}

productFlavors {
noGPlay {
//versionNameSuffix '-fdroid'
}
withGPlay {
//signingConfig signingConfigs.GPlayConfig
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:palette-v7:23.4.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:cardview-v7:24.1.1'
compile 'com.android.support:recyclerview-v7:24.1.1'
compile 'com.android.support:design:24.1.1'
compile 'com.android.support:palette-v7:24.1.1'
compile 'com.android.support:customtabs:24.1.1'
compile 'com.android.support:support-v4:24.1.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.koushikdutta.ion:ion:2.1.7'
compile 'com.mikepenz:iconics-core:2.5.5@aar'
compile 'com.mikepenz:google-material-typeface:2.2.0.1.original@aar'
compile 'com.mikepenz:community-material-typeface:1.5.54.1@aar'
compile 'com.mikepenz:iconics-core:2.8.1@aar'
compile 'com.mikepenz:google-material-typeface:2.2.0.3.original@aar'
compile 'com.mikepenz:community-material-typeface:1.5.54.2@aar'
compile 'com.mikepenz:fontawesome-typeface:4.6.0.1@aar'
compile 'com.github.paolorotolo:appintro:3.4.0'
compile 'com.yalantis:ucrop:1.5.0'
compile 'uz.shift:colorpicker:0.5@aar'
compile 'com.balysv:material-ripple:1.0.2'
compile 'com.commit451:PhotoView:1.2.5'
compile 'com.google.android.exoplayer:exoplayer:r1.5.7'
compile 'de.psdev.licensesdialog:licensesdialog:1.8.0'
compile 'com.android.support:customtabs:23.4.0'
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.drewnoakes:metadata-extractor:2.9.1'
compile 'org.jetbrains:annotations-java5:15.0'
compile 'com.turingtechnologies.materialscrollbar:lib:10.0.3'
compile project(':photoview')
}
13 changes: 0 additions & 13 deletions app/src/androidTest/java/com/horaapps/leafpic/ApplicationTest.java

This file was deleted.

51 changes: 31 additions & 20 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.horaapps.leafpic">
package="org.horaapps.leafpic">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.vending.BILLING" />

<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />

<application
android:allowBackup="true"
android:name=".MyApplication"
android:name="org.horaapps.leafpic.MyApplication"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:theme="@style/Theme.AppCompat">

<activity
android:name=".PlayerActivity"
android:name="org.horaapps.leafpic.activities.PlayerActivity"
android:configChanges="orientation|screenSize"
android:label="@string/video_player"
android:launchMode="singleInstance"
Expand All @@ -36,12 +41,8 @@
</activity>

<activity
android:name=".IntroActivity"
android:label="Intro Activity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen" />

<activity
android:name=".SplashScreen"
android:name="org.horaapps.leafpic.activities.SplashScreen"
android:configChanges="orientation|screenSize"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down Expand Up @@ -72,7 +73,7 @@
</activity>

<activity
android:name=".MainActivity"
android:name="org.horaapps.leafpic.activities.MainActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
Expand All @@ -82,14 +83,14 @@
</activity>

<activity
android:name=".PhotoPagerActivity"
android:name="org.horaapps.leafpic.activities.SingleMediaActivity"
android:label="@string/app_name"
android:configChanges="orientation|screenSize"
android:parentActivityName=".MainActivity"
android:configChanges="orientation|screenSize|uiMode|touchscreen"
android:parentActivityName="org.horaapps.leafpic.activities.MainActivity"
android:theme="@style/Theme.AppCompat.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
android:value="org.horaapps.leafpic.activities.MainActivity" />

<intent-filter>
<action android:name="android.intent.action.albumPhoto" />
Expand All @@ -112,16 +113,24 @@
</activity>

<activity
android:name=".SettingsActivity"
android:name="org.horaapps.leafpic.activities.SettingsActivity"
android:configChanges="orientation|screenSize"
android:label="@string/settings"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.SETTING" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<activity
android:name=".AboutActivity"
android:name="org.horaapps.leafpic.activities.AboutActivity"
android:configChanges="orientation|screenSize"
android:label="@string/about"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.ABOUT" />
Expand All @@ -130,7 +139,8 @@
</activity>

<activity
android:name=".SecurityActivity"
android:name="org.horaapps.leafpic.activities.SecurityActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Theme.AppCompat.NoActionBar"
android:label="@string/security">
<intent-filter>
Expand All @@ -140,7 +150,8 @@
</activity>

<activity
android:name=".DonateActivity"
android:name="org.horaapps.leafpic.activities.DonateActivity"
android:label="@string/donate"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.DONATE" />
Expand All @@ -149,7 +160,7 @@
</activity>

<activity
android:name=".ExcludedAlbumsActivity"
android:name="org.horaapps.leafpic.activities.ExcludedAlbumsActivity"
android:label="@string/excluded_albums"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
Expand All @@ -164,7 +175,7 @@
android:theme="@style/Theme.AppCompat.NoActionBar" />

<meta-data
android:name="com.horaapps.leafpic.CustomGlideModule"
android:name="org.horaapps.leafpic.CustomGlideModule"
android:value="GlideModule" />

</application>
Expand Down
Loading

0 comments on commit 69083b1

Please sign in to comment.