Opened 8 years ago
Last modified 8 years ago
#1307 new defect/bug
Button with empty icon source src="" does not work
Reported by: | benvenuto1972 | Owned by: | cp15 |
---|---|---|---|
Priority: | major | Milestone: | version 0.6.0 |
Component: | port/android | Version: | git master |
Severity: | normal | Keywords: | osd |
Cc: | sebastian.leske@… |
Description
I try to create OSD layout without any external images (except next_turn icons) and for executing commands I use empty source icons buttons which are overlay with text blocks. Unfortunately this trick does not work (command are ignored when area are touched) on latest version of Navit on Android (navit-svn-6122.apk). Below is wiki explanation which should work but it fails for me.
If we want to create transparent button (for example as overlay over other item) we need to write:
<osd enabled="yes" type="button" x="48" y="-96" w="39" h="120" command="some_cmd()" [[Image(C:\fakepath\Screenshot_2015-07-18-14-49-29.png)]]src="" />
Attachments (1)
Change History (3)
Changed 8 years ago by benvenuto1972
comment:1 Changed 8 years ago by benvenuto1972
comment:2 Changed 8 years ago by sleske
- Cc sebastian.leske@… added
Hm, strange, as far as I can see this should indeed work. This might be an Android-specific problem.
I'll try to have a look at this (once I have time)...
From wiki in correct way
If we want to create transparent button (for example as overlay over other item) we need to write: