feat(settings): call the app "Clock" and add an app icon picker
The launcher and system label is now a plain, translatable "Clock"; the brand name Clockula stays on the About card and in crash reports via an untranslated app_brand_name string. Settings → Appearance → App icon chooses between the bloom mark and a new plain clock icon (the same dial and hands without the badge). The launcher entry moves off MainActivity onto two <activity-alias> components, exactly one enabled at a time, as Calendula does for its launcher name. The component-enabled state is the single source of truth, and switching enables the target before disabling the other so the launcher never sees zero entries.
This commit is contained in:
1 parent
f37c5f2f84
commit
a8bc652b22
15 files changed
+510
-8
No files matched your search
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
The plain launcher icon foreground, offered next to the bloom mark in
|
||||
Settings → Appearance → App icon (LauncherIconManager).
|
||||
|
||||
The bloom icon's dial and hands with the badge left off: the dial closes
|
||||
into a full circle and is re-centred on the canvas, so the face sits in
|
||||
the middle of the adaptive-icon safe zone rather than up-left of it. Same
|
||||
off-white strokes over the same sage background, and it fills the
|
||||
<monochrome> slot for themed-icon launchers too.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="512"
|
||||
android:viewportHeight="512">
|
||||
<group
|
||||
android:pivotX="256"
|
||||
android:pivotY="256"
|
||||
android:scaleX="0.66"
|
||||
android:scaleY="0.66">
|
||||
<!-- Dial -->
|
||||
<path
|
||||
android:strokeColor="#FFFAF6F0"
|
||||
android:strokeWidth="20"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round"
|
||||
android:pathData="M366 256 A110 110 0 1 0 146 256 A110 110 0 1 0 366 256" />
|
||||
<!-- Minute hand, straight up -->
|
||||
<path
|
||||
android:strokeColor="#FFFAF6F0"
|
||||
android:strokeWidth="20"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round"
|
||||
android:pathData="M256 256 L256 166" />
|
||||
<!-- Hour hand -->
|
||||
<path
|
||||
android:strokeColor="#FFFAF6F0"
|
||||
android:strokeWidth="20"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round"
|
||||
android:pathData="M256 256 L316 256" />
|
||||
</group>
|
||||
</vector>
|
||||
Reference in new issue
Block a user