Skip to content

Commit d941a80

Browse files
committed
Add map_style.json and update strings.xml and EditableItemUiState
1 parent 00006f8 commit d941a80

File tree

5 files changed

+191
-0
lines changed

5 files changed

+191
-0
lines changed
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
[
2+
{
3+
"elementType": "geometry",
4+
"stylers": [
5+
{
6+
"color": "#242f3e"
7+
}
8+
]
9+
},
10+
{
11+
"elementType": "labels.text.fill",
12+
"stylers": [
13+
{
14+
"color": "#746855"
15+
}
16+
]
17+
},
18+
{
19+
"elementType": "labels.text.stroke",
20+
"stylers": [
21+
{
22+
"color": "#242f3e"
23+
}
24+
]
25+
},
26+
{
27+
"featureType": "administrative.locality",
28+
"elementType": "labels.text.fill",
29+
"stylers": [
30+
{
31+
"color": "#d59563"
32+
}
33+
]
34+
},
35+
{
36+
"featureType": "poi",
37+
"elementType": "labels.text.fill",
38+
"stylers": [
39+
{
40+
"color": "#d59563"
41+
}
42+
]
43+
},
44+
{
45+
"featureType": "poi.park",
46+
"elementType": "geometry",
47+
"stylers": [
48+
{
49+
"color": "#263c3f"
50+
}
51+
]
52+
},
53+
{
54+
"featureType": "poi.park",
55+
"elementType": "labels.text.fill",
56+
"stylers": [
57+
{
58+
"color": "#6b9a76"
59+
}
60+
]
61+
},
62+
{
63+
"featureType": "road",
64+
"elementType": "geometry",
65+
"stylers": [
66+
{
67+
"color": "#38414e"
68+
}
69+
]
70+
},
71+
{
72+
"featureType": "road",
73+
"elementType": "geometry.stroke",
74+
"stylers": [
75+
{
76+
"color": "#212a37"
77+
}
78+
]
79+
},
80+
{
81+
"featureType": "road",
82+
"elementType": "labels.text.fill",
83+
"stylers": [
84+
{
85+
"color": "#9ca5b3"
86+
}
87+
]
88+
},
89+
{
90+
"featureType": "road.highway",
91+
"elementType": "geometry",
92+
"stylers": [
93+
{
94+
"color": "#746855"
95+
}
96+
]
97+
},
98+
{
99+
"featureType": "road.highway",
100+
"elementType": "geometry.stroke",
101+
"stylers": [
102+
{
103+
"color": "#1f2835"
104+
}
105+
]
106+
},
107+
{
108+
"featureType": "road.highway",
109+
"elementType": "labels.text.fill",
110+
"stylers": [
111+
{
112+
"color": "#f3d19c"
113+
}
114+
]
115+
},
116+
{
117+
"featureType": "transit",
118+
"elementType": "geometry",
119+
"stylers": [
120+
{
121+
"color": "#2f3948"
122+
}
123+
]
124+
},
125+
{
126+
"featureType": "transit.station",
127+
"elementType": "labels.text.fill",
128+
"stylers": [
129+
{
130+
"color": "#d59563"
131+
}
132+
]
133+
},
134+
{
135+
"featureType": "water",
136+
"elementType": "geometry",
137+
"stylers": [
138+
{
139+
"color": "#17263c"
140+
}
141+
]
142+
},
143+
{
144+
"featureType": "water",
145+
"elementType": "labels.text.fill",
146+
"stylers": [
147+
{
148+
"color": "#515c6d"
149+
}
150+
]
151+
},
152+
{
153+
"featureType": "water",
154+
"elementType": "labels.text.stroke",
155+
"stylers": [
156+
{
157+
"color": "#17263c"
158+
}
159+
]
160+
}
161+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"v":"5.8.1","fr":24,"ip":29,"op":103,"w":167,"h":180,"nm":"planet","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Planet 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":29,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":34,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":89,"s":[100]},{"t":94,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[82.703,91,0],"ix":2,"l":2},"a":{"a":0,"k":[74.703,-153.431,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[37.2,0],[0,37.2],[-37.2,0],[0,-37.2]],"o":[[-37.2,0],[0,-37.2],[37.2,0],[0,37.2]],"v":[[74.703,-85.967],[7.239,-153.431],[74.703,-220.895],[142.167,-153.431]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0.8667,0.702,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4.611,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":29,"op":103,"st":-12,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Planet 2 Pattern Mask","parent":1,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[37.2,0],[0,37.2],[-37.2,0],[0,-37.2]],"o":[[-37.2,0],[0,-37.2],[37.2,0],[0,37.2]],"v":[[74.703,-85.967],[7.239,-153.431],[74.703,-220.895],[142.167,-153.431]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,1,0.8167,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":29,"op":103,"st":-12,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Planet 2 Pattern","parent":1,"tt":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":29,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":34,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":89,"s":[100]},{"t":94,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":29,"s":[26.386,-191.626,0],"to":[0,0,0],"ti":[0,0,0]},{"t":103,"s":[-166.614,-125.126,0]}],"ix":2,"l":2},"a":{"a":0,"k":[26.386,-191.626,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.734,-1.277],[0,0],[0.914,-0.315],[0,0],[0,-1.707],[0,0],[-0.2,-0.484],[0,0],[-1.62,0],[0,0],[-0.72,0.602],[0,0],[-1.056,-0.093],[0,0],[-0.511,-1.498],[0,0],[-1.711,0],[0,0],[-0.719,1.219],[0,0],[0,0.715],[0,0],[0.3,0.573],[0,0],[1.488,0],[0,0],[0.75,-0.751],[0,0],[1.101,0.032],[0,0]],"o":[[0,0],[-0.482,0.838],[0,0],[-1.614,0.556],[0,0],[0,0.523],[0,0],[0.618,1.497],[0,0],[0.939,0],[0,0],[0.813,-0.68],[0,0],[1.576,0.139],[0,0],[0.553,1.619],[0,0],[1.415,0],[0,0],[0.363,-0.616],[0,0],[0,-0.647],[0,0],[-0.69,-1.318],[0,0],[-1.061,0],[0,0],[-0.779,0.779],[0,0],[-1.472,-0.043]],"v":[[297.776,-180.282],[294.096,-173.882],[291.932,-172.094],[283.795,-169.29],[281.099,-165.508],[281.099,-149.697],[281.401,-148.172],[283.576,-142.898],[287.274,-140.424],[290.444,-140.424],[293.011,-141.356],[301.059,-148.091],[303.978,-149.008],[308.217,-148.634],[311.65,-145.943],[313.377,-140.886],[317.162,-138.179],[326.984,-138.179],[330.428,-140.146],[337.692,-152.454],[338.247,-154.487],[338.247,-163.136],[337.79,-164.992],[326.4,-186.734],[322.857,-188.878],[316.974,-188.878],[314.144,-187.705],[309.742,-183.3],[306.797,-182.129],[301.359,-182.286]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.8667,0.702,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.564,1.493],[0,0],[-1.042,2.495],[0,0],[2.768,1.673],[0,0],[0.045,2.239],[0,0],[-2.075,1.186],[0,0],[0,2.343],[0,0],[3.327,0.345],[0,0],[1.011,-0.425],[0,0],[0.869,0],[0,0],[1.073,-0.715],[0,0],[1.144,-0.074],[0,0],[1.104,-1.035],[0,0],[-0.198,-2.019],[0,0],[-2.923,-0.477],[0,0],[-0.755,-2.326],[0,0],[0.873,-1.581],[0,0],[1.028,-0.594],[0,0],[1.47,1.978],[0,0],[0.989,0.522],[0,0],[2.078,-0.885],[0,0],[0,-3.007],[0,0],[0,0],[0,0],[-0.364,-1.457],[0,0],[-2.796,-2.473],[0,0],[0,0],[-1.104,5.448],[0,0],[-1.217,1.08],[0,0],[2.321,3.123],[0,0],[-0.928,0.355],[0,0],[-0.727,-0.384],[0,0],[-1.369,0.189],[0,0],[-0.927,2.037],[0,0],[-1.126,0.694],[-2.098,-1.998],[0,0],[-1.718,0.031],[0,0],[-1.199,1.223],[0,0],[-0.22,1.321],[0,0]],"o":[[0,0],[-1.956,-1.866],[0,0],[1.246,-2.984],[0,0],[-1.917,-1.158],[0,0],[-0.048,-2.389],[0,0],[2.034,-1.163],[0,0],[0,-3.345],[0,0],[-1.091,-0.113],[0,0],[-0.801,0.337],[0,0],[-1.289,0],[0,0],[-0.954,0.636],[0,0],[-1.51,0.097],[0,0],[-1.48,1.387],[0,0],[0.289,2.947],[0,0],[2.414,0.394],[0,0],[0.557,1.718],[0,0],[-0.574,1.039],[0,0],[-2.134,1.234],[0,0],[-0.667,-0.897],[0,0],[-1.997,-1.055],[0,0],[-2.767,1.178],[0,0],[0,0],[-0.008,1.382],[0,1.498],[0,0],[0.906,3.621],[0,0],[0,0],[4.397,3.402],[0,0],[0.323,-1.595],[0,0],[2.91,-2.582],[0,0],[-0.593,-0.797],[0,0],[0.768,-0.294],[0,0],[1.218,0.653],[0,0],[2.217,-0.307],[0,0],[0.548,-1.204],[2.646,-1.631],[0,0],[1.244,1.185],[0,0],[1.713,-0.031],[0,0],[0.937,-0.956],[0,0],[0.355,-2.133]],"v":[[288.793,-230.328],[282.816,-236.03],[281.298,-243.27],[283.675,-248.963],[281.028,-257.067],[273.895,-261.378],[270.745,-266.835],[270.729,-267.619],[274.018,-273.419],[287.013,-280.845],[290.303,-286.514],[290.303,-289.719],[284.447,-296.213],[274.461,-297.249],[271.257,-296.774],[259.48,-291.822],[256.949,-291.312],[243.729,-291.312],[240.107,-290.215],[232.309,-285.016],[229.107,-283.933],[192.235,-281.554],[188.191,-279.804],[160.871,-254.209],[158.837,-248.807],[159.684,-240.164],[165.132,-234.357],[186.629,-230.852],[191.789,-226.423],[192.658,-223.743],[192.164,-218.573],[186.978,-209.176],[184.53,-206.679],[180.722,-204.476],[174.398,-205.782],[174.398,-205.782],[171.883,-207.939],[148.717,-220.182],[142.275,-220.452],[129.398,-214.971],[124.836,-208.07],[124.836,-198.471],[124.844,-198.448],[124.836,-176.324],[125.387,-171.87],[126.735,-166.477],[132.391,-157.169],[142.005,-148.679],[155.751,-138.043],[167.691,-142.486],[172.52,-166.322],[174.892,-170.443],[185.279,-179.659],[186.32,-189.743],[184.712,-191.907],[185.379,-194.202],[186.893,-194.783],[189.246,-194.642],[202.246,-187.785],[206.227,-187.071],[212.596,-187.952],[217.644,-191.716],[221.314,-199.783],[223.837,-202.747],[231.824,-201.944],[247.593,-186.923],[252.216,-185.123],[267.979,-185.41],[272.523,-187.368],[285.56,-200.668],[287.338,-204.167],[290.726,-224.532]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.8667,0.702,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.457,1.644],[0,0],[-0.954,0.561],[0,0],[-1,-0.176],[0,0],[0.951,-2.505],[0,0],[2.261,1.819],[0,0]],"o":[[0,0],[0.297,-1.066],[0,0],[0.875,-0.514],[0,0],[2.639,0.464],[0,0],[-1.03,2.713],[0,0],[-1.329,-1.07]],"v":[[180.365,-144.434],[183.797,-156.77],[185.747,-159.306],[197.683,-166.324],[200.587,-166.849],[200.587,-166.849],[203.84,-161.128],[194.615,-136.83],[187.946,-135.018],[181.802,-139.963]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.8667,0.702,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.852,1.239],[0,0],[-0.205,2.462],[0,0],[1.303,1.385],[0,0],[1.56,-0.712],[0,0],[-0.445,-1.86],[0,0]],"o":[[0,0],[2.266,-0.984],[0,0],[0.158,-1.895],[0,0],[-1.175,-1.25],[0,0],[-1.74,0.794],[0,0],[0.723,3.025]],"v":[[135.71,-228.358],[141.107,-230.703],[145.12,-236.3],[145.612,-242.2],[143.813,-247.354],[134.71,-257.036],[130.135,-257.935],[126.338,-256.202],[124.109,-251.633],[128.855,-231.781]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.8667,0.702,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.917,1.12],[0,0],[0.069,0.024],[0,0],[0.961,0],[0,0],[1.426,-1.784],[0,0],[0,0],[-0.118,0.364],[0,0],[-0.315,0.105],[0,0],[-0.232,-0.469],[0,0],[-1.461,-0.636],[-1.737,0.874],[0.574,2.878],[0,0],[-0.25,0.25],[0,0],[-0.137,0.055],[0,0],[1.093,3.275],[0,0],[1.936,0.647],[0,0],[1.558,-0.783],[0,0],[0.319,0.209],[0,0],[0,0.21],[-0.41,0.273],[0,0],[0,2.182],[0,0],[-0.471,0.115],[-0.156,0.074],[0,0],[-0.015,-0.044],[0,0],[-1.202,-0.797],[0,0],[-1.938,0.59],[-0.676,2.019],[0,0],[0,0],[3.743,0.936],[0,0],[0.598,2.582],[0,0],[3.363,-0.101],[0,0],[1.234,-2.075],[0,0],[-0.333,-1.704],[0,0],[0.164,-0.25],[0,0],[-0.446,-1.781],[0,0],[-0.04,-0.138],[0,0],[-1.589,-0.756],[0,0],[0,0],[-1.002,-2.509],[0,0],[-1.271,-0.847],[0,0],[0.219,-0.843],[0,0],[-0.36,-1.266],[-2.145,0],[-3.316,0.505],[0,0],[-0.061,0.052],[0,0],[-0.424,0.569],[0,0],[-0.246,0.979],[0,0]],"o":[[0,0],[-0.069,-0.024],[0,0],[-0.893,-0.355],[0,0],[-2.284,0],[0,0],[0,0],[-0.26,-0.282],[0,0],[0.105,-0.315],[0,0],[0.496,-0.169],[0,0],[0.713,1.425],[1.808,0.788],[2.628,-1.312],[0,0],[-0.073,-0.351],[0,0],[0.105,-0.1],[0,0],[3.202,-1.284],[0,0],[-0.647,-1.936],[0,0],[-1.653,-0.551],[0,0],[-0.342,0.169],[0,0],[-0.41,-0.273],[0,-0.214],[0,0],[1.815,-1.21],[0,0],[0,-0.485],[0.168,-0.041],[0,0],[0.247,0.421],[0,0],[0.455,1.371],[0,0],[1.684,1.125],[2.05,-0.624],[0,0],[0,0],[0.88,-3.756],[0,0],[-2.571,-0.643],[0,0],[-0.76,-3.278],[0,0],[-2.413,0.073],[0,0],[-0.887,1.492],[0,0],[0.073,0.292],[0,0],[-1.02,1.526],[0,0],[0.04,0.138],[0,0],[0.56,1.671],[0,0],[0,0],[-1.69,2.109],[0,0],[0.565,1.416],[0,0],[0.724,0.487],[0,0],[-0.342,1.302],[2.095,0.2],[3.452,0],[0,0],[0.061,-0.052],[0,0],[0.574,-0.428],[0,0],[0.606,-0.802],[0,0],[0.988,-3.958]],"v":[[117.89,-139.398],[101.622,-144.048],[101.371,-144.134],[87.55,-149.668],[84.758,-150.205],[76.009,-150.205],[70.14,-147.383],[68.85,-145.769],[53.297,-162.638],[53.069,-163.69],[54.754,-168.746],[55.421,-169.413],[59.482,-170.768],[60.766,-170.235],[63.477,-164.816],[66.79,-161.548],[72.338,-161.686],[75.822,-168.8],[73.796,-178.929],[74.083,-179.89],[78.081,-183.889],[78.441,-184.121],[89.358,-188.488],[93.124,-196.613],[91.863,-200.398],[87.736,-204.524],[82.048,-206.419],[77.066,-206.063],[68.472,-201.769],[67.406,-201.832],[64.997,-203.44],[64.523,-204.324],[64.997,-205.207],[67.552,-206.911],[70.457,-212.34],[70.457,-213.383],[71.284,-214.367],[71.769,-214.544],[84.975,-220.676],[85.473,-219.804],[86.944,-215.395],[89.517,-212.03],[93.06,-209.663],[98.789,-208.705],[103.089,-212.886],[103.59,-214.393],[105.317,-221.763],[100.157,-230.222],[95.882,-231.291],[90.718,-236.547],[90.718,-236.547],[83.628,-242.009],[41.543,-240.74],[35.688,-237.292],[27.764,-223.966],[26.903,-219.003],[31.75,-196.313],[31.605,-195.466],[27.483,-189.281],[26.581,-184.08],[29.148,-173.814],[29.268,-173.4],[34.697,-157.114],[38.081,-153.288],[64.71,-140.591],[61.349,-136.392],[60.237,-128.905],[64.637,-117.911],[67.442,-114.449],[72.352,-111.179],[73.199,-108.957],[68.303,-90.193],[68.34,-86.267],[74.702,-85.967],[84.858,-86.732],[99.327,-100.413],[99.51,-100.567],[110.708,-108.966],[112.211,-110.469],[120.199,-121.121],[121.479,-123.808],[123.114,-130.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.8667,0.702,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false}],"ip":29,"op":103,"st":-12,"bm":0}],"markers":[]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

