Skip to content

Commit

Permalink
Merge pull request #48 from Team-Ampersand/feature/47_modify_badminto…
Browse files Browse the repository at this point in the history
…n_court_component

🔀 :: (#47) modify badminton court component
  • Loading branch information
Hyeonseo4799 authored Aug 22, 2023
2 parents 8554bda + 7ba904d commit e53915f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ fun GYMIBadmintonCourt(

Image(
modifier = modifier.clickable {
isClicked = !isClicked
onClick()
},
isClicked = !isClicked
onClick()
},
painter = painterResource(id = R.drawable.ic_badminton_court),
contentDescription = "badminton_court",
contentScale = ContentScale.FillBounds,
Expand Down
96 changes: 13 additions & 83 deletions GYMI-components/src/main/res/drawable/ic_badminton_court.xml
Original file line number Diff line number Diff line change
@@ -1,114 +1,44 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:width="257dp"
android:height="143dp"
android:viewportWidth="257"
android:viewportHeight="143"
tools:ignore="VectorRaster">
android:width="352dp"
android:height="101dp"
android:viewportWidth="352"
android:viewportHeight="101">
<path
android:pathData="M1.01,0H255.99V140.74H1.01V0Z"
android:fillColor="#F2F2F4"/>
<group>
<clip-path
android:pathData="M1.01,0H255.99V140.74H1.01V0Z"/>
<path
android:pathData="M1.01,0V-2H0.01V0H1.01ZM255.99,0H256.99V-2H255.99V0ZM1.01,2H255.99V-2H1.01V2ZM254.99,0V140.74H256.99V0H254.99ZM2.01,140.74V0H0.01V140.74H2.01Z"
android:fillColor="#000000"/>
</group>
<path
android:pathData="M0,140.74h257v2.05h-257z"
android:fillColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M101.68,0.5H157.34V141.26H101.68V0.5Z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M0.5,0.5h17.21v140.76h-17.21z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M239.29,0.5H256.5V141.26H239.29V0.5Z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M129,0L129,140.74"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M156.83,70.38L257,70.38"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M1.01,9.77L257,9.77"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M1.01,133.04L257,133.04"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:pathData="M1.01,0H255.99V140.74H1.01V0Z"
android:fillColor="#FDFDFD"/>
<group>
<clip-path
android:pathData="M1.01,0H255.99V140.74H1.01V0Z"/>
<path
android:pathData="M1.01,0V-2H0.01V0H1.01ZM255.99,0H256.99V-2H255.99V0ZM1.01,2H255.99V-2H1.01V2ZM254.99,0V140.74H256.99V0H254.99ZM2.01,140.74V0H0.01V140.74H2.01Z"
android:fillColor="#000000"/>
</group>
<path
android:pathData="M0,140.74h257v2.05h-257z"
android:fillColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M101.68,0.5H157.34V141.26H101.68V0.5Z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M0.5,0.5h17.21v140.76h-17.21z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
android:pathData="M0,0h352v100h-352z"
android:fillColor="#ffffff"/>
<path
android:strokeWidth="1"
android:pathData="M239.29,0.5H256.5V141.26H239.29V0.5Z"
android:pathData="M215.5,99.5H136.5V0.5H215.5V99.5Z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M129,0L129,140.74"
android:pathData="M24.5,99.5H0.5V0.5H24.5V99.5Z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M156.83,70.38L257,70.38"
android:pathData="M351.5,99.5H327.5V0.5H351.5V99.5Z"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M1.01,9.77L257,9.77"
android:pathData="M352,18.5L2,18.5"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M1.01,133.04L257,133.04"
android:pathData="M176,100V-0"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M2.02,70.38L102.19,70.38"
android:pathData="M327,100.5L216,100.5"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:strokeWidth="1"
android:pathData="M2.02,70.38L102.19,70.38"
android:pathData="M136,100.5L25,100.5"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
</vector>

0 comments on commit e53915f

Please sign in to comment.