«   2018/09   »
            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            
Archives
Today
288
Total
1,153,509
안정적인 DNS서비스 DNSEver
관리 메뉴

Blue Breeze

Android Drawable Shape Syntax 본문

Editor IDE/AndroidStudio

Android Drawable Shape Syntax

푸른바람 C/H 2017.01.18 08:30

Shape Syntax

<?xml version="1.0" encoding="utf-8"?>
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape=["rectangle" | "oval" | "line" | "ring"] >
    <corners
        android:radius="integer"
        android:topLeftRadius="integer"
        android:topRightRadius="integer"
        android:bottomLeftRadius="integer"
        android:bottomRightRadius="integer" />
    <gradient
        android:angle="integer"
        android:centerX="float"
        android:centerY="float"
        android:centerColor="integer"
        android:endColor="color"
        android:gradientRadius="integer"
        android:startColor="color"
        android:type=["linear" | "radial" | "sweep"]
        android:useLevel=["true" | "false"] />
    <padding
        android:left="integer"
        android:top="integer"
        android:right="integer"
        android:bottom="integer" />
    <size
        android:width="integer"
        android:height="integer" />
    <solid
        android:color="color" />
    <stroke
        android:width="integer"
        android:color="color"
        android:dashWidth="integer"
        android:dashGap="integer" />
</shape>

'Editor IDE > AndroidStudio' 카테고리의 다른 글

네트워크 상태로 자동 실행  (0) 2017.01.20
Android Swipe  (0) 2017.01.19
Android Drawable Shape Syntax  (0) 2017.01.18
android SQLite DB 열기  (0) 2017.01.17
Circle TextView  (0) 2017.01.16
orma "transformClasses With New Class Shrinker For Debug"  (0) 2017.01.12
0 Comments
댓글쓰기 폼