88 líneas
2.4 KiB
Markdown
88 líneas
2.4 KiB
Markdown
# MyActivityPub - Logo Assets
|
|
|
|
This folder contains the logo assets for the MyActivityPub application.
|
|
|
|
## Logo Versions
|
|
|
|
### 1. **logo_myap_standard.svg**
|
|
- Standard SVG logo for web, presentations, and documentation
|
|
- Size: 512x512px
|
|
- Features: Gradient background, shadow effects, fediverse star
|
|
- Color: Mastodon blue (#2B90D9)
|
|
- Best for: Marketing materials, app store graphics, website
|
|
|
|
### 2. **ic_logo_myap.xml** (Android VectorDrawable)
|
|
- Location: `app/src/main/res/drawable/ic_logo_myap.xml`
|
|
- Android vector drawable format
|
|
- Scalable for any screen density
|
|
- Best for: In-app usage, splash screen, about screen
|
|
|
|
### 3. **ic_launcher_foreground_new.xml** (Launcher Icon)
|
|
- Location: `app/src/main/res/drawable/ic_launcher_foreground_new.xml`
|
|
- Optimized for app launcher icon
|
|
- 108x108dp with safe zone
|
|
- Best for: App icon on home screen
|
|
|
|
### 4. **logo_myap.xml** (Simple SVG)
|
|
- Location: `app/src/main/res/drawable/logo_myap.xml`
|
|
- Simple SVG with text
|
|
- Best for: Quick previews
|
|
|
|
## Color Palette
|
|
|
|
- **Primary Blue**: #2B90D9 (AccentBlue from theme)
|
|
- **Dark Blue**: #1A6DA8 (Border/shadow)
|
|
- **Light Blue**: #3AA4E8 (Highlights)
|
|
- **White**: #FFFFFF (Text and icons)
|
|
|
|
## Design Elements
|
|
|
|
- **Fediverse Star**: Small star symbol representing ActivityPub/Fediverse
|
|
- **MyAP Text**: Bold, modern typography
|
|
- **Circular Background**: Professional, app-like appearance
|
|
- **Gradient Effect**: Modern, polished look
|
|
|
|
## Usage in Android
|
|
|
|
### In XML Layout
|
|
```xml
|
|
<ImageView
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:src="@drawable/ic_logo_myap"
|
|
android:contentDescription="MyActivityPub Logo" />
|
|
```
|
|
|
|
### In Compose
|
|
```kotlin
|
|
Image(
|
|
painter = painterResource(id = R.drawable.ic_logo_myap),
|
|
contentDescription = "MyActivityPub Logo",
|
|
modifier = Modifier.size(120.dp)
|
|
)
|
|
```
|
|
|
|
## Updating Launcher Icon
|
|
|
|
To use the new launcher icon:
|
|
|
|
1. Copy `ic_launcher_foreground_new.xml` content
|
|
2. Replace content in `ic_launcher_foreground.xml`
|
|
3. Rebuild the project
|
|
|
|
Or use Android Studio's Image Asset Studio:
|
|
1. Right-click `res` folder → New → Image Asset
|
|
2. Choose "Image" as Asset Type
|
|
3. Select `logo_myap_standard.svg`
|
|
4. Configure as needed
|
|
|
|
## License
|
|
|
|
These logo assets are part of the MyActivityPub project and follow the same license as the application.
|
|
|
|
## Credits
|
|
|
|
- Design: MyActivityPub Team
|
|
- Inspired by: Mastodon and Fediverse design language
|
|
- Colors: Based on Mastodon's official color palette
|