main.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent" android:background="@drawable/background_pure">
  6. <TextView
  7. android:id="@+id/menu_title"
  8. android:layout_width="fill_parent"
  9. android:layout_height="wrap_content"
  10. android:gravity="center"
  11. android:textSize="20dip"
  12. android:textColor="#1A1A1A"/>
  13. <ImageButton android:id="@+id/ImageView01" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/menu_message_selector" android:layout_marginLeft="30dp" android:layout_marginRight="30dp"></ImageButton>
  14. <ImageButton android:id="@+id/ImageView02" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/menu_call_selector" android:layout_marginLeft="30dp" android:layout_marginRight="30dp"></ImageButton>
  15. <ImageButton android:id="@+id/ImageView03" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/menu_phone_selector" android:layout_marginRight="30dp" android:layout_marginLeft="30dp"></ImageButton>
  16. <SlidingDrawer android:id="@+id/menu_sliding"
  17. android:layout_width="fill_parent"
  18. android:layout_height="fill_parent"
  19. android:handle="@+id/linearlayout_image"
  20. android:content="@+id/linearlayout_menu_other"
  21. android:orientation="vertical">
  22. <LinearLayout android:id="@+id/linearlayout_image"
  23. android:layout_width="fill_parent"
  24. android:layout_height="35px"
  25. android:gravity="center">
  26. <ImageView android:id="@+id/sliding_image"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:src="@drawable/spliding_open"></ImageView>
  30. </LinearLayout>
  31. <LinearLayout android:id="@+id/linearlayout_menu_other"
  32. android:layout_width="fill_parent"
  33. android:layout_height="fill_parent"
  34. android:orientation="vertical"
  35. android:gravity="center">
  36. <ImageButton android:id="@+id/ImageView04" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/menu_state_selector" android:layout_marginRight="30dp" android:layout_marginLeft="30dp"></ImageButton>
  37. <ImageButton android:id="@+id/ImageView05" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/menu_smart_selector" android:layout_marginRight="30dp" android:layout_marginLeft="30dp"></ImageButton>
  38. <ImageButton android:id="@+id/ImageView06" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/menu_set_selector" android:layout_marginLeft="30dp" android:layout_marginRight="30dp" ></ImageButton>
  39. </LinearLayout>
  40. </SlidingDrawer>
  41. </LinearLayout>