Skip to content

Commit

Permalink
service done
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTyp7214 committed Aug 25, 2022
1 parent 8c01c6a commit d9abe90
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.5.0'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0-alpha01'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.browser:browser:1.4.0'
testImplementation 'junit:junit:4.13.2'
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<queries>
<package android:name="de.dertyp7214.rboardthememanager" />
<package android:name="de.dertyp7214.rboardthememanager.debug" />
</queries>

<application
android:name=".Application"
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package de.dertyp7214.rboardimetester

import com.google.android.material.color.DynamicColors
import de.dertyp7214.rboardcomponents.utils.ThemeUtils

class Application : android.app.Application() {
override fun onCreate() {
super.onCreate()
DynamicColors.applyToActivitiesIfAvailable(this)
ThemeUtils.applyTheme(this)
ThemeUtils.registerActivityLifecycleCallbacks(this)
}
}
2 changes: 1 addition & 1 deletion rboardcomponents
Submodule rboardcomponents updated 29 files
+1 −0 build.gradle.kts
+5 −0 src/main/aidl/de/dertyp7214/rboard/IAppTheme.aidl
+8 −3 src/main/kotlin/de/dertyp7214/rboardcomponents/components/SearchToolbar.kt
+44 −0 src/main/kotlin/de/dertyp7214/rboardcomponents/core/Activity.kt
+16 −0 src/main/kotlin/de/dertyp7214/rboardcomponents/core/Context.kt
+154 −0 src/main/kotlin/de/dertyp7214/rboardcomponents/utils/ThemeUtils.kt
+32 −0 src/main/res/values-night/themes_blue.xml
+32 −0 src/main/res/values-night/themes_green.xml
+30 −0 src/main/res/values-night/themes_lime.xml
+30 −0 src/main/res/values-night/themes_orange.xml
+30 −0 src/main/res/values-night/themes_pink.xml
+30 −0 src/main/res/values-night/themes_red.xml
+33 −0 src/main/res/values-night/themes_yellow.xml
+62 −0 src/main/res/values/colors_blue.xml
+62 −0 src/main/res/values/colors_green.xml
+62 −0 src/main/res/values/colors_lime.xml
+62 −0 src/main/res/values/colors_orange.xml
+62 −0 src/main/res/values/colors_pink.xml
+62 −0 src/main/res/values/colors_red.xml
+62 −0 src/main/res/values/colors_yellow.xml
+9 −0 src/main/res/values/strings.xml
+0 −9 src/main/res/values/themes.xml
+32 −0 src/main/res/values/themes_blue.xml
+32 −0 src/main/res/values/themes_green.xml
+30 −0 src/main/res/values/themes_lime.xml
+30 −0 src/main/res/values/themes_orange.xml
+30 −0 src/main/res/values/themes_pink.xml
+30 −0 src/main/res/values/themes_red.xml
+33 −0 src/main/res/values/themes_yellow.xml

0 comments on commit d9abe90

Please sign in to comment.