Browse Source


Xphnx 2 years ago
1 changed files with 92 additions and 1 deletions
  1. 92

+ 92
- 1 View File

@@ -1 +1,92 @@
I dont have experience with git repos, but I supose it is a good practice to write changes into a new branch and then merge it into master. At this moment opened branch 3.0.2.
#### Is there any template for drawing icons?
- Yes, you have one for each color of the palette. You just have to worry about the design of the logo and its proportions. Take a look at the [wiki](

#### Is there any guidelines to follow drawing the icons?
- It is convenient to visit the [Google Material Design website]( The templates include most of the items, so you will not have to worry about them, but this site provides much interesting information you should follow when designing.

#### The update don't aply the new icons
- Probably a CM13 bug (?). You can solve it applying the stock icon pack and then applying again Ameixa.

#### I had a themed icon, but a recent update of the app reverts it to the original one
- Probably the upstream changes the activity name into androidmanifest.xml. You can compare the activityname using [Turtl]( with the code of [appfilter](). If the activityname have changed in fact, then you can try to do a MR with a [patch](, or request for a fix trough [Issue tracker](

#### An app crashes when attempts to create a notification icon with the theme applied.
- This must be fixed on the upstream adding a proper (smaller, all-white) notification icon [setSmallIcon]( Is possible that for Android 4 (CM11) can be added another colored icon ([SetLargeIcon]( to be shown in the ticker and notification.

- Please contact the upstream and report the bug. You can provide them more information referring to these links, in which some apps have already fixed this problem. And If you can, report relevant information [here]( for completing the documentation about this problem.:
- [SetLargeIcon applied by Mirakel](
- [Fix1 applied by Osmand](
- [Fix2 applied by Osmand](
- [Fix applied by ownCloud-SMS](
- [Fix applied by Syncthing](

#### I see the icon of an app in [its folders]( but it's not working in the theme
- Probably there is an error into the [appfilter.xml](
1. Look if ```drawable="iconname" />``` match the icon name of the png into the folders
2. Look if the [activity name]( is right (You can use Turtl).
3. Feel free to open a MR with a patch or [request a fix](

#### How can I build the app by myself?
- You have this options:
1. Gitlab Continous Integration. The file .gitlab-ci.yml is included yet, enable a shared runner, download the output from Builds. [Gitlab CI Quick Start]( (Unsigned apk)
2. Android Studio (GUI. Builds and signs) [Official download]( / [PPA by Paolo Rotolo]( (works on Debian/Ubuntu and derivatives).
3. Graddle (command line and gui [Official userguide](
4. The Graddle wrapper (scritps, Gradle will be automatically downloaded and used to run the build) [Gradle wrapper userguide]( (Gitlab CI uses this)
4. Fdroid server [Official manual](

# How to add an icon
1. Draw a white icon on its layer of the [**SVG template**](,
2. Put your svg icon into the [**SVG wip folder**](,
3. Add the activity of the app to [appfilter.xml]( and add the icon's license to the [LICENSE]( file.
4. (Optional) Run the script (It generates the proper pngs and move the svg from wip to depot folder.)

**Breaf instructions**: A template file contains three layers (to see them, select Layer - Layers from the menu; to toggle layer visibility, use the eye-like icons near the layer names). The bottom layer contains the background of the icon. It has proper color, shadow, shade and tint. Do not modify those.

The top layer (hints) shows the keyline shapes, the regions that define the size of your icon. In short, a mostly square icon must fit into a square one (black lines). A horizontal rectangle, in the horizontal rectangle (blue lines). A vertical rectangle icon, into the vertical rectangle (green lines) and the mostly round one should mostly fit in the larger square-without-the-corners that they form. Most part of your icon should fit into one or several of those rectangles. Note that small items can extend beyond this area. For more information on this, please refer to the section ["Proportions"]( below and to the [Google's guide](

The icon layer is the most interesting one. This is the layer you should draw your icon on. It already contains an indication, please delete it and draw the desired logo in white (#ffffffff) instead of it.

### Add Activities to appfilter.xml

You can use [Turtle]( to obtain the code. Note Turtl sets the iconname as a string (related to the activityname). You have to change the string inside: ``` drawable="xxxxxxxxxx" />``` and make sure it is identical to the .svg you put into the svgs/wip folder.

### Proportions


### Resolutions

| :-----: |:-------:| :---:|
| MDPI | 48x48 | 120 |
| HDPI | 72x72 | 240 |
| XHDPI | 96x96 | 320 |
| XXHDPI | 144x144 | 480 |
| XXXHDPI | 192x192 | 640 |

## More info
**Please read this carefully for a deeper understanding:**

* [Colors material design](

* [Material Design Product Icons](

* [Material Design System Icons](

### Add Material Color Palette to Inkscape

[Material Design Color Palette for Inkscape] (

# Creating a Boot Animation
[See this link](