一键导入
header-action-styling
Standards for top-bar action icons, alignment, and tints
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Standards for top-bar action icons, alignment, and tints
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidelines for managing Varisankya releases across Beta and Production tracks.
How to safely record extra payments without advancing the Varisankya subscription next due date.
Instructions for extracting the Play Store upload keystore, Firebase JSON, and passwords from Bitwarden.
Standard operating procedure for concluding an AI agent session and ensuring workspace integrity.
Guidelines for compiling Varisankya from the CLI without Android Studio.
How to correctly handle custom dates for extra subscription payments using MaterialDatePicker.
| name | Header Action Styling |
| description | Standards for top-bar action icons, alignment, and tints |
This skill documents the standardized design for the application's header (Toolbar) actions.
| Action | Location | implementation |
|---|---|---|
| History | Hero Card | Tapping the "Remaining Expenses" hero card opens History. |
| Add New | FAB | Floating Action Button (Bottom Right) with colorPrimary. |
| Profile | Toolbar | Top right corner, clearly separated. |
| Search | Toolbar | Top left/center (Trigger layout). |
Always use standard Android Menu Items (onCreateOptionsMenu) for action buttons (like Logout, Edit, Save).
ConstraintLayout or TextView into the Toolbar unless absolutely necessary for branding.To achieve pixel-perfect visual alignment between different screen headers:
app:contentInsetEnd="24dp" for solid elements (like Profile Images).app:contentInsetEnd="32dp" for Menu Items.
Logo Shake: Tapping the Profile/Logo image MUST trigger a premium rotation shake:
view.animate().rotationBy(15f).setDuration(100).withEndAction {
view.animate().rotationBy(-30f).setDuration(200).withEndAction {
view.animate().rotation(0f).setDuration(100).start()
}.start()
}.start()
Tactile Spring: All header trigger layouts (Search, Profile) MUST use AnimationHelper.applySpringOnTouch().
Mechanical Scroll: Toolbar transparency or elevation changes should coincide with scroll ticks if possible.