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>
반응형
'ide > androidstudio' 카테고리의 다른 글
네트워크 상태로 자동 실행 (0) | 2017.01.20 |
---|---|
Android Swipe (0) | 2017.01.19 |
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 |