<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<gradient
android:angle="90"
android:centerColor="@color/learning_graph_bar_gradient_center_bg"
android:endColor="@color/learning_graph_bar_gradient_end_bg"
android:startColor="@color/learning_graph_bar_gradient_start_bg" />
<corners android:radius="@dimen/study_box_radius" />
</shape>
</item>
<item
android:bottom="@dimen/study_box_border"
android:left="@dimen/study_box_border"
android:right="@dimen/study_box_border"
android:top="@dimen/study_box_border">
<shape android:shape="rectangle">
<solid android:color="@color/theme_color_palette_gray_10" />
<corners android:radius="@dimen/study_box_radius" />
</shape>
</item>
</layer-list>
'Android > 커스텀 뷰' 카테고리의 다른 글
디자인 시스템의 텍스트 크기 문제 해결 경험 (0) | 2024.03.23 |
---|---|
CustomBottomSheet (0) | 2023.10.14 |
하이라이트 튜토리얼 커스텀뷰를 만들어보자 (0) | 2023.05.20 |
커스텀 뷰에 Depth를 줄여보자 (0) | 2023.04.13 |
커스텀 뷰 만들어보자 (0) | 2022.12.30 |