【发布时间】:2013-11-23 07:45:34
【问题描述】:
我已经创建了抽屉布局示例应用程序,它工作正常,我的问题是抽屉布局从右到左完美地工作,但我试图将图标从左侧移动到右侧但它不起作用给我你的建议..!! !这可能与否?
<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"
android:layout_gravity="right" >
<!-- The main content view -->
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
<!-- The navigation drawer -->
<ListView
android:id="@+id/drawer_list"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="right"
android:background="#111"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
</android.support.v4.widget.DrawerLayout>
【问题讨论】:
-
问题解决了吗?
-
@MRX NO 我尝试了很多方法...
-
@bala 你有解决办法吗?
-
@SubhalaxmiNayak 仍然没有得到解决方案
标签: android android-listview drawerlayout