삼성 갤럭시 탭 3.7 인치 화면 크기에서 애플리케이션을 실행 중입니다. 다양한 화면 크기에 맞게 다른 레이아웃을 만들었습니다. 문제는 확장 가능한 목록보기의 방향이 오른쪽에서 왼쪽이며 오른쪽에서 왼쪽이어야한다는 것입니다. 다른 장치에서는 작동하지만이 장치에서는 작동하지 않습니다.확장 가능한 목록보기 레이아웃 방향이 태블릿에서 작동하지 않습니다.
다음<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">
<include
layout="@layout/app_bar_welcome"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<android.support.design.widget.NavigationView
android:id="@+id/nav_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="@color/dark_grey"
android:fitsSystemWindows="true"
app:headerLayout="@layout/nav_header_welcome"
>
<ExpandableListView
android:id="@+id/navigationmenu"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="160dp"
android:background="@color/dark_grey"
android:theme="@style/MenuItems"
android:textSize="2dp"
android:groupIndicator="@android:color/transparent"
android:layoutDirection="rtl"/>
</android.support.design.widget.NavigationView>
</android.support.v4.widget.DrawerLayout>
가 잘못된 정렬을 가진 이미지 : 여기
는 확장 목록보기 코드입니다. 텍스트는 서랍의 왼쪽에 있어야합니다 :
작동하지 않습니다./ – Pousti
@Pousti : 슬픈 얼굴 이모티콘으로 "작동하지 않습니다."는 도움이되지 않습니다. 당신은 현재 누군가가 새로운 아이디어로 고정 될 때까지 계속 추측해야한다고 말하고 있습니다. 도움이 될만한 것을 발견했는지 또는 연구의 새로운 방향에 대한 아이디어를 사용하든, 그것이 효과가 없다는 것을 설명하는 것이 훨씬 더 낫습니다. – halfer
코드를 공유 하시겠습니까? 혹시 당신이 문제에 대한 해결책을 제공하지 못하는 것을 공유 한 적이 있다면 .. –