Author Topic: Custom Screens - Sensitive Elements  (Read 933 times)

Offline daubor

  • More than Newbie
  • *
  • Posts: 14
    • View Profile
Custom Screens - Sensitive Elements
« on: May 25, 2011, 10:49:55 »
I would like to see more customization for custom screens!

Due to the fact, that i'm using Locus mainly in car and the autozoom is still not implemented  :roll: i need to zoom a lot.
My custom screen is showing all info i need, but for zooming i always need to go back to locus-homescreen..zoom zoom..and back again on my custom screen.

Is it possible to add tasks to the elements of custom screens?

For example:
<RotateView
      android:layout_width="80dip"
      android:layout_height="80dip"
      locus:task="wpt_next" <!-- when the element is touched/clicked, the next waypoint is selected -->
      locus:action="{guide_wpt_angle}"
      locus:rotateImage="@drawable/marker" />

<TextView
      android:layout_width="30dip"
      android:layout_height="match_parent"
      android:drawableLeft="@drawable/zoom_out"
      android:padding="2dip"
      locus:task="zoom_out"/>  <!-- when the element is touched/clicked, map is zoomed out -->[/color]

There are a lot of actions which could be triggered:
- start/pause/stop recording
- zooming
- switching customscreens (to switch to a predefined custom screen: locus:task="cs_chg_MaleSmurf")
- guide-controls
- gps on/off
- and so on...

I think this would improve the feature a lot!

regards
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10254
  • Thanked: 90 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Custom Screens - Sensitive Elements
« Reply #1 on: May 25, 2011, 10:57:49 »
Hi,
  I know, autozoom is still missing :) ... "Rolling eyes" looks nice ... I'll focus on it soon, promise :)

about custom screens. Yes, this will be implemented in very similar way you talk. I'm still tuning some text and variables things. This is next step (second) - to allow some calling of some functions included in Locus. Third final step is planned to add support for some simple scripting language. Be patient, I'm working on it ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline daubor

  • More than Newbie
  • *
  • Posts: 14
    • View Profile
Re: Custom Screens - Sensitive Elements
« Reply #2 on: May 25, 2011, 13:36:44 »
Hey that's great!
Third step sounds very good.  ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »