Page 1 of 1
Questions about waypoint description field
Posted: Tue Jan 07, 2020 6:05 pm
by Charlie
I have a large collection of POI (Points of Interest) items. It looks like I can format these as .gpx files for use in AQ but long description fields seem to get truncated. It appears to be intentional since they end in "...". I looked for a .conf parameter for this but could not find one. I did find the parameter for Description text size, which is really helpful for older eyes like mine!
It also seems that description fields support some simple HTML tags, but maybe not all.
Is there more documentation on this? I am trying to provide as much info on the initial tap as possible. Having to tap once for a popup, a second time for a menu and a third time for details is awkward.
Re: Questions about waypoint description field
Posted: Thu Jan 09, 2020 7:06 pm
by Psyberia-Support
Hi Charlie,
Yes the description preview is truncated to 150 characters to avoid long descriptions to fill entire screen.
Right now unfortunately there is no setting to change this value, but I've added one for the next update.
Here is a shortcut to display the complete value: long press the popup to open the details directly.
And you can use HTML formatting (except images).
Re: Questions about waypoint description field
Posted: Sun Jan 12, 2020 8:57 pm
by alexlong
And you can use HTML formatting (except images)
I cheked it, working tags are:
Code: Select all
<b> (also <strong>)
<i> (also <em>)
<u>
<big>
<small>
<p>
<br>
<sub>
<sup>
<a>
<nav>
<font> (only "color")
<h1>-<h6>
<abbr>
Re: Questions about waypoint description field
Posted: Mon Jan 13, 2020 8:48 am
by Psyberia-Support
Thanks Alex!
Re: Questions about waypoint description field
Posted: Fri Jan 17, 2020 7:19 pm
by alexlong
Hi.
Could you please add support of
font size in addition to font color in the waypoint description field?
A kind of this
Code: Select all
<font size="4" color="red">This is some text!</font>
This is some text!
Re: Questions about waypoint description field
Posted: Mon Jan 20, 2020 8:11 am
by Psyberia-Support
Hi Alex,
Here are more information about the tags that are supported:
https://commonsware.com/blog/Android/20 ... tview.html
The "<font>" tag should be supported, but apparently not anymore (it is deprecated and has been
removed in HTML5).
But you can do differently, just add "<table>" at the end of the description.
This way the app will display a real web view, so you can use all HTML tags you want:
Code: Select all
Small, <font size="30">Big</font>
<table>
Re: Questions about waypoint description field
Posted: Mon Jan 20, 2020 10:34 pm
by alexlong
Hi, François!
Could you please give some more examples?
Re: Questions about waypoint description field
Posted: Wed Jan 22, 2020 8:51 am
by Psyberia-Support
Alex, what do you mean?