只有主界面只显示在右边,
系统是安卓5.1系统,分辨率1280*480 ,
请教是修改哪里的代码可以全屏显示?
致谢~
附上 activity_main文件
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="-1"
android:layout_height="-1"
android:layout_marginLeft="@7F0600C9"
>
<androidx.fragment.app.FragmentContainerView
android:name="cn.kuwo.base.uilib.kwnavigation.KwNavHostFragment"
android:id="@7F080233"
android:layout_width="0.0dip"
android:layout_height="0.0dip"
app:defaultNavHost="true"
app:layout_constraintBottom_toBottomOf="0"
app:layout_constraintLeft_toLeftOf="0"
app:layout_constraintRight_toRightOf="0"
app:layout_constraintTop_toTopOf="0"
app:navGraph="@7F0D0001"
>
</androidx.fragment.app.FragmentContainerView>
<LinearLayout
android:gravity="0x00000010"
android:orientation="0"
android:id="@7F0801DE"
android:background="@7F070289"
android:paddingLeft="@7F0602BA"
android:paddingRight="@7F0602BA"
android:visibility="2"
android:layout_width="-2"
android:layout_height="@7F06041E"
android:layout_marginTop="@7F0601FF"
app:layout_constraintEnd_toEndOf="0"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="0"
app:layout_constraintTop_toTopOf="0"
>
<ImageView
android:id="@7F080153"
android:layout_width="@7F060340"
android:layout_height="@7F060340"
android:layout_marginRight="@7F0601F3"
android:src="@7F0702C1"
>
</ImageView>
<TextView
android:textColor="@7F05010F"
android:id="@7F080338"
android:layout_width="-2"
android:layout_height="-2"
android:text="数专辑专辑群益"
>
</TextView>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
看着倒像是分屏显示了。长按屏幕看可以分屏不
你只是安装了酷我的软件吗,其它应用是否显示正常。
一般来说安装应用后打开应该是根据屏幕大小自适应的