Dashboard

This commit is contained in:
moon 2026-05-07 22:02:58 +06:30
parent fb9870a0ef
commit 42f2abdaa4
7 changed files with 484 additions and 70 deletions

3
app/.gitignore vendored
View File

@ -1 +1,2 @@
/build /build
/.idea/*

View File

@ -18,7 +18,7 @@ import com.mob.ustmm.ui.theme.MOBPOSTheme
class MainActivity : ComponentActivity() { class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
// enableEdgeToEdge() enableEdgeToEdge()
setContent { setContent {
MOBPOSTheme { MOBPOSTheme {
val navController = rememberNavController() val navController = rememberNavController()

View File

@ -3,42 +3,29 @@ package com.mob.ustmm.ui.dashboard
import androidx.compose.foundation.Image import androidx.compose.foundation.Image
import androidx.compose.foundation.background import androidx.compose.foundation.background
import androidx.compose.foundation.clickable import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.layout.Column import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.DividerDefaults import androidx.compose.material3.*
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.ModalDrawerSheet
import androidx.compose.material3.ModalNavigationDrawer
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment import androidx.compose.ui.*
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp import androidx.compose.ui.unit.sp
import androidx.compose.material3.DrawerValue
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.rememberDrawerState
import com.mob.ustmm.R import com.mob.ustmm.R
import com.mob.ustmm.ui.theme.Colors import com.mob.ustmm.ui.theme.*
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
@OptIn(ExperimentalMaterial3Api::class)
@Composable @Composable
fun DashboardScreen( fun DashboardScreen(
settlementEnabled: Boolean, settlementEnabled: Boolean,
@ -51,13 +38,35 @@ fun DashboardScreen(
) { ) {
val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed) val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed)
val scope = rememberCoroutineScope() val scope = rememberCoroutineScope()
val images = listOf(
R.drawable.box_christmas_delivery_gift_package_present_svgrepo_com,
R.drawable.buy_ecommerce_finance_payment_pos_shop_svgrepo_com,
R.drawable.appointment_calendar_date_event_month_plan_svgrepo_com
)
val startPage = Int.MAX_VALUE / 2;
val pagerState = rememberPagerState(
initialPage = startPage,
pageCount = { Int.MAX_VALUE }
)
LaunchedEffect(Unit) {
while(true){
delay(3000)
pagerState.animateScrollToPage(
pagerState.currentPage + 1
)
}
}
ModalNavigationDrawer( ModalNavigationDrawer(
drawerState = drawerState, drawerState = drawerState,
drawerContent = { drawerContent = {
ModalDrawerSheet( ModalDrawerSheet(
modifier = Modifier.fillMaxWidth(0.8f), modifier = Modifier.fillMaxWidth(0.8f),
drawerContainerColor = Color.White, drawerContainerColor = White,
drawerShape = RoundedCornerShape(topEnd = 20.dp, bottomEnd = 20.dp) drawerShape = RoundedCornerShape(topEnd = 20.dp, bottomEnd = 20.dp)
) { ) {
Text( Text(
@ -108,7 +117,7 @@ fun DashboardScreen(
onSettlementClick() onSettlementClick()
} }
.padding(horizontal = 24.dp, vertical = 14.dp), .padding(horizontal = 24.dp, vertical = 14.dp),
color = if (settlementEnabled) Color.Black else Color.Gray, color = if (settlementEnabled) Black else White,
fontSize = 16.sp fontSize = 16.sp
) )
Text( Text(
@ -120,52 +129,47 @@ fun DashboardScreen(
onWavePayClick() onWavePayClick()
} }
.padding(horizontal = 24.dp, vertical = 14.dp), .padding(horizontal = 24.dp, vertical = 14.dp),
color = if (wavePayEnabled) Color.Black else Color.Gray, color = if (wavePayEnabled) Black else White,
fontSize = 16.sp fontSize = 16.sp
) )
} }
} }
) { ) {
Box( Scaffold(
modifier = Modifier topBar = {
.fillMaxSize() CenterAlignedTopAppBar(
.background(Color.White) title = {
) {
Column( Text(text = "Dashboard", color = White, fontWeight = FontWeight.SemiBold)
modifier = Modifier },
.fillMaxWidth() navigationIcon = {
) { IconButton(
Row( onClick = {
modifier = Modifier scope.launch {
.fillMaxWidth() drawerState.open()
.height(80.dp) }
.background(Colors.primary), }
verticalAlignment = Alignment.CenterVertically, ) {
horizontalArrangement = Arrangement.Center Icon(painter = painterResource(R.drawable.ic_menu), contentDescription = "Menu Icon", tint = White)
) { }
IconButton( },
onClick = {} colors = TopAppBarDefaults.topAppBarColors(
) { containerColor = Primary
Icon( )
painter = painterResource(R.drawable.ic_menu), )
contentDescription = "Menu Icon" }
) ) { paddingValues ->
} Column(
Spacer(modifier = Modifier.width(16.dp)) modifier = Modifier.fillMaxSize().padding(paddingValues).background(White)
Text( ) {
text = "Dashboard", HorizontalPager(state = pagerState) { page ->
style = MaterialTheme.typography.titleLarge, val index = page % images.size;
fontWeight = FontWeight.SemiBold Image(
painter = painterResource(images[index]),
contentDescription = "Banner images",
modifier = Modifier.fillMaxSize(),
contentScale = ContentScale.Crop
) )
}
Box(
modifier = Modifier
.fillMaxWidth()
.fillMaxHeight(0.58f)
) {
} }
} }
} }

View File

@ -11,6 +11,8 @@ val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71) val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF7D5260) val Pink40 = Color(0xFF7D5260)
val Colors = lightColorScheme( val Primary = Color(0xFFCA2027)
primary = Color(0xFFCA2027)
) val White = Color(0xFFFFFFFF)
val Black = Color(0xFF000000)

View File

@ -0,0 +1,141 @@
<!--
~ Copyright (C) 2026 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="800dp"
android:height="800dp"
android:viewportWidth="64"
android:viewportHeight="64">
<path
android:pathData="M50,22v28.2c0,1.7 -1.3,2.9 -2.9,2.9h2c1.7,0 2.9,-1.3 2.9,-2.9V22H50z"
android:strokeAlpha="0.5"
android:fillColor="#B2B1CF"
android:fillAlpha="0.5"/>
<path
android:strokeWidth="1"
android:pathData="M11.5,21.5V14c0,-2 1.5,-3.5 3.5,-3.5h34c2,0 3.5,1.5 3.5,3.5v7.5H11.5z"
android:fillColor="#EF1D1D"
android:strokeColor="#000000"/>
<path
android:pathData="M49,11h-2c1.7,0 3,1.3 3,3v7h2v-7C52,12.3 50.7,11 49,11z"
android:fillColor="#C60D09"/>
<path
android:pathData="M50,17c0,1.1 -0.9,2 -2,2"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M14,17.6V15c0,-1.1 0.9,-2 2,-2"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:strokeWidth="1"
android:pathData="M14.9,53.5c-1.9,0 -3.4,-1.5 -3.4,-3.4l0,-28.6h41l0,28.6c0,1.9 -1.5,3.4 -3.4,3.4H14.9L14.9,53.5z"
android:fillColor="#FFFFFF"
android:strokeColor="#000000"/>
<path
android:pathData="M14,40V26"
android:strokeAlpha="0.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#F79292"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M14,48L14,45"
android:strokeAlpha="0.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#F79292"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M50,49c0,1.1 -0.9,2 -2,2"
android:strokeAlpha="0.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#F79292"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:strokeWidth="1"
android:pathData="M37,33c-1.4,0 -2.5,1.1 -2.5,2.5v-5c0,-1.4 -1.1,-2.5 -2.5,-2.5c-1.4,0 -2.5,1.1 -2.5,2.5V33c0,-1.4 -1.1,-2.5 -2.5,-2.5s-2.5,1.1 -2.5,2.5v3.3V40l0,0l0,0l0,0c0,4.1 3.4,7.5 7.5,7.5s7.5,-3.3 7.5,-7.5l0,0l0,0l0,0v-1.7v-2.8C39.5,34.1 38.4,33 37,33z"
android:strokeLineJoin="round"
android:fillColor="#EDC620"
android:strokeColor="#000000"
android:strokeLineCap="round"/>
<path
android:strokeWidth="1"
android:pathData="M34,38.2L34,38.2c-0.6,0 -1,0.4 -1,1v-1.7c0,-0.6 -0.4,-1 -1,-1c-0.6,0 -1,0.4 -1,1v0.9c0,-0.6 -0.4,-1 -1,-1l0,0c-0.6,0 -1,0.4 -1,1v3.1l0,0c0,1.7 1.3,3 3,3s3,-1.3 3,-3l0,0v-2.3C35,38.6 34.6,38.2 34,38.2z"
android:strokeLineJoin="round"
android:fillColor="#EF1D1D"
android:strokeColor="#000000"
android:strokeLineCap="round"/>
<path
android:pathData="M31.5,32.5L31.5,30.5"
android:strokeAlpha="0.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M36.5,36.5L36.5,35.5"
android:strokeAlpha="0.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M26.5,39L26.5,33"
android:strokeAlpha="0.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M23.5,15.5c-1.1,0 -2,-0.9 -2,-2v-4c0,-1.1 0.9,-2 2,-2s2,0.9 2,2v4C25.5,14.6 24.6,15.5 23.5,15.5z"
android:fillColor="#B2B1CF"/>
<path
android:pathData="M23.5,8C24.3,8 25,8.7 25,9.5v4c0,0.8 -0.7,1.5 -1.5,1.5S22,14.4 22,13.5v-4C22,8.7 22.7,8 23.5,8M23.5,7C22.1,7 21,8.2 21,9.5v4c0,1.4 1.1,2.5 2.5,2.5s2.5,-1.1 2.5,-2.5v-4C26,8.2 24.9,7 23.5,7L23.5,7z"
android:fillColor="#000000"/>
<path
android:pathData="M23.5,8c-0.2,0 -0.3,0 -0.5,0.1c0.6,0.2 1,0.8 1,1.4v4c0,0.7 -0.4,1.2 -1,1.4c0.2,0.1 0.3,0.1 0.5,0.1c0.8,0 1.5,-0.7 1.5,-1.5v-4C25,8.7 24.3,8 23.5,8z"
android:fillColor="#8E8EB2"/>
<path
android:pathData="M40.5,15.5c-1.1,0 -2,-0.9 -2,-2v-4c0,-1.1 0.9,-2 2,-2s2,0.9 2,2v4C42.5,14.6 41.6,15.5 40.5,15.5z"
android:fillColor="#B2B1CF"/>
<path
android:pathData="M40.5,8C41.3,8 42,8.7 42,9.5v4c0,0.8 -0.7,1.5 -1.5,1.5S39,14.4 39,13.5v-4C39,8.7 39.7,8 40.5,8M40.5,7C39.1,7 38,8.2 38,9.5v4c0,1.4 1.1,2.5 2.5,2.5s2.5,-1.1 2.5,-2.5v-4C43,8.2 41.9,7 40.5,7L40.5,7z"
android:fillColor="#000000"/>
<path
android:pathData="M40.5,8c-0.2,0 -0.3,0 -0.5,0.1c0.6,0.2 1,0.8 1,1.4v4c0,0.7 -0.4,1.2 -1,1.4c0.2,0.1 0.3,0.1 0.5,0.1c0.8,0 1.5,-0.7 1.5,-1.5v-4C42,8.7 41.3,8 40.5,8z"
android:fillColor="#8E8EB2"/>
</vector>

View File

@ -0,0 +1,109 @@
<!--
~ Copyright (C) 2026 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="800dp"
android:height="800dp"
android:viewportWidth="64"
android:viewportHeight="64">
<path
android:pathData="M32,55"
android:fillColor="#009966"/>
<path
android:pathData="M28.1,19.5c-1.4,0 -2.6,-1.2 -2.6,-2.7c0,-3.6 2.8,-6.3 6.5,-6.3c1.9,0 3.6,0.7 4.8,2c1.1,1.2 1.7,2.7 1.6,4.3c0,1.5 -1.1,2.7 -2.6,2.7H28.1z"
android:fillColor="#B2B1CF"/>
<path
android:pathData="M32,11c1.8,0 3.4,0.7 4.5,1.8c1,1.1 1.5,2.5 1.5,3.9c0,1.2 -0.9,2.2 -2.1,2.2H28c-1,0.1 -2,-0.9 -2,-2.1C26,13.5 28.6,11 32,11M32,10c-4,0 -7,2.9 -7,6.8c0,1.7 1.4,3.2 3.1,3.2H36c1.7,0 3.1,-1.4 3.1,-3.2c0,-1.7 -0.6,-3.4 -1.8,-4.6C35.9,10.8 34.1,10 32,10L32,10z"
android:fillColor="#000000"/>
<path
android:pathData="M36.5,12.8C35.4,11.6 33.8,11 32,11c-0.2,0 -0.3,0 -0.5,0c1.6,0.1 3,0.7 4,1.8s1.5,2.5 1.5,3.9c0,1.2 -0.9,2.2 -2.1,2.2h1c1.2,0 2.1,-1 2.1,-2.2C38,15.3 37.5,13.9 36.5,12.8z"
android:fillColor="#8E8EB2"/>
<path
android:pathData="M28,16.8c0,-1.7 1.2,-3.1 3,-3.6"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M20,53.5c-2,0 -3.5,-1.6 -3.5,-3.5V25.6c0,-2 1.5,-3.5 3.5,-3.5h24c2,0 3.5,1.6 3.5,3.5V50c0,2 -1.5,3.5 -3.5,3.5H20z"
android:fillColor="#EF1D1D"/>
<path
android:pathData="M44,22.5c1.7,0 3,1.3 3,3v24.4c0,1.7 -1.3,3 -3,3H20c-1.7,0 -3,-1.3 -3,-3V25.6c0,-1.7 1.3,-3 3,-3h24M44,21.5H20c-2.2,0 -4,1.8 -4,4v24.4c0,2.3 1.8,4 4,4h24c2.2,0 4,-1.8 4,-4V25.6C48,23.3 46.2,21.5 44,21.5L44,21.5z"
android:fillColor="#000000"/>
<path
android:pathData="M44,22.5h-1c1.7,0 3,1.3 3,3v24.4c0,1.7 -1.3,3 -3,3h1c1.7,0 3,-1.3 3,-3V25.6C47,23.8 45.7,22.5 44,22.5z"
android:fillColor="#CC1717"/>
<path
android:pathData="M19.5,43L19.5,34"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M37,31h10v2h-10z"
android:fillColor="#CC1717"/>
<path
android:pathData="M17,31h10v2h-10z"
android:fillColor="#CC1717"/>
<path
android:pathData="M19.5,49L19.5,47"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M44.5,48c0,1.1 -0.9,2 -2,2"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M18,31.5c-2,0 -3.5,-1.5 -3.5,-3.5v-3c0,-2 1.5,-3.5 3.5,-3.5h28c2,0 3.5,1.5 3.5,3.5v3c0,2 -1.5,3.5 -3.5,3.5H18z"
android:fillColor="#EF1D1D"/>
<path
android:pathData="M46,22c1.7,0 3,1.3 3,3v3c0,1.7 -1.3,3 -3,3H18c-1.7,0 -3,-1.3 -3,-3v-3c0,-1.7 1.3,-3 3,-3H46M46,21H18c-2.2,0 -4,1.8 -4,4v3c0,2.2 1.8,4 4,4h28c2.2,0 4,-1.8 4,-4v-3C50,22.8 48.2,21 46,21L46,21z"
android:fillColor="#000000"/>
<path
android:pathData="M49,25c0,-1.7 -1.3,-3 -3,-3h-1c1.7,0 3,1.3 3,3v3c0,1.7 -1.3,3 -3,3h1c1.7,0 3,-1.3 3,-3V25z"
android:fillColor="#CC1717"/>
<path
android:pathData="M17.5,28v-1c0,-1.1 0.9,-2 2,-2"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M27.5,21.5h9v32h-9z"
android:fillColor="#B2B1CF"/>
<path
android:pathData="M36,22v30.9h-8V22.1V22H36M37,21h-1h-8h-1v1v0.1v30.8v1h1h8h1v-1V22V21L37,21z"
android:fillColor="#000000"/>
<path
android:pathData="M35,22.5h1v30h-1z"
android:fillColor="#009966"/>
<path
android:pathData="M35,22h1v31h-1z"
android:fillColor="#8E8EB2"/>
</vector>

View File

@ -0,0 +1,157 @@
<!--
~ Copyright (C) 2026 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="800dp"
android:height="800dp"
android:viewportWidth="64"
android:viewportHeight="64">
<path
android:pathData="M16.8,55.5c-3.5,0 -6.3,-2.9 -6.3,-6.4V14.9c0,-3.5 2.8,-6.4 6.3,-6.4h17.4c3.5,0 6.3,2.9 6.3,6.4v34.3c0,3.5 -2.8,6.4 -6.3,6.4L16.8,55.5L16.8,55.5z"
android:fillColor="#EF1D1D"/>
<path
android:pathData="M34.2,9c3.2,0 5.8,2.6 5.8,5.9v34.3c0,3.2 -2.6,5.9 -5.8,5.9H16.8c-3.2,0 -5.8,-2.6 -5.8,-5.9V14.9c0,-3.2 2.6,-5.9 5.8,-5.9H34.2M34.2,8H16.8c-3.7,0 -6.8,3.1 -6.8,6.9v34.3c0,3.8 3.1,6.9 6.8,6.9h17.4c3.7,0 6.8,-3.1 6.8,-6.9V14.9C41,11.1 37.9,8 34.2,8L34.2,8z"
android:fillColor="#000000"/>
<path
android:pathData="M34.2,9h-1c3.2,0 5.8,2.6 5.8,5.9v34.3c0,3.2 -2.6,5.9 -5.8,5.9h1c3.2,0 5.8,-2.6 5.8,-5.9V14.9C40,11.6 37.4,9 34.2,9z"
android:fillColor="#C43030"/>
<path
android:strokeWidth="1"
android:pathData="M34,32.5c1.4,0 2.5,-1.1 2.5,-2.5V15c0,-1.4 -1.1,-2.5 -2.5,-2.5H17c-1.4,0 -2.5,1.1 -2.5,2.5v15c0,1.4 1.1,2.5 2.5,2.5H34z"
android:fillColor="#B2B1CF"
android:strokeColor="#000000"/>
<path
android:pathData="M35,30V15c0,-1.1 -0.9,-2 -2,-2h1c1.1,0 2,0.9 2,2v15c0,1.1 -0.9,2 -2,2h-1C34.1,32 35,31.1 35,30z"
android:fillColor="#8E8EB2"/>
<path
android:pathData="M17,22v-5c0,-1.1 0.9,-2 2,-2"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M17,27L17,26"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M34,28c0,1.1 -0.9,2 -2,2"
android:strokeAlpha="0.5"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FFFFFF"
android:fillAlpha="0.5"
android:strokeLineCap="round"/>
<path
android:pathData="M53,24.5c0,-1.4 -1.1,-2.5 -2.5,-2.5H41v21h9.5c1.4,0 2.5,-1.1 2.5,-2.5V24.5z"
android:fillColor="#EDC620"/>
<path
android:pathData="M48,26m-2,0a2,2 0,1 1,4 0a2,2 0,1 1,-4 0"
android:strokeAlpha="0.5"
android:fillColor="#FFFFFF"
android:fillAlpha="0.5"/>
<path
android:pathData="M50.5,44H40V21h10.5c1.9,0 3.5,1.6 3.5,3.5v16C54,42.4 52.4,44 50.5,44zM41,43h9.5c1.4,0 2.5,-1.1 2.5,-2.5v-16c0,-1.4 -1.1,-2.5 -2.5,-2.5H41V43z"
android:fillColor="#000000"/>
<path
android:pathData="M50.5,22h-1c1.4,0 2.5,1.1 2.5,2.5v16c0,1.4 -1.1,2.5 -2.5,2.5h1c1.4,0 2.5,-1.1 2.5,-2.5v-16C53,23.1 51.9,22 50.5,22z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M49.5,41c-0.3,0 -0.5,-0.2 -0.5,-0.5v-10c0,-0.3 0.2,-0.5 0.5,-0.5s0.5,0.2 0.5,0.5v10C50,40.8 49.8,41 49.5,41z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M46.5,41c-0.3,0 -0.5,-0.2 -0.5,-0.5v-10c0,-0.3 0.2,-0.5 0.5,-0.5s0.5,0.2 0.5,0.5v10C47,40.8 46.8,41 46.5,41z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M43.5,41c-0.3,0 -0.5,-0.2 -0.5,-0.5v-16c0,-0.3 0.2,-0.5 0.5,-0.5s0.5,0.2 0.5,0.5v16C44,40.8 43.8,41 43.5,41z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M32,39.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H32z"
android:fillColor="#EDC620"/>
<path
android:pathData="M35,36c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H35M35,35h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C37,35.9 36.1,35 35,35L35,35z"
android:fillColor="#000000"/>
<path
android:pathData="M35,36h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C36,36.4 35.6,36 35,36z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M24,39.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H24z"
android:fillColor="#EDC620"/>
<path
android:pathData="M27,36c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H27M27,35h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C29,35.9 28.1,35 27,35L27,35z"
android:fillColor="#000000"/>
<path
android:pathData="M24,45.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H24z"
android:fillColor="#EDC620"/>
<path
android:pathData="M27,42c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H27M27,41h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C29,41.9 28.1,41 27,41L27,41z"
android:fillColor="#000000"/>
<path
android:pathData="M32,51.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-7c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v7c0,0.8 -0.7,1.5 -1.5,1.5H32z"
android:fillColor="#EDC620"/>
<path
android:pathData="M35,42c0.6,0 1,0.4 1,1v7c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-7c0,-0.6 0.4,-1 1,-1H35M35,41h-3c-1.1,0 -2,0.9 -2,2v7c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-7C37,41.9 36.1,41 35,41L35,41z"
android:fillColor="#000000"/>
<path
android:pathData="M35,42h-1c0.6,0 1,0.4 1,1v7c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-7C36,42.4 35.6,42 35,42z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M24,51.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H24z"
android:fillColor="#EDC620"/>
<path
android:pathData="M27,48c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H27M27,47h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C29,47.9 28.1,47 27,47L27,47z"
android:fillColor="#000000"/>
<path
android:pathData="M16,45.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H16z"
android:fillColor="#EDC620"/>
<path
android:pathData="M19,42c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H19M19,41h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C21,41.9 20.1,41 19,41L19,41z"
android:fillColor="#000000"/>
<path
android:pathData="M16,51.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H16z"
android:fillColor="#EDC620"/>
<path
android:pathData="M19,48c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H19M19,47h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C21,47.9 20.1,47 19,47L19,47z"
android:fillColor="#000000"/>
<path
android:pathData="M16,39.5c-0.8,0 -1.5,-0.7 -1.5,-1.5v-1c0,-0.8 0.7,-1.5 1.5,-1.5h3c0.8,0 1.5,0.7 1.5,1.5v1c0,0.8 -0.7,1.5 -1.5,1.5H16z"
android:fillColor="#EDC620"/>
<path
android:pathData="M19,36c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h-3c-0.6,0 -1,-0.4 -1,-1v-1c0,-0.6 0.4,-1 1,-1H19M19,35h-3c-1.1,0 -2,0.9 -2,2v1c0,1.1 0.9,2 2,2h3c1.1,0 2,-0.9 2,-2v-1C21,35.9 20.1,35 19,35L19,35z"
android:fillColor="#000000"/>
<path
android:pathData="M27,36h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C28,36.4 27.6,36 27,36z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M19,36h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C20,36.4 19.6,36 19,36z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M19,42h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C20,42.4 19.6,42 19,42z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M27,42h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C28,42.4 27.6,42 27,42z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M27,48h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C28,48.4 27.6,48 27,48z"
android:fillColor="#D3AF18"/>
<path
android:pathData="M19,48h-1c0.6,0 1,0.4 1,1v1c0,0.6 -0.4,1 -1,1h1c0.6,0 1,-0.4 1,-1v-1C20,48.4 19.6,48 19,48z"
android:fillColor="#D3AF18"/>
</vector>