Skip to content

Commit

Permalink
Merge pull request #1143 from android/unknown-icon
Browse files Browse the repository at this point in the history
Add default icon for unknown conditions
  • Loading branch information
garanj authored Jul 5, 2024
2 parents 4278832 + b99580a commit 7b060a4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions WatchFaceFormat/Weather/watchface/src/main/res/raw/watchface.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="47" width="47" x="0" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
</Group>
<Group height="47" name="CurrentTemp" width="137" x="273" y="0">
Expand Down Expand Up @@ -271,6 +276,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="60" width="60" x="0" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
<PartText height="20" width="60" x="0" y="60">
<Text>
Expand Down Expand Up @@ -404,6 +414,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="60" width="60" x="0" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
<PartText height="20" width="60" x="0" y="60">
<Text>
Expand Down Expand Up @@ -537,6 +552,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="60" width="60" x="0" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
<PartText height="20" width="60" x="0" y="60">
<Text>
Expand Down Expand Up @@ -670,6 +690,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="60" width="60" x="0" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
<PartText height="20" width="60" x="0" y="60">
<Text>
Expand Down Expand Up @@ -819,6 +844,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="30" width="30" x="25" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
<PartText height="30" width="70" x="60" y="0">
<Text>
Expand Down Expand Up @@ -916,6 +946,11 @@
<Image resource="ic_windy"/>
</PartImage>
</Compare>
<Default>
<PartImage height="30" width="30" x="135" y="0">
<Image resource="ic_unknown"/>
</PartImage>
</Default>
</Condition>
<PartText height="30" width="70" x="170" y="0">
<Text>
Expand Down

0 comments on commit 7b060a4

Please sign in to comment.