안드로이드 개발 질문/답변
(글 수 40,700)
image_popup.xml
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="370px" android:background="#E6E6FA" android:padding="3px"/> <SlidingDrawer android:id="@+id/slidingdrawer" android:layout_width="fill_parent" android:layout_height="fill_parent" android:content="@+id/content" android:background="#FAD798" android:handle="@+id/handle" android:orientation="vertical" />
<Button
android:id="@+id/handle"
android:layout_width="match_parent"
android:layout_height="25dp"
android:text="▲" />
android:id="@+id/handle"
android:layout_width="match_parent"
android:layout_height="25dp"
android:text="▲" />
<LinearLayout
android:id="@+id/content"
android:layout_width="50dp"
android:layout_height="376dp"
android:background="#E6E6FA"
android:orientation="vertical" >
android:id="@+id/content"
android:layout_width="50dp"
android:layout_height="376dp"
android:background="#E6E6FA"
android:orientation="vertical" >
<EditText
android:id="@+id/carname"
android:layout_width="120dp"
android:layout_height="wrap_content" />
android:id="@+id/carname"
android:layout_width="120dp"
android:layout_height="wrap_content" />
<Button
android:id="@+id/insert"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="추가하기" />
android:id="@+id/insert"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="추가하기" />
<EditText
android:id="@+id/select_id"
android:layout_width="120dp"
android:layout_height="wrap_content" />
android:id="@+id/select_id"
android:layout_width="120dp"
android:layout_height="wrap_content" />
<Button
android:id="@+id/selectone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="조회하기" />
</LinearLayout>
android:id="@+id/selectone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="조회하기" />
</LinearLayout>
<Button
android:id="@+id/selectall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="리스트로 보기" />
android:id="@+id/selectall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="리스트로 보기" />
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</SlidingDrawer>
</LinearLayout>
갤러리에서 사진을 불러와 사진을 클릭했을 시에 뜨는 창인데요.
사진을 화면가득 나오게 하면 화면 하단에 슬라이딩 드로어 버튼이 안나오구 사진을 작게 했더니 하단의 슬라이딩 드로어 버튼을 드래그 했을 때 사진 밑부분까지만 올려집니다
제가 원하는 것은 사진이 화면 가득 나오고 맨 밑에 슬라이딩 드로어 버튼이 있고 버튼을 드래그했을 때 사진을 뒤덮으면서 맨 위까지 나오게하는 건데요. 도움부탁드려요~~
RelativeLayout으로 한번 해보세요.