Skip to content

Commit

Permalink
Vector Drawables
Browse files Browse the repository at this point in the history
Signed-off-by: touchboarder <[email protected]>
  • Loading branch information
TouchBoarder committed Apr 27, 2016
1 parent 4976b1b commit adee17c
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:2.1.0-alpha5'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Oct 29 20:25:34 CET 2015
#Tue Apr 26 19:56:39 CEST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
Binary file removed sample/src/main/res/drawable-hdpi/ic_announcement.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-hdpi/ic_bug_report.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-mdpi/ic_announcement.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-mdpi/ic_bug_report.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-xhdpi/ic_announcement.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-xhdpi/ic_bug_report.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-xxhdpi/ic_announcement.png
Binary file not shown.
Binary file removed sample/src/main/res/drawable-xxhdpi/ic_bug_report.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions sample/src/main/res/drawable/ic_announcement.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF5252"
android:pathData="M20,2L4,2c-1.1,0 -1.99,0.9 -1.99,2L2,22l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM13,11h-2L11,5h2v6zM13,15h-2v-2h2v2z"/>
</vector>
9 changes: 9 additions & 0 deletions sample/src/main/res/drawable/ic_bug_report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF5252"
android:pathData="M20,8h-2.81c-0.45,-0.78 -1.07,-1.45 -1.82,-1.96L17,4.41 15.59,3l-2.17,2.17C12.96,5.06 12.49,5 12,5c-0.49,0 -0.96,0.06 -1.41,0.17L8.41,3 7,4.41l1.62,1.63C7.88,6.55 7.26,7.22 6.81,8L4,8v2h2.09c-0.05,0.33 -0.09,0.66 -0.09,1v1L4,12v2h2v1c0,0.34 0.04,0.67 0.09,1L4,16v2h2.81c1.04,1.79 2.97,3 5.19,3s4.15,-1.21 5.19,-3L20,18v-2h-2.09c0.05,-0.33 0.09,-0.66 0.09,-1v-1h2v-2h-2v-1c0,-0.34 -0.04,-0.67 -0.09,-1L20,10L20,8zM14,16h-4v-2h4v2zM14,12h-4v-2h4v2z"/>
</vector>

0 comments on commit adee17c

Please sign in to comment.