Android: ScrollView로 화면 스크롤 처리

안드로이드에서 화면 스크롤을 구성하는 것은 ScrollView를 사용하여 아래와 같이 간단하게 처리할 수 있다.

android:paddingRight="5px" 는 스크롤을 위한 여백을 주기 위해 사용 한다.

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   android:orientation="vertical"
   android:paddingRight="5px"
   >
        여기에 화면 구성
</LinearLayout>
</ScrollView>

*** 참고 문헌 ***

Posted by 산사랑

2010/07/20 12:41 2010/07/20 12:41
, , , , , , ,
Response
No Trackback , No Comment
RSS :
http://www.jopenbusiness.com/tc/oss/rss/response/251

Trackback URL : http://www.jopenbusiness.com/tc/oss/trackback/251

Leave a comment
[로그인][오픈아이디란?]
« Previous : 1 : ... 111 : 112 : 113 : 114 : 115 : 116 : 117 : 118 : 119 : ... 354 : Next »

블로그 이미지

개인적인 글쓰기와 오픈소스 비즈니스 컨설팅 관련 글을 정리합니다. consult (골뱅이) jopenbusiness.com

- 산사랑

Archives

12명이 RSS를 구독하고 있습니다.

Site Stats

Total hits:
390547
Today:
91
Yesterday:
271

*** 방문자 통계 ***
0513 : (242)
0514 : (478)
0515 : (513)
0516 : (504)
0517 : (424)
0518 : (402)
0519 : (271)
0520 : (91)
7일간 총 방문자수 : 2834