일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 안드로이드 개발
- Eclipse
- c
- linux
- ActiveX
- 자바
- java
- mime
- kotlin
- Android 4.1
- KTS
- gradle
- ActiveMovieControl
- 안철수
- 하버드
- git
- 보안
- 개발
- 악성코드
- 리눅스
- 노개북
- Android
- 안드로이드
- C++
- OOM
- 구글
- 코틀린
- 탐지기법
- build.gradle
Archives
- Today
- Total
꿈소년의 개발 이야기
[View] public class View's Tag 본문
반응형
Tags
Unlike IDs, tags are not used to identify views. Tags are essentially an extra piece of information that can be associated with a view. They are most often used as a convenience to store data related to views in the views themselves rather than by putting them in a separate structure.
android:tag
Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().
String VIEW_LOG_TAG
The logging tag used by this class with android.util.Log.
final View findViewWithTag(Object tag)
Look for a child view with the given tag.
Object getTag(int key)
Returns the tag associated with this view and the specified key.
Object getTag()
Returns this view's tag.
void setTag(int key, Object tag)
Sets a tag associated with this view and a key.
void setTag(Object tag)
Sets the tag associated with this view.
Unlike IDs, tags are not used to identify views. Tags are essentially an extra piece of information that can be associated with a view. They are most often used as a convenience to store data related to views in the views themselves rather than by putting them in a separate structure.
android:tag
Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().
String VIEW_LOG_TAG
The logging tag used by this class with android.util.Log.
final View findViewWithTag(Object tag)
Look for a child view with the given tag.
Object getTag(int key)
Returns the tag associated with this view and the specified key.
Object getTag()
Returns this view's tag.
void setTag(int key, Object tag)
Sets a tag associated with this view and a key.
void setTag(Object tag)
Sets the tag associated with this view.
'Android Development' 카테고리의 다른 글
[Notification Bar] Notification Bar 에 이벤트 추가 (0) | 2011.07.09 |
---|---|
Android Market 과 app 간의 하드웨어 권한 설정. (0) | 2011.07.09 |
[Android] Handler Thread looper (0) | 2011.03.08 |
[Android] Android 3.0 honeycomb preview (0) | 2011.02.21 |
[Android 3.0] Android 3.0 honeycomb 안드로이드 3.0 (0) | 2011.01.06 |