Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## [4.2.0](https://github.com/sds100/KeyMapper/releases/tag/v4.2.0)

## Added

- #2140 Add monochrome app icon layer for themed icon support on Android 13+.

## Fixed

- #2074 Scrolling the action or trigger list no longer accidentally moves items; reordering by drag now only activates from the drag handle or via long-press.
Expand Down
1 change: 1 addition & 0 deletions app/src/ci/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
1 change: 1 addition & 0 deletions app/src/ci/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
1 change: 1 addition & 0 deletions app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
1 change: 1 addition & 0 deletions app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
58 changes: 58 additions & 0 deletions base/src/main/res/drawable/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="24"
android:viewportHeight="24">
<group
android:scaleX="0.4"
android:scaleY="0.4"
android:translateX="7.2"
android:translateY="7.2">
<group>
<clip-path android:pathData="M-42,-40.363L102,-40.363L102,103.637L-42,103.637Z" />
</group>
<group>
<clip-path android:pathData="M-42,-40.363L102,-40.363L102,103.637L-42,103.637Z" />
<group>
<clip-path android:pathData="M-42.094,-40.457L102.095,-40.457L102.095,103.731L-42.094,103.731Z" />
<group>
<clip-path android:pathData="M-42.047,-40.409L102.047,-40.409L102.047,103.684L-42.047,103.684Z" />
</group>
<group>
<clip-path android:pathData="M-42.047,-40.409L102.047,-40.409L102.047,103.684L-42.047,103.684Z" />
</group>
</group>
<group>
<clip-path android:pathData="M-4.667,-3.029L64.667,-3.029L64.667,66.304L-4.667,66.304Z" />
</group>
<group>
<clip-path android:pathData="M6,7.637L54,7.637L54,55.637L6,55.637Z" />
</group>
<group>
<clip-path android:pathData="M-4.8,7.504L64.8,7.504L64.8,55.771L-4.8,55.771Z" />
</group>
<group>
<clip-path android:pathData="M5.867,-3.163L54.133,-3.163L54.133,66.437L5.867,66.437Z" />
</group>
<group>
<clip-path android:pathData="M0.533,2.171L59.467,2.171L59.467,61.104L0.533,61.104Z" />
</group>
<group>
<clip-path android:pathData="M-18,-16.363L78,-16.363L78,79.637L-18,79.637Z" />
</group>
</group>
<path
android:fillColor="#000000"
android:pathData="M1.557,9.593C0.694,9.593 0,10.288 0,11.15v11.292c0,0.863 0.694,1.557 1.557,1.557L12.841,24c0.862,0 1.557,-0.695 1.557,-1.557L14.398,13.804L9.696,13.804L9.696,9.593ZM5.993,11.929h2.023c0.278,0 0.506,0.228 0.506,0.506v2.171c0,0.071 -0.025,0.132 -0.071,0.177l-1.265,1.265c-0.101,0.101 -0.258,0.101 -0.359,0l-1.265,-1.265c-0.051,-0.046 -0.076,-0.111 -0.076,-0.177v-2.171c0,-0.278 0.228,-0.506 0.506,-0.506zM2.452,15.472h2.17c0.071,0 0.132,0.026 0.177,0.071l1.265,1.265c0.101,0.101 0.101,0.258 0,0.359l-1.265,1.265c-0.046,0.051 -0.111,0.076 -0.177,0.076h-2.17c-0.278,0 -0.506,-0.228 -0.506,-0.506v-2.024c0,-0.278 0.228,-0.506 0.506,-0.506zM9.387,15.478h2.17c0.278,0 0.506,0.228 0.506,0.506v2.024c0,0.278 -0.228,0.506 -0.506,0.506L9.382,18.515c-0.066,0 -0.132,-0.03 -0.177,-0.076L7.94,17.173c-0.101,-0.101 -0.101,-0.258 0,-0.36l1.265,-1.265c0.051,-0.051 0.112,-0.076 0.182,-0.071zM7.002,17.856c0.064,0 0.129,0.025 0.179,0.076l1.265,1.265c0.051,0.046 0.076,0.111 0.076,0.177v2.172c0,0.278 -0.228,0.506 -0.506,0.506L5.993,22.053c-0.278,0 -0.506,-0.227 -0.506,-0.506v-2.172c0,-0.071 0.025,-0.132 0.071,-0.177l1.265,-1.265c0.051,-0.051 0.116,-0.076 0.18,-0.076z"
android:strokeWidth="0.496631" />
<path
android:fillAlpha="0"
android:fillColor="#212121"
android:pathData="M8.84,1.695C8.436,1.976 8.172,2.442 8.172,2.974l0,11.292c0,0.863 0.694,1.557 1.557,1.557l11.285,0c0.531,0 0.997,-0.264 1.278,-0.668C22.039,15.33 21.733,15.434 21.402,15.434L10.117,15.434c-0.862,0 -1.557,-0.695 -1.557,-1.557L8.561,2.584c0,-0.331 0.104,-0.637 0.279,-0.889z"
android:strokeWidth="0.497" />
<path
android:fillColor="#000000"
android:pathData="m10.117,1.037c-0.862,0 -1.557,0.695 -1.557,1.557l-0,11.292c-0,0.863 0.694,1.557 1.557,1.557l11.285,0c0.862,0 1.557,-0.695 1.557,-1.557l-0,-11.292c-0,-0.863 -0.694,-1.557 -1.557,-1.557zM11.907,4.375L20.002,4.375C20.558,4.375 21.013,4.831 21.013,5.387l-0,5.062c-0,0.557 -0.455,1.013 -1.012,1.013l-8.094,0C11.351,11.462 10.896,11.006 10.896,10.449l0.005,-5.062c-0,-0.557 0.45,-1.012 1.006,-1.012zM12.413,5.894L12.413,6.906L13.425,6.906l-0,-1.012zM13.931,5.894l-0,1.012l1.012,0l-0,-1.012zM15.448,5.894l-0,1.012l1.012,0l-0,-1.012zM16.966,5.894l-0,1.012l1.012,0l-0,-1.012zM18.484,5.894l-0,1.012l1.012,0l-0,-1.012zM12.413,7.413l-0,1.012L13.425,8.425l-0,-1.012zM13.931,7.413l-0,1.012l1.012,0l-0,-1.012zM15.448,7.413l-0,1.012l1.012,0l-0,-1.012zM16.966,7.413l-0,1.012l1.012,0l-0,-1.012zM18.484,7.413l-0,1.012l1.012,0l-0,-1.012zM14.437,9.437c-0.278,0 -0.505,0.228 -0.505,0.506 -0,0.278 0.227,0.506 0.505,0.506l3.036,0c0.278,0 0.505,-0.227 0.505,-0.506 -0,-0.278 -0.227,-0.506 -0.505,-0.506z"
android:strokeWidth="0.497" />
</group>
</vector>
1 change: 1 addition & 0 deletions base/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
1 change: 1 addition & 0 deletions base/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
Loading