diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-09 14:59:35 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-07-09 14:59:35 -0700 |
commit | ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9 (patch) | |
tree | 622b6a0f35f29f8cbcc7dc15b36080e4497081e2 /sample | |
parent | 50308831b3e33526a2e672c26765bb02856a3e92 (diff) | |
download | kau-ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9.tar.gz kau-ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9.tar.bz2 kau-ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9.zip |
KAU icon
Diffstat (limited to 'sample')
-rw-r--r-- | sample/build.gradle | 1 | ||||
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt | 2 | ||||
-rw-r--r-- | sample/src/main/res/drawable/kau.xml | 28 |
3 files changed, 30 insertions, 1 deletions
diff --git a/sample/build.gradle b/sample/build.gradle index b3dd20b..27af7c2 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -25,6 +25,7 @@ android { targetSdkVersion Integer.parseInt(project.TARGET_SDK) versionCode androidGitVersion.code() versionName androidGitVersion.name() + multiDexEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt index e675ebf..983544d 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt @@ -9,7 +9,7 @@ import com.mikepenz.fastadapter.IItem * Created by Allan Wang on 2017-06-27. */ class AboutActivity : AboutActivityBase(R.string::class.java, { - cutoutText = "KAU" + cutoutDrawableRes = R.drawable.kau textColor = 0xde000000.toInt() backgroundColor = 0xfffafafa.toInt() accentColor = 0xff00838F.toInt() diff --git a/sample/src/main/res/drawable/kau.xml b/sample/src/main/res/drawable/kau.xml new file mode 100644 index 0000000..b0a7be8 --- /dev/null +++ b/sample/src/main/res/drawable/kau.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="134.55712dp" + android:height="57.00381dp" + android:viewportWidth="134.55712" + android:viewportHeight="57.00381"> + + <path + android:fillColor="#00a9ff" + android:fillType="evenOdd" + android:pathData="M42.8336 42.7538l19-42.75 31.67656 57H57.0836zM0 .08894h27L0 28.6213z" /> + <path + android:fillColor="#ff8900" + android:fillType="evenOdd" + android:pathData="M28.5 .0038 H57l-57 57v-26.882z" /> + <path + android:fillColor="#00a9ff" + android:fillType="evenOdd" + android:pathData="M28.5 30.0038l27 27h-54z" /> + <path + android:fillColor="#ff8900" + android:fillType="evenOdd" + android:pathData="M84.20713 38h50.35V0H82.45v34.83643L84.20713 38z" /> + <path + android:fillColor="#ff8900" + android:pathData="M92.41758 52.7751a26.0534 19 0 0 0 16.0869 4.08017 26.0534 19 0 0 0 26.05265-19 +26.0534 19 0 0 0-26.05264-19 26.0534 19 0 0 0-25.79103 16.45616l9.7041 17.46367z" /> +</vector>
\ No newline at end of file |