목록전체 글 (1480)
오늘도 공부
[펌] Custom Android Button Style and Theme 안드로이드 / Programing... 2011/04/26 14:11 http://blog.naver.com/khch2489/30107398483 In this tutorial, we’ll see how it’s possible to create a custom button style for an Android application by using the Android styling API. First of all we need to define the new look for our custom button style. We would use three different NinePatch drawables. A custom bla..
setContentView앞에서 적용해야하는 것!! View titleView = getWindow().findViewById(android.R.id.title); if (titleView != null) { ViewParent parent = titleView.getParent(); if (parent != null && (parent instanceof View)) { View parentView = (View)parent; parentView.setBackgroundColor(Color.rgb(0x88, 0x33, 0x33)); } }
출처 : http://catnest.tistory.com/54 http://mudchobo.tistory.com/479 - HttpClient() 를 이용해서 tworld 로그인하기 http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ - How-to: Android as a RESTful Client http://www.wiseant.net/95 - org.apache.http.client.ClientProtocolException on Android http://www.mail-archive.com/android-beginners@googlegroups.com/msg12690.html - [an..
출처 : http://blog.naver.com/leespop/140121910438 editText01 = (EditText) findViewById(R.id.EditText01); editText01.setOnEditorActionListener(new OnEditorActionListener() { @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if(actionId == EditorInfo.IME_ACTION_DONE){ // IME_ACTION_SEARCH , IME_ACTION_GO // Toast.makeText(MainActivity.this, "123", Toast.LENGTH_SHORT..
리소스에서 bitmap을 읽어오고 화면에 출력한 후 touch를 이용해서 drag하는 예제 추천 참고예제 : http://stackoverflow.com/questions/4255859/touch-and-drag-image-in-android http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html 출처 : http://blackzaket.blog.me/80101582245 package com.jjihun.bitmaptest; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import and..
‘전체’ 목록(116) 목록열기 API Demos - 안드로이드 어플리케이션 예제 소스 전체공개 Android|2010/07/16 10:24 http://blog.paran.com/du19s/39468923 1.app - API Demos / 실행사진, 소스 추가 (2010/06/11)Activity 액티비티Hello WorldDemonstrates a basic screen activity.Code:HelloWorld.javaLayout:hello_world.xmlSave & Restore StateDemonstrates how an activity should save state when it is paused.Persistent StateDemonstrates how you can save and ..
출처 : http://android.attemptone.com/layouts/custom-tabs/ Tabs can be a difficult component when you first start building Android applications. To do something as simple as change the height of the tabs you need to build a view and pass it to setIndicator in the TabSpec. It might sound confusing but hopefully this code sample helps. It uses custom tab backgrounds, tab height, and programmatic tab ..
Android selector ├뷰 2011/01/05 11:40 http://blog.naver.com/jolangma/150100210916 출처: step 1. View의 각 상태에 맞는 이미지를 준비합니다. res/drawable 폴더내에 두어야하는건 아시죠?! (image를 nine patch해서 사용하시면 좋겠죠...^~^) normal 활성화 상태, View.setEnabled(true)상태와 같다. 빠져서는 안되는 필수요소입니다. disable 비활성화 상태, View.setEnabled(false)상태와 같다. 필요할 때 선언할 수 있는 선택요소입니다. focused EditText에서 입력 대기 상태, 즉 커서가 깜박이는 경우에 해당합니다. 또는 비활성화 상태에서 selected 된 상..
출처 : http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=13466 TITLE : Android Fake Iphone UI 2 Source Date : 2010/08/06 Description : This is Source that make Iphone style UI by android slector button. Download Link : iphoneUI2 Reference Site : 안드로이드 Selector 버튼을 하단에 4개 배치하여 아이폰 하단의 네비게이션 UI를 배낀 소스 안드로이드의 다양한 에니메이션 기능과 확장성은 아이폰 스타일의 UI도 꾸밀 수 있다. 한국에서 안드로이드폰이 아이폰보다 많이 팔렸다는 뉴스가 나옴에도 불구하고 ..
태스크란? (Task, Activity Stack)어피니티란? (Android Affinity)플래그란? (Android Flag) Android APP / 컴퓨터활용 2011/03/16 11:48 http://blog.naver.com/oklmg/70105002506 태스크란? (Task, Activity Stack) 어피니티란? (Android Affinity) 플래그란? (Android Flag) 안드로이드 태스크란? (Android Task, Activity Stack) - Task는 어플리케이션에서 실행되는 액티비티를 보관하고 관리하며 Stack형태의 연속된 Activity로 이루어진다 - 선입후출(First In Last Out)형태로 나중에 적재된 액티비티일 수록 가장 먼저 사용된다 만약 1..
