feat: theme, app entry points, and the sage identity
Clockula's seed is #6B7A5C, the third step of the family's colour cycle. Calendula's slate (#5C6B7A) and Agendula's mauve (#7A5C6B) are the same three bytes rotated — and that byte rotation is exactly a 120° hue rotation, so the three seeds sit at 210°, 330° and 90° with identical saturation and lightness. The fallback schemes are therefore not eyeballed: they are Agendula's hand-picked scheme with its hue rotated the same 120°, which keeps the three apps structurally one palette turned rather than three colours picked. The cycle closes at three. The launcher icon keeps the family's Calendula bloom badge path-for-path and swaps the task card for a clock dial, drawn as a 308° arc so the badge overhangs into a gap rather than colliding with the stroke — the same device Agendula uses to open its card's corner. MainActivity is M0 scaffolding: theme plus the crash surface, with a placeholder where the four-tab shell and the live pill land in M4. The theme follows stored preferences from M2, once there are any. The manifest declares no permissions yet, deliberately. Clockula's permission set belongs to the alarm engine and is declared in M3 alongside the receivers and the ringing service that need it, so the manifest never claims a capability the code cannot honour. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L94fydiJC37LtxVusNQBDy
This commit is contained in:
1 parent
9fb02d5083
commit
5ddec0f248
18 files changed
+514
No files matched your search
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<!--
|
||||
No permissions yet, deliberately. Clockula's permission set is the alarm
|
||||
engine's (USE_EXACT_ALARM, POST_NOTIFICATIONS, RECEIVE_BOOT_COMPLETED,
|
||||
USE_FULL_SCREEN_INTENT, FOREGROUND_SERVICE*) and it is declared in M3
|
||||
alongside the receivers and the ringing service that need it — so the
|
||||
manifest never claims a capability the code cannot yet honour. See
|
||||
docs/PLAN.md §4.
|
||||
-->
|
||||
|
||||
<application
|
||||
android:name=".ClockulaApp"
|
||||
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:localeConfig="@xml/locales_config"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Clockula"
|
||||
tools:targetApi="35">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true"
|
||||
android:launchMode="singleTop"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- Standalone crash-report surface; MainActivity routes here on a
|
||||
startup crash-loop. Not exported, kept out of recents. -->
|
||||
<activity
|
||||
android:name=".ui.crash.CrashReportActivity"
|
||||
android:exported="false"
|
||||
android:excludeFromRecents="true"
|
||||
android:launchMode="singleTask" />
|
||||
|
||||
<!-- Persists the per-app language on API < 33, where the platform
|
||||
per-app-languages API is unavailable. On 33+ this is a no-op. -->
|
||||
<service
|
||||
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
|
||||
android:enabled="false"
|
||||
android:exported="false">
|
||||
<meta-data
|
||||
android:name="autoStoreLocales"
|
||||
android:value="true" />
|
||||
</service>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
Reference in new issue
Block a user