title: android how to make relativelayout not clickable and its itme clickable
body: <p>i have a listview with relativelayout header, when i click on any space in the relativelayout it becomes white, i don't want that white, if the user click on the space, nothing will happend, but if he clicks on the image into that relativelayout  there is action i can handle it in onclick.</p>
  
  <p>this is the relative layout </p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:id="@+id/rl_simple_list_item_header"
      android:focusable="true"
      android:orientation="horizontal" &gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/orderMeal"
          android:layout_marginLeft="20dip"
          android:id="@+id/tv_restaurant_description_orderMeal"
          android:drawableTop="@drawable/order_meal" /&gt;
      &lt;TextView 
          android:id="@+id/iv_simple_list_item_header_favorite"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/favorite"
          android:layout_alignParentRight="true"
          android:layout_marginRight="20dip"
          android:drawableTop="@drawable/favorite"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <h1>edit</h1>
  
  <pre><code>01-25 21:00:42.718: E/AndroidRuntime(24121): FATAL EXCEPTION: main
  01-25 21:00:42.718: E/AndroidRuntime(24121): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.Syriatel.EatTel/com.Syriatel.EatTel.Restaurant_Description}: java.lang.NullPointerException
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1659)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.ActivityThread.access$1500(ActivityThread.java:121)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.os.Handler.dispatchMessage(Handler.java:99)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.os.Looper.loop(Looper.java:130)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.ActivityThread.main(ActivityThread.java:3701)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at java.lang.reflect.Method.invokeNative(Native Method)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at java.lang.reflect.Method.invoke(Method.java:507)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at dalvik.system.NativeStart.main(Native Method)
  01-25 21:00:42.718: E/AndroidRuntime(24121): Caused by: java.lang.NullPointerException
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at com.Syriatel.EatTel.Restaurant_Description.initialize(Restaurant_Description.java:46)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at com.Syriatel.EatTel.Restaurant_Description.onCreate(Restaurant_Description.java:35)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1623)
  01-25 21:00:42.718: E/AndroidRuntime(24121):    ... 11 more
  </code></pre>