aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-09 14:59:35 -0700
committerAllan Wang <me@allanwang.ca>2017-07-09 14:59:35 -0700
commitef4b513cdd6d6fdf1d747720dd56f8c39bfedab9 (patch)
tree622b6a0f35f29f8cbcc7dc15b36080e4497081e2
parent50308831b3e33526a2e672c26765bb02856a3e92 (diff)
downloadkau-ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9.tar.gz
kau-ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9.tar.bz2
kau-ef4b513cdd6d6fdf1d747720dd56f8c39bfedab9.zip
KAU icon
-rw-r--r--.idea/misc.xml2
-rw-r--r--_layouts/default.html1
-rw-r--r--files/logo.svg9
-rw-r--r--sample/build.gradle1
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt2
-rw-r--r--sample/src/main/res/drawable/kau.xml28
6 files changed, 41 insertions, 2 deletions
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 085136f..7319f02 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -53,7 +53,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
diff --git a/_layouts/default.html b/_layouts/default.html
index 1290f63..657636b 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -15,6 +15,7 @@
<body>
<div class="wrapper">
<header>
+ <a href="{{ site.github.url }}"><img src="../files/logo.svg" alt="KAU" /></a>
<h1><a href="{{ site.github.url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
diff --git a/files/logo.svg b/files/logo.svg
new file mode 100644
index 0000000..4f5a27b
--- /dev/null
+++ b/files/logo.svg
@@ -0,0 +1,9 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 134.55712 57.00381">
+ <path fill="#00a9ff" fill-rule="evenodd" d="M42.8336 42.7538l19-42.75 31.67656 57H57.0836zM0 .08894h27L0 28.6213z"/>
+ <path fill="#ff8900" fill-rule="evenodd" d="M28.5.0038H57l-57 57v-26.882z"/>
+ <path fill="#00a9ff" fill-rule="evenodd" d="M28.5 30.0038l27 27h-54z"/>
+ <g fill="#ff8900">
+ <path fill-rule="evenodd" d="M84.20713 38h50.35V0H82.45v34.83643L84.20713 38z"/>
+ <path d="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"/>
+ </g>
+</svg>
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