Skip to content

Commit

Permalink
Update Build Tools v27.0.2
Browse files Browse the repository at this point in the history
*Update Build Tools and dependencies to v27.0.2.
*Update Gradle to v3.0.1.
*FIX Location drawable displays as black square.
  • Loading branch information
rayliverified committed Dec 6, 2017
1 parent a37315d commit 1d1b4a2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 27
buildToolsVersion "27.0.1"
defaultConfig {
applicationId "stream.custompermissionsapp"
minSdkVersion 15
targetSdkVersion 26
targetSdkVersion 27
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
Expand All @@ -32,6 +32,6 @@ dependencies {
compile project(path: ':custompermissionsdialogue')

compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:support-vector-drawable:26.1.0'
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
maven { url "https://maven.google.com" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'

// NOTE: Do not place your application dependencies here; they belong
Expand Down
14 changes: 7 additions & 7 deletions custompermissionsdialogue/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.searchy2'
version = '1.3'
version = '1.4'

android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 27
buildToolsVersion "27.0.1"

defaultConfig {
minSdkVersion 15
targetSdkVersion 26
targetSdkVersion 27
vectorDrawables.useSupportLibrary = true
}
buildTypes {
Expand All @@ -28,9 +28,9 @@ dependencies {

}
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.github.searchy2:CustomButton:1.4.1'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.github.searchy2:CustomButton:1.5'

compile 'com.android.support:design:26.1.0'
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:support-vector-drawable:26.1.0'
}
23 changes: 12 additions & 11 deletions custompermissionsdialogue/src/main/res/drawable/ic_location.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/button_inactive"
android:pathData="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0
9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" />
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/button_inactive"
android:pathData="M12,2C8.1,2,5,5.1,5,9c0,5.3,7,13,7,13s7-7.8,7-13C19,5.1,15.9,2,12,2z
M12,11.5c-1.4,0-2.5-1.1-2.5-2.5s1.1-2.5,2.5-2.5
s2.5,1.1,2.5,2.5S13.4,11.5,12,11.5z" />
</vector>

0 comments on commit 1d1b4a2

Please # to comment.