Skip to content

Commit

Permalink
[UI/#53] shape 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kkk5474096 committed Jul 19, 2023
1 parent 828bb6d commit 0a75098
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
8 changes: 8 additions & 0 deletions app/src/main/res/drawable/shape_purple_gradient_8dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#D96AFF"
android:centerColor="#683CFF"
android:endColor="#7C57FF" />
<corners android:radius="8dp" />
</shape>
2 changes: 0 additions & 2 deletions app/src/main/res/drawable/shape_rounded_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
<solid android:color="@color/grayscales_900"/>
<corners android:topLeftRadius="10dp"
android:topRightRadius="10dp"/>


</shape>
20 changes: 20 additions & 0 deletions app/src/main/res/drawable/vector_fill_gray700.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="8dp"
android:height="8dp"
android:viewportWidth="8"
android:viewportHeight="8">

<group>

<clip-path
android:pathData="M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z"
/>

<path
android:pathData="M0 0V8H8V0"
android:fillColor="@color/grayscales_700"
/>
</group>
</vector>
20 changes: 20 additions & 0 deletions app/src/main/res/drawable/vector_fill_white.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="8dp"
android:height="8dp"
android:viewportWidth="8"
android:viewportHeight="8">

<group>

<clip-path
android:pathData="M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z"
/>

<path
android:pathData="M0 0V8H8V0"
android:fillColor="@color/white"
/>
</group>
</vector>

0 comments on commit 0a75098

Please sign in to comment.