first version solarCast
BIN
app/src/main/res/drawable-hdpi/splash_icon.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
app/src/main/res/drawable-mdpi/splash_icon.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
app/src/main/res/drawable-nodpi/weather_widget5day_preview.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
app/src/main/res/drawable-nodpi/weather_widget_preview.png
Normal file
|
After Width: | Height: | Size: 231 KiB |
BIN
app/src/main/res/drawable-xhdpi/splash_icon.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/drawable-xxhdpi/splash_icon.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/splash_icon.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
10
app/src/main/res/drawable/baseline_star_rate_24.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M14.43,10l-2.43,-8l-2.43,8l-7.57,0l6.18,4.41l-2.35,7.59l6.17,-4.69l6.18,4.69l-2.35,-7.59l6.17,-4.41z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/button_disabled.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/middlegrey" />
|
||||
<corners android:radius="6dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
9
app/src/main/res/drawable/button_fullwidth.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/blue" />
|
||||
<corners android:radius="6dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
9
app/src/main/res/drawable/ic_add_location_alt_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M20,1v3h3v2h-3v3h-2L18,6h-3L15,4h3L18,1h2zM12,13c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM13,3.06v2.02A6.53,6.53 0,0 0,12 5c-3.35,0 -6,2.57 -6,6.2 0,2.34 1.95,5.44 6,9.14 4.05,-3.7 6,-6.79 6,-9.14L18,11h2v0.2c0,3.32 -2.67,7.25 -8,11.8 -5.33,-4.55 -8,-8.48 -8,-11.8C4,6.22 7.8,3 12,3c0.34,0 0.67,0.02 1,0.06z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_arrow_back_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/colorAccent"
|
||||
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_edit_location_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M12,2C8.14,2 5,5.14 5,9c0,5.25 7,13 7,13s7,-7.75 7,-13c0,-3.86 -3.14,-7 -7,-7zM10.44,12L9,12v-1.44l3.35,-3.34 1.43,1.43L10.44,12zM14.89,7.55l-0.7,0.7 -1.44,-1.44 0.7,-0.7c0.15,-0.15 0.39,-0.15 0.54,0l0.9,0.9c0.15,0.15 0.15,0.39 0,0.54z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_edit_location_alt_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M11,11h2.12l6.16,-6.16l-2.12,-2.12L11,8.88V11zM20.71,2L20,1.29c-0.39,-0.39 -1.02,-0.39 -1.41,0l-0.72,0.72l2.12,2.12l0.72,-0.72C21.1,3.02 21.1,2.39 20.71,2zM17.9,9.05C17.96,9.41 18,9.79 18,10.2c0,1.71 -1.08,4.64 -6,9.14c-4.92,-4.49 -6,-7.43 -6,-9.14C6,6.17 9.09,4 12,4c0.32,0 0.65,0.03 0.97,0.08l1.65,-1.65C13.78,2.16 12.9,2 12,2c-4.2,0 -8,3.22 -8,8.2c0,3.32 2.67,7.25 8,11.8c5.33,-4.55 8,-8.48 8,-11.8c0,-1.01 -0.16,-1.94 -0.45,-2.8L17.9,9.05z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_info_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-6h2v6zM13,9h-2L11,7h2v2z"/>
|
||||
</vector>
|
||||
121
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<group android:scaleX="0.0067495783"
|
||||
android:scaleY="0.0067495783">
|
||||
<path
|
||||
android:pathData="M8000,16000L0,16000 0,0 16000,0 16000,16000 8000,16000Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#ABA4A4"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M3409,9504L1600,6178 4257,5943 6067,9270 3409,9504Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#192072"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M6331,9246L4521,5920 7178,5686 8987,9012 6331,9246Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#192072"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M9254,8988L7445,5662 10101,5427 11911,8754 9254,8988Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#192072"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M5241,13000L3431,9674 6088,9439 7897,12766 5241,13000Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#192072"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M8270,12810L6460,9484 9117,9250 10926,12576 8270,12810Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#192072"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M11193,12552L9384,9226 12040,8991 13850,12318 11193,12552Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#192072"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M6295,6466L7622,6937 7622,5994 6295,6466Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M7251,8776L8523,8171 7856,7504 7251,8776Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M9562,9733L10033,8405 9090,8405 9562,9733Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M11872,8776L11267,7504 10600,8171 11872,8776Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M12829,6466L11501,5994 11501,6937 12829,6466Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M11872,4155L10600,4760 11267,5427 11872,4155Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M9562,3199L9090,4526 10033,4526 9562,3199Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M7251,4155L7856,5427 8523,4760 7251,4155Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M11196,6466C11196,6753 11120,7034 10977,7283 10833,7531 10627,7737 10379,7881 10130,8024 9849,8100 9562,8100 9275,8100 8994,8024 8745,7881 8497,7737 8291,7531 8147,7283 8004,7034 7929,6753 7929,6466 7929,6179 8004,5898 8147,5649 8291,5401 8497,5195 8745,5051 8994,4908 9275,4833 9562,4833 9849,4832 10130,4908 10379,5051 10627,5195 10833,5401 10977,5649 11120,5898 11196,6179 11196,6466L11196,6466Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#FFD550"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_location_on_white_24dp.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M12,2C8.13,2 5,5.13 5,9c0,5.25 7,13 7,13s7,-7.75 7,-13c0,-3.87 -3.13,-7 -7,-7zM12,11.5c-1.38,0 -2.5,-1.12 -2.5,-2.5s1.12,-2.5 2.5,-2.5 2.5,1.12 2.5,2.5 -1.12,2.5 -2.5,2.5z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_map_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M20.5,3l-0.16,0.03L15,5.1 9,3 3.36,4.9c-0.21,0.07 -0.36,0.25 -0.36,0.48V20.5c0,0.28 0.22,0.5 0.5,0.5l0.16,-0.03L9,18.9l6,2.1 5.64,-1.9c0.21,-0.07 0.36,-0.25 0.36,-0.48V3.5c0,-0.28 -0.22,-0.5 -0.5,-0.5zM15,19l-6,-2.11V5l6,2.11V19z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_playpause.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector android:height="24dp" android:viewportHeight="661"
|
||||
android:viewportWidth="1485" android:width="53.918304dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#000000" android:fillType="evenOdd"
|
||||
android:pathData="M996,515L1101,515 1101,145 996,145 996,515 996,515ZM1207,145L1207,515 1312,515 1312,145 1207,145 1207,145Z"
|
||||
android:strokeColor="#00000000" android:strokeLineJoin="round" android:strokeWidth="28.222"/>
|
||||
<path android:fillColor="#000000" android:fillType="evenOdd"
|
||||
android:pathData="M224,145L224,515 515,330 224,145Z"
|
||||
android:strokeColor="#00000000" android:strokeLineJoin="round" android:strokeWidth="28.222"/>
|
||||
</vector>
|
||||
30
app/src/main/res/drawable/ic_rainviewer.xml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<vector android:height="25dp" android:viewportHeight="315"
|
||||
android:viewportWidth="315" android:width="25dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M270,159C270,178 265,198 255,215 245,232 231,246 214,256 197,266 177,271 158,271 138,271 118,266 101,256 84,246 70,232 60,215 50,198 45,178 45,159 45,139 50,119 60,102 70,85 84,71 101,61 118,51 138,46 157,46 177,46 197,51 214,61 231,71 245,85 255,102 265,119 270,139 270,158L270,159Z"
|
||||
android:strokeColor="#FFFFFF" android:strokeLineJoin="round" android:strokeWidth="40"/>
|
||||
<path android:fillColor="#FFFFFF" android:fillType="evenOdd"
|
||||
android:pathData="M220,158C220,168 217,179 212,189 206,198 198,206 189,212 179,217 168,220 158,220 147,220 136,217 126,212 117,206 109,198 103,189 98,179 95,168 95,158 95,147 98,136 103,126 109,117 117,109 126,103 136,98 147,95 157,95 168,95 179,98 189,103 198,109 206,117 212,126 217,136 220,147 220,157L220,158Z"
|
||||
android:strokeColor="#00000000" android:strokeLineJoin="round" android:strokeWidth="28.222"/>
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M220,158C220,168 217,179 212,189 206,198 198,206 189,212 179,217 168,220 158,220 147,220 136,217 126,212 117,206 109,198 103,189 98,179 95,168 95,158 95,147 98,136 103,126 109,117 117,109 126,103 136,98 147,95 157,95 168,95 179,98 189,103 198,109 206,117 212,126 217,136 220,147 220,157L220,158Z"
|
||||
android:strokeColor="#FFFFFF" android:strokeLineJoin="round" android:strokeWidth="10"/>
|
||||
<path android:fillColor="#F6D126" android:fillType="evenOdd"
|
||||
android:pathData="M230,35L234,38 238,41 242,44 246,47 250,50 253,53 257,57 260,60 264,64 267,68 270,72 273,76 276,80 278,84 281,88 157,156 230,35Z"
|
||||
android:strokeColor="#00000000" android:strokeLineJoin="round" android:strokeWidth="28.222"/>
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M230,35L234,38 238,41 242,44 246,47 250,50 253,53 257,57 260,60 264,64 267,68 270,72 273,76 276,80 278,84 281,88 157,156 230,35Z"
|
||||
android:strokeColor="#F6D126" android:strokeLineJoin="round" android:strokeWidth="10"/>
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M83,156L15,156" android:strokeColor="#024265"
|
||||
android:strokeLineJoin="round" android:strokeWidth="30"/>
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M231,156L299,156"
|
||||
android:strokeColor="#024265" android:strokeLineJoin="round" android:strokeWidth="30"/>
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M157,84L157,15" android:strokeColor="#024265"
|
||||
android:strokeLineJoin="round" android:strokeWidth="30"/>
|
||||
<path android:fillColor="#00000000" android:fillType="evenOdd"
|
||||
android:pathData="M157,299L157,230"
|
||||
android:strokeColor="#024265" android:strokeLineJoin="round" android:strokeWidth="30"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_refresh_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M17.65,6.35C16.2,4.9 14.21,4 12,4c-4.42,0 -7.99,3.58 -7.99,8s3.57,8 7.99,8c3.73,0 6.84,-2.55 7.73,-6h-2.08c-0.82,2.33 -3.04,4 -5.65,4 -3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6c1.66,0 3.14,0.69 4.22,1.78L13,11h7V4l-2.35,2.35z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_settings_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_skip_next_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_skip_previous_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M6,6h2v12L6,18zM9.5,12l8.5,6L18,6z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_south_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/colorPrimaryDark"
|
||||
android:pathData="M19,15l-1.41,-1.41L13,18.17V2H11v16.17l-4.59,-4.59L5,15l7,7L19,15z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_wb_sunny_24px.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M6.76,4.84l-1.8,-1.79 -1.41,1.41 1.79,1.79 1.42,-1.41zM4,10.5L1,10.5v2h3v-2zM13,0.55h-2L11,3.5h2L13,0.55zM20.45,4.46l-1.41,-1.41 -1.79,1.79 1.41,1.41 1.79,-1.79zM17.24,18.16l1.79,1.8 1.41,-1.41 -1.8,-1.79 -1.4,1.4zM20,10.5v2h3v-2h-3zM12,5.5c-3.31,0 -6,2.69 -6,6s2.69,6 6,6 6,-2.69 6,-6 -2.69,-6 -6,-6zM11,22.45h2L13,19.5h-2v2.95zM3.55,18.54l1.41,1.41 1.79,-1.8 -1.41,-1.41 -1.79,1.8z"/>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_wind_empty.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12.01dp"
|
||||
android:height="17.51dp"
|
||||
android:viewportWidth="1201"
|
||||
android:viewportHeight="1751">
|
||||
<path
|
||||
android:pathData="M125,1750L0,1750 0,0 250,0 250,1750 125,1750Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M1200,575L249,1001 249,150 1200,575Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_wind_lightred.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12.01dp"
|
||||
android:height="17.51dp"
|
||||
android:viewportWidth="1201"
|
||||
android:viewportHeight="1751">
|
||||
<path
|
||||
android:pathData="M125,1750L0,1750 0,0 250,0 250,1750 125,1750Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/colorPrimaryDark"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M1200,575L249,1001 249,150 1200,575Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/lightred"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_wind_orange.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12.01dp"
|
||||
android:height="17.51dp"
|
||||
android:viewportWidth="1201"
|
||||
android:viewportHeight="1751">
|
||||
<path
|
||||
android:pathData="M125,1750L0,1750 0,0 250,0 250,1750 125,1750Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/colorPrimaryDark"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M1200,575L249,1001 249,150 1200,575Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/orange"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_wind_red.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12.01dp"
|
||||
android:height="17.51dp"
|
||||
android:viewportWidth="1201"
|
||||
android:viewportHeight="1751">
|
||||
<path
|
||||
android:pathData="M125,1750L0,1750 0,0 250,0 250,1750 125,1750Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/colorPrimaryDark"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M1200,575L249,1001 249,150 1200,575Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/red"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_wind_yellow.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12.01dp"
|
||||
android:height="17.51dp"
|
||||
android:viewportWidth="1201"
|
||||
android:viewportHeight="1751">
|
||||
<path
|
||||
android:pathData="M125,1750L0,1750 0,0 250,0 250,1750 125,1750Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/colorPrimaryDark"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M1200,575L249,1001 249,150 1200,575Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="28.222"
|
||||
android:fillColor="@color/yellow"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
BIN
app/src/main/res/drawable/map_back.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
10
app/src/main/res/drawable/recycle_view_line_divider.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<size
|
||||
android:width="1dp"
|
||||
android:height="1dp" />
|
||||
<solid android:color="#C0C0C0" />
|
||||
|
||||
</shape>
|
||||
11
app/src/main/res/drawable/rounded_corner.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#AAFFFFFF" />
|
||||
|
||||
<padding
|
||||
android:left="3dp"
|
||||
android:right="3dp"
|
||||
android:top="3dp" />
|
||||
|
||||
<corners android:radius="10dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_green.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/green" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/green"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_grey.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#AAFFFFFF" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="#AAFFFFFF"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_highlight.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/backgroundHighlight" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/backgroundHighlight"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_lightred.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/lightred" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/lightred"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_orange.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/orange" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/orange"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_red.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/red" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/red"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_transparent.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/backgroundBlue" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/backgroundBlue"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_violet.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/violet" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/violet"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/rounded_yellow.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/yellow" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/yellow"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
10
app/src/main/res/drawable/splash_screen.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/ic_launcher_background" />
|
||||
|
||||
<item>
|
||||
<bitmap
|
||||
android:src="@drawable/splash_icon"
|
||||
android:gravity="center" />
|
||||
</item>
|
||||
</layer-list>
|
||||
7
app/src/main/res/drawable/transparent_no_margin.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#00000000" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="#00000000"
|
||||
/>
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/widget_background.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/widgetBackground" />
|
||||
<stroke android:width="0dp"
|
||||
android:color="@color/widgetBackground"
|
||||
/>
|
||||
<padding
|
||||
android:bottom="-3dp"
|
||||
android:top="-3dp"
|
||||
android:left="5dp"
|
||||
android:right="5dp" />
|
||||
|
||||
<corners android:radius="7dp" />
|
||||
</shape>
|
||||
BIN
app/src/main/res/drawable/wmo_image_00d.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
app/src/main/res/drawable/wmo_image_00n.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/drawable/wmo_image_01d.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/res/drawable/wmo_image_01n.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable/wmo_image_02d.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/res/drawable/wmo_image_02n.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable/wmo_image_03d.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
app/src/main/res/drawable/wmo_image_03n.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
app/src/main/res/drawable/wmo_image_45d.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
app/src/main/res/drawable/wmo_image_45n.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
app/src/main/res/drawable/wmo_image_53d.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
app/src/main/res/drawable/wmo_image_53n.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
app/src/main/res/drawable/wmo_image_57d.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_57n.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_61d.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
app/src/main/res/drawable/wmo_image_61n.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
app/src/main/res/drawable/wmo_image_63d.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
app/src/main/res/drawable/wmo_image_63n.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/drawable/wmo_image_65d.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/drawable/wmo_image_65n.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable/wmo_image_66d.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/res/drawable/wmo_image_66n.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_67d.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
app/src/main/res/drawable/wmo_image_67n.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
app/src/main/res/drawable/wmo_image_71d.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
app/src/main/res/drawable/wmo_image_71n.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
app/src/main/res/drawable/wmo_image_73d.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/drawable/wmo_image_73n.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable/wmo_image_75d.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/res/drawable/wmo_image_75n.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/drawable/wmo_image_80d.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/drawable/wmo_image_80n.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/drawable/wmo_image_81d.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/res/drawable/wmo_image_81n.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_84d.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_84n.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_85d.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/drawable/wmo_image_85n.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/drawable/wmo_image_86d.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
app/src/main/res/drawable/wmo_image_86n.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/res/drawable/wmo_image_95d.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/res/drawable/wmo_image_95n.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
app/src/main/res/drawable/wmo_image_96d.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
app/src/main/res/drawable/wmo_image_96n.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
app/src/main/res/drawable/wmo_image_error.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
157
app/src/main/res/layout/about.xml
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<ScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:layout_marginTop="53dp"
|
||||
android:weightSum="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/appName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="@string/app_name"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textFieldVersion"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="@string/version_number" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textFieldVersionName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_toEndOf="@+id/textFieldVersion" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textFieldSources"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="@string/about_where_from"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/about_where_from_answer" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/openmeteoURL"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="@string/about_openmeteo"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textFieldLicence"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/about_license"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/about_license_text" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textFieldPermissions"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/about_permissions"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/about_permission_internet_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textFieldPrivacy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/about_privacy_heading"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/about_privacy_answer" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="15dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/about_more_info" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/githubURL"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="@string/about_github"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<Space
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="100dp">
|
||||
</Space>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
33
app/src/main/res/layout/activity_about.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:openDrawer="start">
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context=".activities.AboutActivity">
|
||||
|
||||
<include layout="@layout/toolbar" />
|
||||
|
||||
<include layout="@layout/about" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
<com.google.android.material.navigation.NavigationView
|
||||
android:id="@+id/nav_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="true"
|
||||
app:headerLayout="@layout/nav_header_main"
|
||||
app:menu="@menu/activity_main_drawer" />
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
||||
59
app/src/main/res/layout/activity_forecast_city.xml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:openDrawer="start">
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context="org.woheller69.weather.activities.ForecastCityActivity">
|
||||
|
||||
<include layout="@layout/toolbar" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="?actionBarSize"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/noCitySelectedText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/error_no_city_selected"
|
||||
android:visibility="gone" />
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tab_layout"
|
||||
app:tabMode="scrollable"
|
||||
app:tabGravity="start"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/viewPager2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
<com.google.android.material.navigation.NavigationView
|
||||
android:id="@+id/nav_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="true"
|
||||
app:headerLayout="@layout/nav_header_main"
|
||||
app:menu="@menu/activity_main_drawer" />
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
25
app/src/main/res/layout/activity_manage_locations.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:openDrawer="start">
|
||||
|
||||
<include
|
||||
layout="@layout/app_bar_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<com.google.android.material.navigation.NavigationView
|
||||
android:id="@+id/nav_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="true"
|
||||
app:headerLayout="@layout/nav_header_main"
|
||||
app:menu="@menu/activity_main_drawer" />
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
40
app/src/main/res/layout/activity_rain_viewer.xml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".activities.RainViewerActivity"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/backgroundBlue"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/rainviewer_prev"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_skip_previous_24px"
|
||||
android:layout_height="wrap_content" />
|
||||
<ImageButton
|
||||
android:id="@+id/rainviewer_startstop"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="3"
|
||||
android:src="@drawable/ic_playpause"
|
||||
android:layout_height="wrap_content" />
|
||||
<ImageButton
|
||||
android:id="@+id/rainviewer_next"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_skip_next_24px"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
||||
47
app/src/main/res/layout/activity_settings.xml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:openDrawer="start">
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context="org.woheller69.weather.activities.SettingsActivity">
|
||||
|
||||
<include layout="@layout/toolbar" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:orientation="vertical"
|
||||
tools:context=".activities.SettingsActivity"
|
||||
android:layout_marginTop="?attr/actionBarSize"
|
||||
android:weightSum="1">
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:name="org.woheller69.weather.activities.SettingsActivity$GeneralPreferenceFragment"
|
||||
android:id="@+id/settings_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
<com.google.android.material.navigation.NavigationView
|
||||
android:id="@+id/nav_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="true"
|
||||
app:headerLayout="@layout/nav_header_main"
|
||||
app:menu="@menu/activity_main_drawer" />
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
39
app/src/main/res/layout/activity_tutorial.xml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/view_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutDots"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dots_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dots_margin_bottom"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:alpha=".5"
|
||||
android:layout_above="@id/layoutDots"
|
||||
android:background="@android:color/white" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_next"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@null"
|
||||
android:text="@string/next"
|
||||
android:textColor="@android:color/white" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
22
app/src/main/res/layout/app_bar_main.xml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context="org.woheller69.weather.activities.ManageLocationsActivity">
|
||||
|
||||
<include layout="@layout/toolbar" />
|
||||
|
||||
<include layout="@layout/content_manage_locations" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fabAddLocation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
android:src="@drawable/ic_add_location_alt_24px" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
61
app/src/main/res/layout/card_chart.xml
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:chart="http://schemas.android.com/tools"
|
||||
android:id="@+id/card_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/card_margin">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/backgroundBlue">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/chart"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/colorPrimaryDark"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/graph_precipitationunit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/rounded_corner"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/colorPrimaryDark"
|
||||
android:textStyle="bold" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<View
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/white" />
|
||||
|
||||
<com.db.chart.view.BarChartView
|
||||
android:id="@+id/graph_precipitation"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_below="@+id/spacer"
|
||||
chart:chart_axisBorderSpacing="8dp" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||