디시인사이드 갤러리

갤러리 이슈박스, 최근방문 갤러리

갤러리 본문 영역

푸라면횽 도와주세요 ㅠ

얼룩돼지갤로그로 이동합니다. 2012.12.24 20:06:54
조회 91 추천 0 댓글 7

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" 
    >
    
    <ViewFlipper
    android:id="@+id/viewflipper"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    >
        </ViewFlipper>
        
    <LinearLayout 
        android:id="@+id/header_layout"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:background="@drawable/header_bg"
        android:gravity="center_vertical"
        >
        <ImageView 
            android:id="@+id/header_home"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/header_home"
            />
        <ImageView 
            android:id="@+id/header_prev"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/header_prev"
            />
        <ImageView 
            android:id="@+id/header_list"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/header_list"
            />
        <TextView 
            android:id="@+id/header_title"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:text="Amber Cave Magazine"
            android:textColor="#FFFFFF"
            android:gravity="center"
            />
        <ImageView 
            android:id="@+id/header_favorite"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/header_favorite"
            />
        <ImageView 
            android:id="@+id/header_search"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/header_search"
            />
    </LinearLayout>
    
    <LinearLayout 
        android:id="@+id/footer_layout"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@drawable/footer_bg"
        android:gravity="center_vertical"
        >
        <ImageView 
            android:id="@+id/footer_prev"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/footer_prev"
            />
        <AbsoluteLayout 
            android:id="@+id/footer_navi_bg"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/footer_navi_bg"
            >
        </AbsoluteLayout>
        <ImageView 
            android:id="@+id/footer_next"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/footer_next"
            />
    </LinearLayout>
</RelativeLayout>


XML은 이렇게 되있고


TwoDScrollView baseScrollView = new TwoDScrollView(BookActivity.this);
baseScrollView.setLayoutParams(new LinearLayout.LayoutParams(
                LinearLayout.LayoutParams.MATCH_PARENT,
                LinearLayout.LayoutParams.MATCH_PARENT));

LinearLayout scaleView = new LinearLayout(BookActivity.this);
scaleView.setLayoutParams(new LinearLayout.LayoutParams(
                LinearLayout.LayoutParams.MATCH_PARENT,
                LinearLayout.LayoutParams.MATCH_PARENT));
baseScrollView.addView(scaleView);
                
flipper.addView(baseScrollView);

이렇게 동적으로 레이아웃 2개 추가해주는데

baseScrollView 는 제대로 1280x800크기로 생성되는데
scaleView 는 MATCH_PARENT줬는데도 800x800 으로 생성되요

원인조차 못차고 벌써 대여섯시간짼데 미치겟음 ㅠㅠ


추천 비추천

0

고정닉 0

0

댓글 영역

전체 댓글 0
본문 보기

하단 갤러리 리스트 영역

왼쪽 컨텐츠 영역

갤러리 리스트 영역

