실제 실행시키면.. gestures_overlay가 화면에 안나옵니다... 영역도 없어짐.
gestures_overlay 라는 view는 초기 값은 아무것도 없고 사용자가 직접 연필로 글자쓰듯이 그리면 그 상태를
보여주는 view 인데요, 현재 fill_parent 상태인데.. 이걸 150px 요런식으로 주면 나오긴 하더군요..
하지만 fill_parent, wrap_content 등으로는 무슨짓을 해도 화면에 안나오네요.
대체 뭐가 잘못된걸 까요?
아래는 xml 소스 전문입니다.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:orientation="vertical" android:layout_height="fill_parent">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/action_layout">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="6dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:paddingTop="10px" android:text="Action"
android:paddingLeft="10px" android:id="@+id/title_action"
android:layout_weight="0"
/>
<Spinner android:layout_height="wrap_content" android:layout_width="fill_parent"
android:id="@+id/gesture_action" android:layout_marginRight="8px"
android:layout_weight="0">
</Spinner>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/url_layout">
<TextView android:layout_width="wrap_content"
android:layout_marginRight="6dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:paddingLeft="10px" android:text="URL"
android:paddingRight="20px" android:id="@+id/title_url"
android:visibility="visible" android:layout_height="wrap_content"
android:layout_weight="0"
/>
<EditText android:layout_width="0dip" android:layout_height="wrap_content"
android:maxLength="40" android:singleLine="true"
android:layout_marginRight="8px" android:id="@+id/value_url"
android:layout_weight="1"
/>
</LinearLayout>
<LinearLayout android:layout_height="fill_parent"
android:layout_width="fill_parent" android:layout_weight="1">
<android.gesture.GestureOverlayView android:id="@+id/gestures_overlay"
android:layout_width="fill_parent" android:layout_height="wrap_content"
/>
</LinearLayout>
<LinearLayout
style="@android:style/ButtonBar"
android:orientation="horizontal" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_weight="0">
<Button
android:id="@+id/done"
android:layout_width="0dip"
android:enabled="false"
android:onClick="addGesture" android:text="done"
android:layout_height="wrap_content" android:layout_weight="1"
/>
<Button
android:layout_width="0dip"
android:onClick="cancelGesture" android:text="discard"
android:layout_height="wrap_content" android:layout_weight="1"
/>
</LinearLayout>
</LinearLayout>



