Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dot166 committed Dec 10, 2024
1 parent 0e87221 commit 8cd10fc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

contains a custom actionbar based on material components Toolbar and some other things.

## A Note On ThemeEngine

ThemeEngine is an important component of jLib but the code for the database app is at https://github.com/dot166/jOS_ThemeEngine

## PrivExt subfolder can only be built with AOSP, rest of lib can be built with gradle or AOSP

## jLib will work ONLY ON ANDROID NOUGAT (7) AND LATER!! because 97.2% of Android devices use Android nougat or newer and it would be a nightmare to keep supporting Android Marshmallow (6) and older
Expand Down Expand Up @@ -106,7 +110,7 @@ gradle library (main code) with AOSP Build Files

### PrivExt/

AOSP compiled java library (privileged code) included as javalib.jar in core/j-SDK-core/libs and included in AOSP Build
AOSP compiled java library (privileged code) included as javalib.jar in core/j-SDK-core/libs and included in AOSP Build (will eventually be replaced by a different check for jOS Version)

### lib-example/

Expand Down
2 changes: 0 additions & 2 deletions j-LIB-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
package="jOS.Core">

<uses-permission android:name="android.permission.INTERNET" />

<queries>
<!-- Theme Engine Database -->
<package android:name="jOS.ThemeEngine"/>
Expand Down
5 changes: 5 additions & 0 deletions j-LIB-core/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
<item name="switchMinWidth">96dip</item>
<item name="android:textOn">@string/abc_capital_on</item>
<item name="android:textOff">@string/abc_capital_off</item>
<item name="useMaterialThemeColors">false</item>
</style>

<style name="j.CheckBox" parent="Widget.MaterialComponents.CompoundButton.CheckBox">
<item name="useMaterialThemeColors">false</item>
</style>

<style name="tab" parent="Widget.Design.TabLayout">
Expand Down
3 changes: 1 addition & 2 deletions j-LIB-core/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@
<item name="colorError">@android:color/holo_red_dark</item>

<!-- Material Design Attributes -->
<item name="isMaterialTheme">true</item>

<item name="colorPrimaryVariant">?attr/colorPrimary</item>
<item name="colorSecondary">@android:color/holo_blue_dark</item>
<item name="colorSecondaryVariant">?attr/colorSecondary</item>
Expand All @@ -187,6 +185,7 @@
<!-- Framework, AppCompat, or Design Widget styles -->
<item name="bottomNavigationStyle">@style/j.BottomNav</item>
<item name="tabStyle">@style/tab</item>
<item name="checkboxStyle">@style/j.CheckBox</item>
</style>
<!-- v26 overrides -->
<style name="Platform.v26.jOS.Theme" parent="Platform.jOS.Theme"/>
Expand Down
2 changes: 1 addition & 1 deletion ver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.2
3.3.3

0 comments on commit 8cd10fc

Please sign in to comment.