목록2014/10 (6)
오늘도 공부
@android:anim/accelerate_decelerate_interpolator 애니메이션이 점점 빠르게 동작하다가 점점 천천히 동작합니다. @android:anim/accelerate_interpolator 애니메이션이 점점 빠르게 동작합니다. @android:anim/anticipate_interpolator 애니메이션이 시작할 때 반대 방향으로 동작을 한 후에 본래의 방향으로 동작합니다. @android:anim/anticipate_overshoot_interpolator 애니메이션이 시작할 때 반대 방향으로 동작을 한 후에 종료 지점을 지나갔다가 종료 지점으로 돌아옵니다. 예를 들어 왼쪽에서 오른쪽으로 이동하는 애니메이션이 있다면 시작할 때 뷰가 왼쪽으로 조금 움직인 후 오른쪽으로 이동하고..
출처 : http://www.vogella.com/tutorials/AndroidActionBar/article.html Using the action bar in Android applicationsThis tutorial describes how to use the action bar in your Android applications. It is based on Eclipse 4.3 (Kepler), Java 1.6 and Android 4.4.Table of Contents1. Introduction to the action bar1.1. What is the action bar?1.2. Example1.3. Action bar on devices before API 3.02. Using the ..
출처 : http://i5on9i.blogspot.kr/2013/02/loadermanager.html LoaderManager Sequence Diagram / LoaderManager flowchart / android 3.0 이후부터 LoaderManager 를 제공한다. comparability package 를 사용하면 1.6 에서부터 사용가능하다고 한다. Loaders 의 특징every Activities or Fragments : 모든 Activity 와 Fragment 에서 가능하다.(한 activity 또는 fragment 당 한개의 LoaderManager 를 갖는다. 한 개의 LoaderManager 는 여러개의 Loaders 를 가질 수 있다.)async data loading : ..
출처 : http://ismydream.tistory.com/136 안드로이드 Loader 활용하기 Loader- 안드로이드 3.0 에서 소개된 Loader 를 사용하면 액티비티와 프래그먼트에서의 비동기 데이터 로딩을 쉽게 처리할 수 있습니다. 특징- 모든 액티비티와 프래그먼트에서 사용할 수 있습니다.- 어플리케이션 UI를 Blocking 하지 않도록 비동기 데이터 로딩을 제공합니다.- 데이터를 모니터 하기 때문에 데이터가 변경되었을때 변경사항을 확인할 수 있습니다. APILoaderManager - LoaderManager는 액티비티, 프래그먼트 와 1:1 의 관계를 갖습니다. 액티비티 하나당 하나의 LoaderManger 가 존재하는 셈이죠그리고 하나의 LoaderManager 는 여러개의 Loade..
https://github.com/grantland/android-autofittextview
출처 : http://ankri.de/autoscale-textview/I was in need of a TextView that has a fixed with but dynamic content, so I needed the content to automatically scale.The AutoScaleTextView takes the android:textSize value and uses it as the preferred text size. You can also set the minimum text size. The default for the minimum text size is 10dp. TheAutoScaleTextView now tries to take the maximum value b..
