android ADT - https://dl-ssl.google.com/android/eclipse/
[View Ӽ]
id
並 Ű ̸ Ѵ.
"@+id/name" · Ѵ.
layout_width, layout_height
̸ Ѵ.
Ӽ |
|
fill_parent |
θ ־ ũ⸦ ä |
wrap_content |
뿡 ° ä. |
ũ . |
ũ
Ӽ |
|
px |
ȼ |
in |
ġ |
mm |
и |
pt |
Ʈ |
dp(dip) |
ػ |
sp(sip) |
Ʈ ũ |
background
#AARRGGBB
AA :
RR :
GG :
BB : Ķ
padding
ʿ
-paddingLeft
-paddingTop
-paddingRight
-paddingBottom
Visibility
Ӽ |
|
visible |
̴ |
invisible |
Ⱥ ڸ (ΰ) |
gone |
Ⱥ̰ ڸ ġ () |
clickable, longClickable
콺Ŭ (True, False)
focusable
Ű Է ִ Ŀ
[TextView]
ؽƮ ϴ
text
Ӽ |
|
"ڿ" |
|
@[Ű:]type:name |
ҽ Ѵ. |
?[Ű:][type:]name |
Ӽ |
textColor
ڿ
textSize
ڿ ũ
typeFace
normal, sans, serif, monospace
singleLine
ٷθ
⺻ false̴.
ѱ ... ǥ÷ ǥѴ.
[ImageView]
src
̹ ġ
@drawable/ID(ҽ)
ܺ ̹
#RRGGBB(׳ )
maxHeight, maxWidth
̹ ִ ũ
adjustViewBounds
̹ Ⱦ ߱ ũ⸦
CropToPadding
鿡 ߾ ̹ ߶.
tint
#AARRGGBB
.
scaleType
̹ ũ ٸ ؼ ϴ ˰
(matrix, fitXY, center, centerCrop, centerInside)
[]
Ӽ |
|
center_horizontal |
߾ӿ ġ |
left |
̳ ʿ ġ(ũ ȭ ) |
right |
̳ ʿ ġ |
fill_horizontal |
ä. |
center_vertical |
߾ӿ ġ |
top |
̳ ܿ ġѴ.(ũ ȭ ) |
bottom |
̳ ϴܿ ġ |
fill_vertical |
ä. |
center |
γ ߾ӿ ġѴ. |
fill |
̳ʿ ä쵵 , ũ⸦ ȮѴ. |
[RelativeLayout]
Ӽ |
|
layout_above |
~ ġ |
layout_below |
~ Ʒ ġ |
layout_toLeftOf |
~ ʿ ġ |
layout_toRightOf |
~ ʿ ġ |
layout_alignLeft |
~ |
layout_alignTop |
~ |
layout_alignRight |
~ |
layout_alignBottom |
~ Ʒ |
layout_alignParentLeft |
true̸ θ ʺ |
layout_alignParentTop |
true̸ θ ʺ |
layout_alignParentRight |
true̸ θ ʺ |
layout_alignParentBottom |
true̸ θ Ʒ |
layout_alignBaseline |
~ ̽ |
layout_alignWithParentIfMissing |
layout_toLeftOf Ӽ Ŀ ߰ߵ θ Ŀ Ѵ. |
layout_centerHorizontal |
true̸ θ ߾ӿ ġѴ. |
layout_centerVertical |
true̸ θ ߾ӿ ġѴ. |
layout_centerInParent |
true̸ θ , ߾ӿ ġѴ. |
κ
Cap |
|
BUTT |
ǥ |
ROUND |
ձ ĵȴ. |
SQUARE |
簢 ̵ ǥ |
ä
Cap |
|
FILL |
ä⸸ ϸ ܰ ʴ´. |
FILL_AND_STROKE |
ä, ܰ . |
STROKE |
ܰ . |