我怎么能适合seekBar留在抽屉边界内?适合seekBar抽屉里面
这是我drawerLayout
<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="left"
android:background="#111"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
<LinearLayout
android:id="@+id/right_drawer_ll"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="end"
android:orientation="vertical"
android:visibility="visible" >
<SeekBar
android:id="@+id/seekBar1"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<ListView
android:id="@+id/right_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="right"
android:background="#123456"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
</LinearLayout>
</android.support.v4.widget.DrawerLayout>
与此代码,搜索栏显示的drawerLayout
内,而不是rightDrawer边界内。
UPDATE现在看起来
我希望这
是有可能实现这一目标?
在此先感谢。
搜索条中示出了内部drawerLayout但不是rightDrawer边界内。?你的意思是什么? – 2014-09-19 11:34:42
@HarshaVardhan查看问题更新。 – 2014-09-19 11:37:47
@HarshaVardhan我希望seekBar留在右侧的绘图布局中。 – 2014-09-19 11:39:19