public Drawable getDrawable (int id, Resources.Theme theme)
Added in API level 21
Return a drawable object associated with a particular resource ID and styled for the specified theme. Various types of objects will be returned depending on the underlying resource -- for example, a solid color, PNG image, scalable image, etc.
Parameters
| id | The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier. |
|---|---|
| theme | The theme used to style the drawable attributes, may be null. |
Returns
- Drawable An object that can be used to draw this resource.
Throws
| Resources.NotFoundException | Throws NotFoundException if the given ID does not exist. |
|---|
may be null ㅇㅇ
그니까 기존 getDrawable(int Id); 생성자가 api21부터 사라지고
getDrawable(int Id, Theme theme); 생성자를 사용해야돼
테마테마에 null너면 똑같은듯 ^^
여기서 내가제일 똑똑해 ㅇㅇㅇㅇㅇㅇㅇㅇ 하하하
ㅋㅋ좆그튼게 그래도 팅기네 ㅋㅋㅋㅋㅋㅋㅋㅋㅋ아
아 된다된다 ㅋㅋㅋㅋ fhd사진을 ㅊㅕ올려서그런거네
이제 이 글을 본 사람들이 더 질문에 대답을 하지 않게 되는데... 아 저사람은 혼자서 공부할 수 있구만~ 하면서
ㄴ ㅈㄹ마셈 ㅎㅎ 사람은 아는척을 하고싶게돼있음ㅇ ㅇㅇ 이번건 진짜 몰라서 답안한거임 ㅇㅅㅇ ㅋ
질문은 최후의 수단으로 / 혹은 이미 하나의 답을 내 놓고 내 방법이 병신인가 아닌가 알아보려고 질문하기
특히 오개념 설파하면 득달같이 달려드는 분들 많아서 조흠
ㅂㅅ ㅋㅋ
아재...척추......서요?
ㅉ
레퍼런스를 라이브러리와 맞는걸 봐야지 엉뚱한것을 보니 그런거였네
나의여친 온몸승부 야외노출 훔쳐보기 소라앨범 실시간 간편 이!지#소%라^