Files
comaps/android/app/src/main/res/values/arrays.xml
Séverin Lemaignan 6d0111b434 [android] add support for schuko/type-E charge sockets
The commit is slightly more complicated that expected because:

- it adds supports for both schuko and type-E, using the same icon (but
  maintaining the underlying type annotated in OSM)

- it adds logic to *not* display the power of schuko socket as 'unknown'
  when not provided in OSM, as it is 'implicit' (3.7kW in most
  countries)

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-11-26 19:31:18 +01:00

55 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="route_stop_icons">
<item>@drawable/route_point_01</item>
<item>@drawable/route_point_02</item>
<item>@drawable/route_point_03</item>
<item>@drawable/route_point_04</item>
<item>@drawable/route_point_05</item>
<item>@drawable/route_point_06</item>
<item>@drawable/route_point_07</item>
<item>@drawable/route_point_08</item>
<item>@drawable/route_point_09</item>
<item>@drawable/route_point_10</item>
<item>@drawable/route_point_11</item>
<item>@drawable/route_point_12</item>
<item>@drawable/route_point_13</item>
<item>@drawable/route_point_14</item>
<item>@drawable/route_point_15</item>
<item>@drawable/route_point_16</item>
<item>@drawable/route_point_17</item>
<item>@drawable/route_point_18</item>
<item>@drawable/route_point_19</item>
<item>@drawable/route_point_20</item>
</integer-array>
<string-array name="charge_socket_types">
<item>type2_combo</item>
<item>nacs</item>
<item>chademo</item>
<item>type1</item>
<item>type2_cable</item>
<item>type2</item>
<item>schuko</item>
<item>unknown</item>
</string-array>
<string-array name="charge_sockets_common_powers">
<item>22</item>
<item>43</item>
<item>50</item>
<item>100</item>
<item>150</item>
<item>200</item>
<item>350</item>
</string-array>
<string-array name="charge_sockets_common_counts">
<item>1</item>
<item>2</item>
<item>4</item>
<item>8</item>
<item>10</item>
</string-array>
</resources>