-
Notifications
You must be signed in to change notification settings - Fork 247
Description
As @jamescr mentioned in issue #85, explain, to a person who does not have technical knowledge, how to use different Layouts sometimes can be difficult. That is why we want to add extra functionality, to facilitate the task and so anyone can do it without problems.
With the following screenshots I hope to be able to explain our proposal to implement the enhancement.
We will change the option of buttons presets so that instead of opening a pop-up with the Layouts that can be activated, open a new activity, such as the one shown below.
In this activity we will have three sections, the first is the Layout that comes by default in the application, the second section are the Layouts that the user have downloaded and are available for being install. The custom layouts will have emerging options, such as update and install and delete (the default layout will not have these options). Finally, the third section consists of a add new button which brings us to another activity where we will be able to download new Layouts.
This activity shows the available Layouts for download on a specified server (by default a Git Hub repository), the server must follow a structure of folders and files specified to be able to work, see more information in Guide to create Layout
When a Layout is pressed a description will be displayed in the language of the device (in case the Layout is not in the language of the device it will be given a pop-up with the available languages for the user to select in which language the description will be shown), the same window will show the options for download or cancel (the downloaded layout will be in the default language or the selected language by the user).
Also, in the upper right (tool bar), you will have an option to configure the server where you want to download Layouts, if it is invalid an error message will be displayed.
We will be developing this proposal in the LabExperimental-SIUA repository and then we will make a pull request.
We have two options for storing Layouts:
- The first option is to create a new "Layouts" branch inside the osmtracker-android repository or on the Fork of LabExperimental-SIUA.
- The second option is to create a completely new repository that the community can manipulate, where the Layouts can be added by means of a Pull Request following the indications of the structure.