갤러리 리스트
번호 제목 글쓴이 작성일 조회 추천
설문 모태 솔로도 구제해 줄 것 같은 연애 고수 스타는? 운영자 25/07/21 - -
AD 곧 휴가!! 홈캉스, 바캉스 SALE 운영자 25/07/21 - -
342597 ㅠㅠ 횽들아 c공부 중인데 에러 폭발이야 ㅠㅠ 함 봐줘~ [4] 멍청닭(182.211) 13.01.09 134 0
342595 얘들아 이거 원리 뭐냐? ㅜ.ㅜ [8] ㅅ2(222.97) 13.01.09 170 1
342594 리눅스 정말 쓰레기네 [11] sexer1갤로그로 이동합니다. 13.01.09 379 0
342593 휴학 관련 고민.. (v2.0.0 업데이트 내역: 진지성 추가) [6] sssa(1.214) 13.01.09 201 0
342592 그룹웨어 임대해서 쓰는데 만들어보자고 하면 어떻게 될까요 [1] topandbottom갤로그로 이동합니다. 13.01.09 47 0
342590 괞찮은 쇼핑몰 사이트 만들려면 얼마정도드냐. [4] ㅂㅈㄷ(122.128) 13.01.09 166 0
342589 뉴비배척하는거임???? 더블릿같은 사이트좀 더 알려주셈 [1] lol백과사전(112.220) 13.01.09 119 0
342588 형들아 c,c++몰라도 c#들어가는데 아무런지장없어?? [5] 형들(175.215) 13.01.09 179 0
342587 역시 이럴줄 알았다. [5] ☎2.52™갤로그로 이동합니다. 13.01.09 235 0
342586 상주 파견 2년정도 갈거같은데 노흑(117.111) 13.01.09 75 0
342585 쉘에서 자바관련 빌드할때는 ant가 답인거 같다. [3] ㅁㄴㅇ(119.202) 13.01.09 90 0
342583 학부 3년생인데 아직 테트리스도 못만들어서 부끄러움이 큼.. [6] asdf(183.106) 13.01.09 272 0
342581 윈도우나 어플에서 버튼 구조가 [2] sd(125.143) 13.01.09 97 0
342580 컴공 꼬꼬마질문좀 받아주세요 [2] ...(211.246) 13.01.09 111 0
342578 멀티코어 프로그래밍이 뭐냐 [1] dsaㅇㄴㅁ(59.11) 13.01.09 99 0
342577 니들도 지방 순연회하냐? ㅇㅇ(58.102) 13.01.09 38 0
342576 컴퓨터 공학 개론 수업이 중요한 이유 [1] ㅁㄴㅇ(119.202) 13.01.09 153 0
342574 프갤에서 보니 대부분 취업전에 테트리스는 그냥 껌으로 만들고 시작하나보네 [2] asdf(183.106) 13.01.09 225 0
342572 형들 인젝션에 쓸 DLL 수정을 하려고그러는데 도와줘 [1] LINDOR(71.219) 13.01.09 84 0
342571 책이랑 똑같이 했는데 안되요ㅜㅜ [2] jsydg(223.62) 13.01.09 51 0
342570 액티브x 문제 해결할려고 ㅁㅇㄴ(59.11) 13.01.09 50 0
342569 기업형 슈퍼마켓 후기 [14] 소맵(117.17) 13.01.09 287 0
342568 아.. 미치겠다. 협력사에서 프로그램 버그낸것 같다.. ㅇㅇ(58.102) 13.01.09 96 0
342567 C++11에 익명 클레스 기능 있엉? [3] 초보리버서(49.1) 13.01.09 132 0
342566 난 왤케 생각이 딸리지............ [2] asdf(183.106) 13.01.09 104 0
342564 형들 이중포문 질문이요 [3] (203.226) 13.01.09 127 0
342561 늦어따 정수정•‿•갤로그로 이동합니다. 13.01.09 64 0
342560 과연 네이버나 다음에서는 직접올리는글과 post로 올리는 글을 구별할까? [8] ㅡㅡ(112.198) 13.01.09 160 0
342559 객체지향 이해 못하면 이렇게 생각하면 된다. [20] 두정갑(121.167) 13.01.09 400 0
342558 와 그래도 연봉 괜찮게 받는형들 좀 있네.. [4] ㅁㅁ(175.194) 13.01.09 267 0
342556 형들나 작업장알바하는게인데 게임오토뭘로만듬? [19] ㅇㄴㅇㄴ(211.228) 13.01.09 320 1
342555 52CD 국가 중 근로시간 1위인거 어떻게 생각해야 하나요? [9] _FL(222.233) 13.01.09 493 0
342554 지금 연 4천이상 받으면서 주1번 쉬는놈들 햄복칸줄 알아라. [15] (122.128) 13.01.09 358 1
342553 번역은 그냥 원서 사서 번역해서 출판사 고고싱하면 되나? [3] ㅁㅁ(49.1) 13.01.09 111 0
342549 초닥딸이라고 하시는데.. [13] 쿩럵(211.196) 13.01.09 217 0
342548 형들이거 C언어 질문점요.. [7] 질문!(218.147) 13.01.09 148 0
342546 메모장으로 프로그래밍하려면 뭐가필요해요? [7] 쿩럵(211.196) 13.01.08 149 0
342545 너희 하루에 몇시간 일하고 주몇일근무하냐 [10] (122.128) 13.01.08 157 0
342541 나내일 소멤 면접이야..먼저본형들 정보좀 [14] 외길(220.124) 13.01.08 499 0
342540 아파치에 관한 질문입니다. [13] 나허접(220.149) 13.01.08 147 0
342539 역시 국산책들은 다 쓰레기야 [10] dㅁㄴㅇ(59.11) 13.01.08 286 0
342538 오랑우탄도 이해하고 코딩할 수 있는 프로그래밍언어 = Ook! [15] 두정갑(121.167) 13.01.08 277 0
342537 HQ9+ : 가장 간단하게 "Hello World!" 출력 [13] 두정갑(121.167) 13.01.08 281 0
342535 고등학교 10-가.. 공부중인데 고3 수학까지는 기초맞죠? [4] 뉴비(211.224) 13.01.08 130 0
342534 [자바교육] 자바교육 전액무료 취업연계교육 [4] 중앙일보HTA갤로그로 이동합니다. 13.01.08 150 0
342533 해피해킹프로2 무각을 산다면 백무각이 갑이냐 흑무각이 갑이냐? [5] ?(59.15) 13.01.08 184 0
342532 월급 200 넘는 사람 여기 몇%나 될까? [4] ㅁㄴㅇㄹ(123.98) 13.01.08 337 0
342531 이코드에서 b는 stack으로감 heap으로감? Kyle(220.244) 13.01.08 67 0
342530 C자료구조랑 C++자료구조랑 다른건가요? [5] 원딜왕코르킹갤로그로 이동합니다. 13.01.08 216 0
342529 초봉으로 3천주는곳가는데 [2] 초보초보(183.100) 13.01.08 241 0
뉴스 '금쪽같은 내 스타' 인생 최악의 순간 엄정화 앞에 나타난 구세주 송승헌! ‘입덕유발’ 2차 티저 공개 디시트렌드 07.22
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2