Skip to content
Back to skills

Android Resources Localization

ASecurity

Standards for Strings, Drawables, and Localization

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
development

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill android-resources-localization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Resources Localization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Resources Localization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-android-resources-localization/badge)](https://www.skillsdirectory.com/skills/david-li0406-android-resources-localization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Android Resources & Localization
description: Standards for Strings, Drawables, and Localization
metadata:
  labels: [android, resources, localization, xml]
  triggers:
    files: ['strings.xml', '**/*Screen.kt']
    keywords: ['stringResource', 'plurals', 'R.string']
---

# Android Resources Standards

## **Priority: P2**

## Implementation Guidelines

### Strings

- **No Hardcoding**: UI text MUST be in `strings.xml`.
- **Formatting**: Use format args (`%s`, `%d`) instead of concatenation.
- **Plurals**: Use `<plurals>` for quantities.

### Assets / Drawables

- **Vectors**: Prefer VectorDrawables (`.xml`) over RASTER images.
- **Dark Mode**: Use `values-night` or Theme attributes (`MaterialTheme.colorScheme.primary`) instead of hardcoded colors.

## Anti-Patterns

- **Concatenation in UI**: `**No String Concat**: Use resource templates.`
- **Hardcoded Strings**: `**No hardcoded text**: Extract to XML.`

## References

- [XML Structure](references/implementation.md)

Files in this skill

  • SKILL.md993 B
  • references/implementation.md791 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…