본문 바로가기
[android] Resource Merging 에 대한 이야기.. [android] Resource Merging 에 대한 이야기.. http://tools.android.com/tech-docs/new-build-system/resource-merging-Gradle build 에서는 resource merge 에 대해 새로운 규칙이 적용된다. 기존의 build system 에서는 resource folder list 를 aapt(Android Asset Packaging Tool) 에 전달하며,나중에 전달된 것이 overlay 로 작동한다. ( 옵션을 통해서 override 가 아닌 새로운 추가로 작동할 수도 있었다. )overlay 로 작동한다는 것은 새로운 resource 에 대해서 추가되는 방식이다. Gradle 에서는 aapt 에 전달하기 전에 single,.. 2018. 3. 6.
[android] Nice 한 UI 를 만드는 규칙~ [android] Nice 한 UI 를 만드는 규칙~ https://medium.com/@erikdkennedy/7-rules-for-creating-gorgeous-ui-part-1-559d4e805cda 1. Light comes from the sky2. Black and white first3. Double your whitespace4. Learn the methods of overlaying text on images5. Make text pop - and un-pop6. Only use good fonts7. Steal like an artiest Light Comes From the Sky -빛이 하늘로부터 온다면, Top 부분이 반짝인다.그리고 shadow 를 하단에 만든다.Top 부분은.. 2017. 8. 3.
[android] SlidingPaneLayout Tutorial Android, SlidingPanelLayout Tutorial NavigationDrawer( DrawerLayout ) 가 layout 위로 overlay 되서 등장하는 메뉴라면,SlidingPaneLayout 은 layout 을 밀면서 등장하는 메뉴라고 볼 수 있다. SlidingPaneLayout 은 left side ( 먼저 정의된 녀석 ) 이 sliding 으로 정의되고,right side 는 main content 로 정의된다. NavigationDrawer 와 마찬가지로 자동으로 edge touch 를 통한 sliding 이 지원된다. - 각 fragment 는 그냥 일반적인 fragment 를 다루듯이 사용하면 된다. private class PaneListener implements .. 2014. 3. 19.
[android] view 를 최적화시켜보자 ( Hierarchy Viwer & Pixel Perfect ) 안드로이드, View 를 최적화시켜보자 ( Hierarchy Viewer & Pixel Perfect ) 출처 : http://developer.android.com/tools/debugging/debugging-ui.html Optimizing Your UI ( UI 최적화하기 ) layout 때문에 앱이 느려질 수 있다.layout 에 관련된 debug 는 Hierarchy Viewer 와 lint tools 를 통해 할 수 있다. Hierarchy Viewer 는 layout 의 계층도를 보여주며, 각 node 가 얼마나 성능을 내는가를 볼 수 있다.그리고 Pixel Perfect window 를 통해 확대해 볼 수도 있다. lint 는 static code scanning tool 로 일반적으로 .. 2013. 9. 2.
[android] Navigation Drawer 이야기. 안드로이드, Navigation Drawer 이야기. 참조 : http://developer.android.com/design/patterns/navigation-drawer.html Navigation Drawer 의 특징 기존의 Sliding Menu 와 같으나, 다른 점은 ActionBar 는 그대로 있고,Contents 도 밀어내지 않는, Drawer 가 overlay 형태로 등장한다는 것. Navigation Drawer 는 3개 이상의 top-level views 가 있을 때 사용하는 것이 좋다.그렇지 않다면 Tab View 를 사용하는 것이 추천된다. Navigation Target 은 icon 과 counter, 그리고 title 도 가질 수 있다.또한 Collapse 도 지원한다. Act.. 2013. 8. 1.
[android] Google Map Android API V2 에 대하여.. Google Map Android API V2 참조 : https://docs.google.com/presentation/d/1IqHXiaLBSWiQb0Nc47YFk3_7NMfeaVfh4UiUIwVlzDQ/edit?pli=1 V2 의 특징 * MapFragment 지원* API Key 관리 용이해짐* 오버레이 클래스 생성하지 않고 마커 추가 가능, 마커 커스터마이징 및 말풍선(infowindow) 기능 지원. V2 사용하기 1. Google Play Services SDK rev3 이상 필요. ( SDK Manager 를 통해 설치 가능 ). /extras/google_play_services/libproject/google-play-services_lib 의 내용을 import 시킴 2. Applica.. 2013. 7. 13.
반응형