마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

레이아웃을 겹치는 방법이 궁금합니다. [closed]

0 추천
<ImageView
    android:id="@+id/imageView1"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_weight="3"
    android:scaleType="fitXY"
    android:src="@drawable/aaaaa" />

<ImageView
    android:id="@+id/imageView2"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_weight="3"
    android:scaleType="fitXY"
    android:src="@drawable/bbbbb" />

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:orientation="horizontal">

    <ImageButton
        android:id="@+id/ok"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:background="#b2ebf4"
        android:scaleType="fitCenter"
        android:src="@drawable/ok" />

    <ImageButton
        android:id="@+id/cancel"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:background="#b2ebf4"
        android:scaleType="fitCenter"
        android:src="@drawable/cancel"
       />
</LinearLayout>
공부하고 있는 초보입니다.
imageView2 에 투명한 텍스트뷰를 추가하고 싶은데, 어떻게 해야할지 모르겠습니다.
고수님들의 깨알같은 팁 부탁드립니다. 
질문을 종료한 이유: 간단한 해결 감사
따라오지롱~ (120 포인트) 님이 2016년 3월 23일 질문
따라오지롱~님이 2016년 3월 24일 closed
채택을 하시면 될 걸...
전 이게 채택한다고 한것인데 안되고 종료가 되었네요.
채택버튼을 찾다가 종료하기가 채택한다고 생각했으니...
죄송합니다.
아니에요~ 제가 더 죄송합니다..
일부러 채택 안 하신줄 알았어요.. ㅠㅠ
그럼 즐안드로이드 하시기 바랍니다.

1개의 답변

0 추천
FrameLayout을 이용해보세요.
원펀치맨 (2,860 포인트) 님이 2016년 3월 23일 답변
...