Skip to content

Commit

Permalink
Vector logo yeah!!
Browse files Browse the repository at this point in the history
Also added adaptive icons
Kip looks really angry when in dark mode hrh
  • Loading branch information
KipJM committed Apr 19, 2023
1 parent e76884e commit fa15666
Show file tree
Hide file tree
Showing 30 changed files with 211 additions and 216 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

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

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

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

2 changes: 1 addition & 1 deletion .idea/misc.xml

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

5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ plugins {
}

android {
signingConfigs {
release {
}
}
namespace 'com.kip.reykunyu'
compileSdk 33

Expand All @@ -23,7 +27,6 @@ android {

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<!--END-->

<application
android:name="com.kip.reykunyu.ReykunyuApplication"
android:name="com.kip.reykunyu.ReykunyutsyipApplication"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.Reykunyu"
android:theme="@style/Theme.Reykunyutsyip"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:exported="true"
android:theme="@style/Theme.Reykunyu">
android:theme="@style/Theme.Reykunyutsyip">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Binary file modified app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ private val Context.dataStore: DataStore<Preferences> by preferencesDataStore(
name = APP_PREFERENCES_NAME
)

class ReykunyuApplication: Application() {
class ReykunyutsyipApplication: Application() {
lateinit var appPreferenceRepository: AppPreferenceRepository

override fun onCreate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import androidx.lifecycle.viewmodel.initializer
import androidx.lifecycle.viewmodel.viewModelFactory
import com.kip.reykunyu.ReykunyuApplication
import com.kip.reykunyu.ReykunyutsyipApplication
import com.kip.reykunyu.data.api.ResponseStatus
import com.kip.reykunyu.data.offline.OfflineDictionary
import kotlinx.coroutines.launch
Expand Down Expand Up @@ -46,7 +46,7 @@ class OfflineDictionaryViewModel(
companion object {
val Factory: ViewModelProvider.Factory = viewModelFactory {
initializer {
val application = (this[ViewModelProvider.AndroidViewModelFactory.APPLICATION_KEY] as ReykunyuApplication)
val application = (this[ViewModelProvider.AndroidViewModelFactory.APPLICATION_KEY] as ReykunyutsyipApplication)
OfflineDictionaryViewModel(application)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import androidx.lifecycle.ViewModelProvider.AndroidViewModelFactory.Companion.AP
import androidx.lifecycle.viewModelScope
import androidx.lifecycle.viewmodel.initializer
import androidx.lifecycle.viewmodel.viewModelFactory
import com.kip.reykunyu.ReykunyuApplication
import com.kip.reykunyu.ReykunyutsyipApplication
import com.kip.reykunyu.data.app.AppPreferenceRepository
import com.kip.reykunyu.data.dict.Language
import kotlinx.coroutines.flow.SharingStarted
Expand Down Expand Up @@ -48,7 +48,7 @@ class PreferenceViewModel(
companion object {
val Factory: ViewModelProvider.Factory = viewModelFactory {
initializer {
val application = (this[APPLICATION_KEY] as ReykunyuApplication)
val application = (this[APPLICATION_KEY] as ReykunyutsyipApplication)
PreferenceViewModel(application.appPreferenceRepository)
}
}
Expand Down
30 changes: 0 additions & 30 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml

This file was deleted.

83 changes: 83 additions & 0 deletions app/src/main/res/drawable/adaptive.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="115.2"
android:viewportHeight="115.2">
<group android:scaleX="0.62"
android:scaleY="0.62"
android:translateX="21.888"
android:translateY="21.888">
<path
android:pathData="m26.58,34.1c0,0 -3.62,0.35 -5.16,2.22 -0.8,0.97 -1.35,3.15 -1.38,5.25 -0.03,1.96 0.13,4.14 0.6,5.18 0.31,0.67 0.77,1.36 1.13,1.82 1.49,1.87 3.36,2.3 5.32,2.3 1.25,0 3.81,-1 4.91,-2.44 1.35,-1.78 2.51,-3.98 2.43,-5.73 -0.14,-3.18 -0.84,-8.59 -7.85,-8.59zM25.29,36.08a3.25,3.63 0,0 1,3.25 3.63,3.25 3.63,0 0,1 -3.25,3.63 3.25,3.63 0,0 1,-3.25 -3.63,3.25 3.63,0 0,1 3.25,-3.63z"
android:strokeLineJoin="miter"
android:strokeWidth="1"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:strokeLineCap="butt"/>
<path
android:pathData="m87.6,33.99c0,0 -3.62,0.35 -5.16,2.22 -0.8,0.97 -1.35,3.15 -1.38,5.25 -0.03,1.96 0.13,4.14 0.6,5.18 0.31,0.67 0.77,1.36 1.13,1.82 1.49,1.87 3.36,2.3 5.32,2.3 1.25,0 3.81,-1 4.91,-2.44 1.35,-1.78 2.51,-3.98 2.43,-5.73 -0.14,-3.18 -0.84,-8.59 -7.85,-8.59zM86.31,35.98a3.25,3.63 0,0 1,3.25 3.63,3.25 3.63,0 0,1 -3.25,3.63 3.25,3.63 0,0 1,-3.25 -3.63,3.25 3.63,0 0,1 3.25,-3.63z"
android:strokeLineJoin="miter"
android:strokeWidth="1"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:strokeLineCap="butt"/>
<path
android:pathData="m51.34,54.19c0,0 0.31,-0.03 2.81,0.06 2.5,0.09 5.64,3.27 0.39,4.42 -5.25,1.16 -9.09,-2.88 -5.39,-4.02 1.41,-0.43 2.19,-0.47 2.19,-0.47z"
android:strokeLineJoin="miter"
android:strokeWidth="1"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M60.56,70.33C66.27,70.56 67.97,74 68.25,77.56c0.28,3.56 0.28,5.28 -0.28,7.31 -0.56,2.03 -2.95,3.61 -5.69,4.22 -1.87,0.42 -3.91,0.45 -6.28,0C53.87,88.69 46.13,86.25 45.28,80.47 44.44,74.69 46.38,72.5 49.16,71.75 51.94,71 53.89,70.45 55.17,70.36 56.66,70.25 60.56,70.33 60.56,70.33Z"
android:strokeLineJoin="miter"
android:strokeWidth="2.3"
android:fillColor="#00000000"
android:strokeColor="#000000"
android:strokeLineCap="butt"/>
<path
android:pathData="m97.66,101.82c-0.24,-0.02 -6.03,-1.71 -9.15,-1.81 -3.12,-0.1 -7.52,-2.11 -9.01,-5.07 -1.49,-2.96 -1.15,-4.28 0.38,-6.13 1.53,-1.85 3.78,-1.33 5.81,-0.16 2.03,1.17 2.45,3.74 9.96,3.88 7.5,0.14 9.46,3.21 10.82,4.53 3.62,3.51 18.46,12.12 20.26,13.02 10.53,5.26 38.24,14.04 36.78,15.91 -1.52,1.95 5.03,13.31 -6.46,12.99 -7.95,-0.22 -41.01,-22.86 -41.42,-22.56 -1.01,0.74 -17.96,-14.6 -17.96,-14.6z"
android:strokeLineJoin="miter"
android:strokeWidth="0.264583"
android:fillColor="#2a76d0"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="m113.9,53.63c0,0 -3.73,4.1 -15.19,6.64 -11.46,2.53 -8.45,9.09 -7.97,9.65 0.48,0.56 2.47,3.76 8.19,0.32 5.71,-3.44 6.8,-1.17 12.77,-5.13 1.09,-0.72 42.99,-21.18 61.41,-22.28 29.3,-1.74 -14.71,-11.48 -14.86,-13.52 -0.15,-2.11 -35.99,18.23 -35.99,18.23z"
android:strokeLineJoin="miter"
android:strokeWidth="0.264583"
android:fillColor="#2a76d0"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="m1.95,89.58c0,0 4.41,-1.28 8.56,-1.79 4.15,-0.51 2.02,-0.57 4.95,-2.36 2.93,-1.79 6.46,-0.91 7.71,1.08 1.25,1.99 0.57,5.4 -2.13,6.94 -2.7,1.54 -5.77,3.64 -11.52,4.21 -1.55,0.15 -11.58,3.92 -12.83,4.74 -5.48,3.57 -41.68,45.02 -42.2,42.6 -0.6,-2.77 -21.33,-20.23 -10.16,-32.41 3.33,-3.64 36.52,-17.15 45.2,-20.29 7.33,-2.66 12.43,-2.71 12.43,-2.71z"
android:strokeLineJoin="miter"
android:strokeWidth="0.264583"
android:fillColor="#2a76d0"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="m-4,59.1c0,0 9.21,2.57 14.24,1.69 5.03,-0.89 10.82,9.09 -0.28,9.37 -11.1,0.28 -15.41,-2.17 -15.41,-2.17l-45.5,-11.23 7.68,-13.04z"
android:strokeLineJoin="miter"
android:strokeWidth="0.264583"
android:fillColor="#2a76d0"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="m21.43,0.6c0,0 13.15,13.12 15.21,16.66 2.05,3.54 5.19,4.3 7.84,6.88 2.66,2.57 0.68,8.89 -5.35,6.64 -6.03,-2.25 -8.65,-5.39 -10.86,-9.49 -2.21,-4.1 -5.43,-6.56 -6.72,-7.04 -1.29,-0.48 -8.97,-13.13 -8.97,-13.13 -15.96,-20.8 -12.59,-24.44 -25.89,-33.87l-5.39,-2.85 29.01,-7.45c1.84,12.49 2.93,18.4 5.85,31.45 1.77,7.91 3.89,8.96 5.27,12.22z"
android:strokeLineJoin="miter"
android:strokeWidth="0.264583"
android:fillColor="#2a76d0"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="m84.95,11.47c0,0 -9.74,12.07 -14.8,13.68 -5.07,1.61 -3.62,12.67 5.43,7.2 9.05,-5.47 16.61,-15.49 16.61,-15.49l12.51,-15.92 16.33,-43.04 -21.43,1.22 -8.44,41.41z"
android:strokeLineJoin="miter"
android:strokeWidth="0.264583"
android:fillColor="#2a76d0"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
</group>
</vector>
Loading

0 comments on commit fa15666

Please sign in to comment.