core/designsystem/src/main/res/values/strings.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
<string name="logout">Logout</string>
4949
<string name="map">Map</string>
5050
<string name="delete">Delete</string>
51+
<string name="rename">Rename</string>
52+
<string name="explore">Explore</string>
53+
<string name="saved">Saved</string>
54+
<string name="gallery">Gallery</string>
5155

5256

5357
<!-- Map -->
@@ -108,4 +112,5 @@
108112
<!-- Screenshot Gallery -->
109113
<string name="screenshot_gallery_edit_dialog_title">Rename Screenshot</string>
110114
<string name="screenshot_gallery_edit_dialog_text_field_placeholder">Enter new name</string>
115+
<string name="screenshot_gallery_delete_dialog_title">Delete Screenshot</string>
111116
</resources>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.espressodev.gptmap.core.model
2+
3+
data class EditableItemUiState<out T>(
4+
val selectedItem: T,
5+
val uiIsInEditMode: Boolean = false,
6+
val editDialogState: Boolean = false,
7+
val deleteDialogState: Boolean = false,
8+
)
9+
10+
sealed class EditableItemUiEvent {
11+
data class OnLongClickToItem<T>(val item: T) : EditableItemUiEvent()
12+
data object OnCancelClick : EditableItemUiEvent()
13+
data object OnDeleteClick : EditableItemUiEvent()
14+
data object OnEditClick : EditableItemUiEvent()
15+
data object Reset: EditableItemUiEvent()
16+
data object OnEditDialogDismiss : EditableItemUiEvent()
17+
data class OnEditDialogConfirm(val text: String) : EditableItemUiEvent()
18+
data object OnDeleteDialogConfirm : EditableItemUiEvent()
19+
data object OnDeleteDialogDismiss : EditableItemUiEvent()
20+
}
21+
22+
typealias ScreenshotGalleryUiState = EditableItemUiState<ImageSummary>
23+
typealias FavouriteUiState = EditableItemUiState<Favourite>

0 commit comments

Comments
 (0)