0
A
답변
0
0
것은 XML 파일
<SlidingDrawer
android:id="@+id/drawer"
android:layout_width = "320dp" //set what ever dimensions you find appopriate
android:layout_height = "440dp"
android:orientation = "vertical"
android:handle="@+id/handle"
android:content="@+id/content">
<ImageView
android:id="@+id/handle"
android:layout_width="48dp" // Set your dimensions. This will be your handle
android:layout_height="48dp"
android:src="@drawable/putHandleImageHere" />
<TextView android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text ="Hello World" />
--------------- 편집 내에서 작업을 수행하는 예입니다 ---- -------------- 귀하의 질문을 다시 읽었습니다. 귀하의 질문을 다시 읽으려는 시도가 있습니다.
android:paddingTop="10dp"
또는
android:layout_marginTop="10dp"
은 즉, 행운을 빌어 일을 알려줘 사용해보십시오.
나는 그 질문을 이해할 것이라고 생각하지 않는다 ... –
나는 자기 자신의 슬라이딩 서랍 코드를 쓰지 않고도 가능하다고 생각하지 않는다. – Barak