mirror of
https://github.com/dyuri/garmin-repafield.git
synced 2025-12-16 11:14:16 +00:00
72 lines
4.8 KiB
XML
Executable File
72 lines
4.8 KiB
XML
Executable File
<layouts>
|
|
<!-- A generic, centered layout. -->
|
|
<layout id="MainLayout">
|
|
<drawable class="Background"/>
|
|
<drawable class="BgOverlay" id="BgOverlay">
|
|
<param name="x">158</param>
|
|
<param name="y">68</param>
|
|
<param name="h">290</param>
|
|
<param name="d">-32</param>
|
|
</drawable>
|
|
<drawable class="HeartRate" id="HeartRate">
|
|
<param name="y">70</param>
|
|
</drawable>
|
|
<!-- drawable class="Stamina" /-->
|
|
|
|
<!-- hr labels -->
|
|
<label id="hr" x="center" y="10" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_MEDIUM" />
|
|
<label id="ahr" x="25%" y="22" color="0x888888" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_TINY" />
|
|
<label id="mhr" x="75%" y="22" color="0x888888" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_TINY" />
|
|
|
|
<!-- time/timer -->
|
|
<label id="timerHM" x="132" y="308" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_RIGHT" font="Graphics.FONT_MEDIUM" />
|
|
<label id="timerS" x="134" y="328" color="0x888888" justification="Graphics.TEXT_JUSTIFY_LEFT" font="Graphics.FONT_XTINY" />
|
|
<label id="time" x="50%" y="85%" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_LARGE" />
|
|
|
|
<!-- distance/pace/avg pace -->
|
|
<label id="pace" x="90%" y="60" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_RIGHT" font="Graphics.FONT_NUMBER_MEDIUM"/>
|
|
<label id="iconPace" x="90%" y="112" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="@Fonts.repafield_icons" text="1" />
|
|
<label id="apace" x="90%" y="178" color="0x0088FF" justification="Graphics.TEXT_JUSTIFY_RIGHT" font="Graphics.FONT_LARGE"/>
|
|
<label id="iconAPace" x="90%" y="198" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="@Fonts.repafield_icons" text="2" />
|
|
<label id="distance" x="90%" y="224" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_RIGHT" font="Graphics.FONT_NUMBER_MEDIUM" />
|
|
<label id="distanceLabel" x="90%" y="256" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="Graphics.FONT_XTINY" text="km"/>
|
|
|
|
<!-- cadence -->
|
|
<label id="iconCadence" x="10" y="25%" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="@Fonts.repafield_icons" text="5" />
|
|
<label id="cadence" x="45" y="23%" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="Graphics.FONT_MEDIUM" />
|
|
|
|
<!-- elevation, egain -->
|
|
<label id="iconHills" x="7" y="35%" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="@Fonts.repafield_icons" text="0" />
|
|
<label id="elevation" x="45" y="33%" color="0x0088FF" justification="Graphics.TEXT_JUSTIFY_LEFT" font="Graphics.FONT_MEDIUM"/>
|
|
<label id="iconEGain" x="7" y="45%" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="@Fonts.repafield_icons" text="3" />
|
|
<label id="elevationGain" x="45" y="43%" color="0x0088FF" justification="Graphics.TEXT_JUSTIFY_LEFT" font="Graphics.FONT_MEDIUM"/>
|
|
<label id="iconELoss" x="7" y="55%" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_LEFT" font="@Fonts.repafield_icons" text="4" />
|
|
<label id="elevationLoss" x="45" y="53%" color="0x0088FF" justification="Graphics.TEXT_JUSTIFY_LEFT" font="Graphics.FONT_MEDIUM"/>
|
|
|
|
</layout>
|
|
|
|
<!-- Layouts used for the for the four quadrants. -->
|
|
<layout id="TopLayout">
|
|
<drawable class="Background" />
|
|
<drawable class="HeartRate" id="HeartRate">
|
|
<param name="y">64</param>
|
|
</drawable>
|
|
|
|
<!-- hr labels -->
|
|
<label id="hr" x="center" y="6" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_MEDIUM" />
|
|
<label id="ahr" x="32%" y="18" color="0x888888" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_TINY" />
|
|
<label id="mhr" x="68%" y="18" color="0x888888" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_TINY" />
|
|
</layout>
|
|
<layout id="BottomLayout">
|
|
<drawable class="Background" />
|
|
<drawable class="HeartRate" id="HeartRate">
|
|
<param name="y">64</param>
|
|
</drawable>
|
|
|
|
<!-- hr labels -->
|
|
<label id="hr" x="center" y="72" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_MEDIUM" />
|
|
<label id="ahr" x="32%" y="72" color="0x888888" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_TINY" />
|
|
<label id="mhr" x="68%" y="72" color="0x888888" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_TINY" />
|
|
</layout>
|
|
</layouts>
|