티스토리 뷰
1. Linear Gradient
2. Radial Gradient
3. Line
4. Oval
5. Ring & Sweep Gradient
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#FFFF00" android:endColor="#FFFFFF" android:angle="270"/>
<corners android:radius="0dp" />
</shape>
<gradient android:startColor="#FFFF00" android:endColor="#FFFFFF" android:angle="270"/>
<corners android:radius="0dp" />
</shape>
2. Radial Gradient
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient android:type="radial"
android:startColor="#ff0000"
android:endColor="#ffff00"
android:gradientRadius="300"
android:centerX="0.5"
android:centerY="0.7"/>
</shape>
<gradient android:type="radial"
android:startColor="#ff0000"
android:endColor="#ffff00"
android:gradientRadius="300"
android:centerX="0.5"
android:centerY="0.7"/>
</shape>
3. Line
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line">
<stroke android:width="1dp" android:color="#FF000000"
android:dashWidth="1dp" android:dashGap="2dp" />
<size android:height="5dp" />
</shape>
<stroke android:width="1dp" android:color="#FF000000"
android:dashWidth="1dp" android:dashGap="2dp" />
<size android:height="5dp" />
</shape>
4. Oval
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
<solid android:color="#00000000"/>
<stroke android:width="4dp" android:color="#990000FF"
android:dashWidth="4dp" android:dashGap="2dp" />
<padding android:left="7dp" android:top="7dp"
android:right="7dp" android:bottom="7dp" />
<corners android:radius="4dp" />
</shape>
<solid android:color="#00000000"/>
<stroke android:width="4dp" android:color="#990000FF"
android:dashWidth="4dp" android:dashGap="2dp" />
<padding android:left="7dp" android:top="7dp"
android:right="7dp" android:bottom="7dp" />
<corners android:radius="4dp" />
</shape>
5. Ring & Sweep Gradient
<shape android:shape="ring" xmlns:android="http://schemas.android.com/apk/res/android"
android:innerRadiusRatio="3"
android:thicknessRatio="8"
android:useLevel="false">
<size android:width="48dip"
android:height="48dip" />
<gradient android:type="sweep"
android:useLevel="false"
android:startColor="#4c737373"
android:centerColor="#4c737373"
android:centerY="0.50"
android:endColor="#ffffd300" />
</shape>
android:innerRadiusRatio="3"
android:thicknessRatio="8"
android:useLevel="false">
<size android:width="48dip"
android:height="48dip" />
<gradient android:type="sweep"
android:useLevel="false"
android:startColor="#4c737373"
android:centerColor="#4c737373"
android:centerY="0.50"
android:endColor="#ffffd300" />
</shape>
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 일어일기
- android
- 코이데 케이스케
- 락
- 안드로이드
- 신주쿠
- 야마다 타카유키
- 드라마
- 진해
- 도쿄
- 서울숲별밤축제
- Linux
- 일기
- 공연
- 일본
- epik high
- 노래
- 잡담
- 여행
- 포스트크로싱
- 에픽하이
- 책
- 인디
- Java
- 아사가야
- Mac
- 영화
- 사진
- postcrossing
- 음악
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
글 보관함