툴바와 탭 사이에 선이 있는데 그 이유를 모르겠습니다. Android 4. *가 설치된 다른 스마트 폰에서 앱을 실행하면 선이 사라지기 때문입니다.
탭이있는 툴바에서 작업 중이며 Google의 SlidingTabLayout 및 SlidingTabStrip을 사용하고 있습니다.
말할 중요한 정보가 있는지 모르겠지만 더 알고 싶은 것이 있으면 알려주세요 ...
감사합니다
편집 : 여기에 대한 사진 ...
다음은 활동의 레이아웃입니다.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="es.alejandrolora.devhub.activitys.VideosCommentsActivity">
<include
android:id="@+id/toolbar"
layout="@layout/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<es.alejandrolora.devhub.Util.SlidingTabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:elevation="2dp" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
Motorola G2의 Android 5.0.2에서 내 앱을 사용해 보았지만 줄이 보이지 않았지만 Nexus 5의 내 버전 (5.1)에서는 문제가 해결되었습니다.
이 속성을 지워야했습니다.
android:elevation="2dp"
감사
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다