목록안드로이드 (401)
설.현.아빠
끙...너무 어려운....Gesture를 모르니 이해를 몬하겠네.. // Sliding.java package lee.android.Sliding; import android.app.Activity; import android.os.Bundle; public class Sliding extends Activity { private MenuSlideView mSlideView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mSlideView = (MenuSlideView)findViewById(R.id.menu_slide); ..
http://blogs.sonyericsson.com/developerworld/category/tutorials/zoom/
http://blog.naver.com/lowmans/100115258620
http://tigerwoods.tistory.com/23
http://blog.naver.com/s4time/116285110
(1) http://www.androidside.com/B46/2226 ImageView iv = new ImageView(this); Bitmap orgImage = BitmapFactory.decodeResource(getResources(), R.drawable.news); Bitmap resize = Bitmap.createScaledBitmap(orgImage, 200, 400, true); iv.setImageBitmap(resize); [출처] 안드로이드사이드 - http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=2226 ImageView iv = new ImageView(this); BitmapFactory.Options bo = n..
Gallery 기능과 비슷하지만 음악 앨범의 커버를 소개할때 유용할 꺼 같다. /* * Copyright (C) 2010 Neil Davies * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under th..
res/anim/push_left_out.xml파일을 통해 애니메이션이 화면에서 어떻게 사라지는지 지정해 준다. res/anim/push_left_in.xml 파일을 통해 애니메이션이 화면에 어떻게 나타나는지 지정해준다. // viewFlipperAcitivity.java package lee.android.TabDemo; import android.app.Activity; import android.os.Bundle; import android.view.ViewGroup; import android.view.animation.AnimationUtils; import android.widget.Button; import android.widget.ViewFlipper; public class viewFl..