i want to make drawer in xml with backcolor, and when i open the drawer i see the backcolor, but if i didnt open the drawer i dont see the backcolor.
this is what my xml look like-
<SlidingDrawer
android:id="@+id/slidingD"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:content="@+id/content"
android:handle="@+id/handle"
android:layout_marginTop="150dp">
<Button
android:id="@+id/handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="^" />
<LinearLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<CheckBox
android:id="@+id/cbSlidable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CheckBox" />
</LinearLayout>
</SlidingDrawer>
No comments:
Post a Comment