Skip to content

Commit

Permalink
Fixes resource syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
garanj committed Sep 12, 2024
1 parent 3b35f10 commit 52446d5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@
<Scene backgroundColor="#ff000000">
<AnalogClock x="0" y="0" width="450" height="450">
<!-- Interactive-mode hands -->
<SecondHand resource="@drawable/second_hand" x="224" y="10" width="2" height="215" pivotX="0.5" pivotY="1">
<SecondHand resource="second_hand" x="224" y="10" width="2" height="215" pivotX="0.5" pivotY="1">
<Variant mode="AMBIENT" target="alpha" value="0"/>
<!-- Second hand can either be 'Sweep' or 'Tick' in behaviour -->
<Sweep frequency="15"/>
</SecondHand>
<MinuteHand resource="@drawable/minute_hand" x="220" y="75" width="10" height="150" pivotX="0.5" pivotY="1">
<MinuteHand resource="minute_hand" x="220" y="75" width="10" height="150" pivotX="0.5" pivotY="1">
<Variant mode="AMBIENT" target="alpha" value="0"/>
</MinuteHand>
<HourHand resource="@drawable/hour_hand" x="220" y="125" width="10" height="100" pivotX="0.5" pivotY="1">
<HourHand resource="hour_hand" x="220" y="125" width="10" height="100" pivotX="0.5" pivotY="1">
<Variant mode="AMBIENT" target="alpha" value="0"/>
</HourHand>
<!-- Ambient versions - no second hand in ambient mode -->
<MinuteHand resource="@drawable/minute_hand_ambient" x="222" y="75" width="6" height="150" pivotX="0.5" pivotY="1" alpha="0">
<MinuteHand resource="minute_hand_ambient" x="222" y="75" width="6" height="150" pivotX="0.5" pivotY="1" alpha="0">
<Variant mode="AMBIENT" target="alpha" value="255"/>
</MinuteHand>
<HourHand resource="@drawable/hour_hand_ambient" x="222" y="125" width="6" height="100" pivotX="0.5" pivotY="1" alpha="0">
<HourHand resource="hour_hand_ambient" x="222" y="125" width="6" height="100" pivotX="0.5" pivotY="1" alpha="0">
<Variant mode="AMBIENT" target="alpha" value="255"/>
</HourHand>
</AnalogClock>
Expand Down

0 comments on commit 52446d5

Please sign in to comment.