まず第一に、私はこの質問が以前にここに現れたことを知っていますが、たくさん試した後、私はまだ成功しませんでした。私はAndroidDevelopersサイトの例に取り組んでい ます。
例での実装方法(左から右)ではなく、メニューを右から左に開くように設定しようとしています。さらに、メニューを開くボタンをアクションバーの右側に移動したいと思います。また、ここでいくつかの回答を赤字にします。たとえば、この回答です。
ビューとレイアウトの重力を変更しようとしましたが、エラーが発生します:
絶対重力左で引き出しビューが見つかりません
メニューを右から開くように設定し、アクションバーボタンを右側に移動するには、コードの問題点と何を変更すればよいかを理解するのを手伝ってもらえますか?
xmlコードはここにあります:
<android.support.v4.widget.DrawerLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/drawer_layout"
    android:layout_gravity="right"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
    <FrameLayout
        android:id="@+id/content_frame"
        android:layoutDirection="rtl"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        />
    <ListView android:id="@+id/left_drawer"
        android:layout_width="200dp"
        android:layout_height="match_parent"
        android:layout_gravity="right"
        android:choiceMode="singleChoice"
        android:divider="@android:color/transparent"
        android:dividerHeight="10dp"
        android:background="#111"/>
</android.support.v4.widget.DrawerLayout>