본문 바로가기
[ios tutorial] UIImage RenderingMode ( Template Image ) [ios tutorial] UIImage RenderingMode ( Template Image ) 출처 :https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/index.html#//apple_ref/doc/uid/TP40012857-UIView-SW7https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/#//apple_ref/c/tdef/UIImageRenderingMode -UIImageRenderingMode 는 3가지 형태가 있다. Automatic AlwaysOriginal Templ.. 2018. 1. 28.
[ios/tutorial] TabBar 기본 [ios/tutorial] TabBar 기본 Tab Bar https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Bars.html -Tab bar 는 tab bar controller 안에 포함되어 있으며, custom view 들에 대한 display 를 담당한다. -Tab bar 는... 투명하다. 항상 화면 최하단에 위치한다. 한번에 5개 이상 표시하지 않는다. (폰에서) 만약 5개 이상의 아이템이 있다면 4개가 표시되고, More tab 을 두어 나머지 리스트를 표시해야 한다. 모든 orientation 에 대해 같은 높이를 유지한다. badge 를 표시할 수 있다. ( badge 는 빨간 .. 2017. 12. 5.
[android] Tinting drawables [android] Tinting drawables http://andraskindler.com/blog/2015/tinting_drawables/ -Tinting drawable 은 현재의 theme 에 맞춘 drawable 을 만들 때 유용하게 사용할 수 있다.apk size 도 줄일 수 있는 장점이 있다. -v4 support library 에 DrawableCompat 이라는 class 가 있다.이 녀석은 원래 LOS 이상에서 가능한 tinting (색깔 입히기, 물들이기) 기능을 활용할 수 있게 한다. 그러나 이 녀석은 아직도 wrap() 라는 함수를 통해 wrap 해주어야 하는 단점이 있다.그래서 TintedBitmapDrawable 을 구현해서 사용하는 것이 추천된다. -TintedBitmap.. 2017. 9. 15.
반응형