Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
New about page, cleaned up code, new icons, and new share option
Browse files Browse the repository at this point in the history
  • Loading branch information
javacafe01 committed May 17, 2018
1 parent dd3386c commit c142cf1
Show file tree
Hide file tree
Showing 42 changed files with 713 additions and 677 deletions.
Binary file added .idea/caches/build_file_checksums.ser
Binary file not shown.
29 changes: 29 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 27 additions & 23 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
compileSdkVersion 27
defaultConfig {
applicationId "com.gsnathan.pdfviewer"
minSdkVersion 19
minSdkVersion 21
targetSdkVersion 26
versionCode 7
versionName "1.6"
versionCode 8
versionName "1.7"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true

Expand Down Expand Up @@ -40,38 +40,42 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:support-v4:27.1.0'
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'

//Library for Card View Layout
implementation 'com.android.support:cardview-v7:27.1.0'

//Ripple Effect Library
implementation 'com.balysv:material-ripple:1.0.2'

//Rating Library
implementation 'io.github.kobakei:ratethisapp:1.2.0'

//Pdf Viewer Library (Proguard config done)
compile 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'

//Android Annotations Library (Proguard config not needed)
provided 'org.androidannotations:androidannotations:4.4.0'
compile 'org.androidannotations:androidannotations-api:4.4.0'

//About Page Library (Proguard config not needed)
compile 'com.github.daniel-stoneuk:material-about-library:2.2.3-support26.1.0'
compileOnly 'org.androidannotations:androidannotations:4.4.0'
implementation 'org.androidannotations:androidannotations-api:4.4.0'

//Intro Library (Proguard config not needed)
compile 'com.heinrichreimersoftware:material-intro:1.6.2'
implementation 'com.heinrichreimersoftware:material-intro:1.6.2'

//License Presenter Library (Proguard config not needed)
compile 'com.github.franmontiel:AttributionPresenter:1.0'
implementation 'com.github.franmontiel:AttributionPresenter:1.0'

//View for Privacy Policy (Proguard config not needed)
compile 'org.sufficientlysecure:html-textview:3.5'
implementation 'org.sufficientlysecure:html-textview:3.5'

//View for App Licence (Proguard config not needed)
compile 'com.jgabrielfreitas:licensetextview:1.1.2'

//Material About Page Library (Proguard config not needed)
compile 'com.github.jrvansuita:MaterialAbout:0.2.0'
implementation 'com.jgabrielfreitas:licensetextview:1.1.2'

//Changelog Library (Proguard config not needed)
compile 'com.github.gabrielemariotti.changeloglib:changelog:2.1.0'
implementation 'com.github.gabrielemariotti.changeloglib:changelog:2.1.0'
}
26 changes: 6 additions & 20 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@
<!-- About -->
<activity
android:name=".AboutActivity"
android:parentActivityName=".MainActivity"
android:theme="@style/AppTheme.MaterialAboutActivity">
android:label="About"
android:parentActivityName="MainActivity_"
android:theme="@style/AppTheme">

<!-- The meta-data tag is required if you support API level 15 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
android:value="MainActivity_" />

</activity>

Expand All @@ -85,7 +86,7 @@
<activity
android:name=".PrivacyActivity"
android:label="Privacy Policy"
android:parentActivityName=".MaterialAboutActivity"
android:parentActivityName=".AboutActivity"
android:theme="@style/AppTheme">

<!-- The meta-data tag is required if you support API level 15 and lower -->
Expand All @@ -98,29 +99,14 @@
<activity
android:name=".LicenseActivity"
android:label="License"
android:parentActivityName=".MaterialAboutActivity"
android:parentActivityName=".AboutActivity"
android:theme="@style/AppTheme">

<!-- The meta-data tag is required if you support API level 15 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".AboutActivity" />
</activity>

<!-- Material About -->
<activity
android:name=".MaterialAboutActivity"
android:label="About"
android:theme="@style/AppThemeCustom"
android:parentActivityName=".MainActivity">

<!-- The meta-data tag is required if you support API level 15 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />

</activity>

</application>

</manifest>
Loading

0 comments on commit c142cf1

Please sign in to comment.