This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manual:advanced:customization:screens [2015/09/03 15:20] – mstupka | manual:advanced:customization:screens [2015/09/03 15:58] (current) – [How to get all this to work] mstupka | ||
---|---|---|---|
Line 20: | Line 20: | ||
You do not have to do previous steps. You can edit xml file directly in any editor. Previous steps are just recommended way for easy "Drag and drop" creating and also only way to support 9-patch images! | You do not have to do previous steps. You can edit xml file directly in any editor. Previous steps are just recommended way for easy "Drag and drop" creating and also only way to support 9-patch images! | ||
- | ===== How to get all this to work ===== | + | ===== How to make it work ===== |
**root directory: | **root directory: | ||
Line 96: | Line 96: | ||
- | * **SlideView** (custom | + | * **SlideView** (custom |
* locus: | * locus: | ||
* locus: | * locus: | ||
* locus: | * locus: | ||
- | * locus: | + | * locus: |
- | * locus: | + | * locus: |
* locus: | * locus: | ||
- | * locus: | + | * locus: |
- | <WRAP info> | + | < |
- | **Sample** - let's imagine this image of compass. | + | **Sample** - let's imagine this image of compass: |
- | {{: | + | {{ : |
- | To make it work in full screen width, you need to define these parameters | + | To make it work in full screen width you need to define these parameters: |
< | < | ||
android: | android: | ||
Line 123: | Line 123: | ||
</ | </ | ||
- | By this definition, you say that: | + | By this definition you say that: |
- | * 1. if orientation angle will be 180°, first pixel (slideStartPosition) will be drawn really as a first pixel. Because | + | * 1. if orientation angle is 180°, |
- | * 2. if orientation | + | * 2. if orientation |
</ | </ | ||
==== Global attributes ==== | ==== Global attributes ==== | ||
- | On all View can be applied these attributes | + | On all Views can be applied these attributes: |
* [[http:// | * [[http:// | ||
Line 180: | Line 180: | ||
* //{speed}// - GPS speed (0 if GPS off) | * //{speed}// - GPS speed (0 if GPS off) | ||
- | * // | + | * // |
* // | * // | ||
* // | * // |