【发布时间】:2015-12-29 19:47:51
【问题描述】:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
<SlidingDrawer
android:id="@+id/drawer"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:content="@+id/content"
android:handle="@+id/handle"
android:orientation="horizontal"
android:rotation="180" >
<ImageView
android:id="@id/handle"
android:layout_width="50dip"
android:layout_height="50dip"
android:rotation="180"
android:src="@drawable/ic_launcher" />
<LinearLayout
android:id="@id/content"
android:layout_width="250dp"
android:layout_height="fill_parent"
android:background="#0000ff"
android:orientation="vertical"
android:rotation="180" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Big Big Button" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Big Big Button" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Big Big Button" />
</LinearLayout>
</SlidingDrawer>
我想改变图标位置,从左到右放在最上面
有谁能告诉我如何在 android 滑块抽屉上设置这个自定义图标位置>
提前致谢
【问题讨论】:
-
你好,我可以帮你,但是添加xml文件和一些图纸,截图告诉我你想要的layot是什么
-
是的,先生,请检查该图像并解决我的问题..我想更改放在顶部的图像位置
-
如果您希望我们帮助您,我们需要查看滑动抽屉的 xml。 (关键词帮助)
-
好的,现在添加一个 xml 文件,我会用它作为答案;-)
-
是的,先生,我复制了 xml 文件...请帮助我
标签: android android-layout slider android-xml