Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 首选项滑动选项卡视图/布局中的屏幕布局_Android_Xml_Preferencescreen - Fatal编程技术网

Android 首选项滑动选项卡视图/布局中的屏幕布局

Android 首选项滑动选项卡视图/布局中的屏幕布局,android,xml,preferencescreen,Android,Xml,Preferencescreen,如何在选项卡中的片段中包含preference.xml? 我想要的只是布局,我有自己的设置逻辑,我只想要标准的preferencescreen外观。 这是我最近的一次尝试 <include layout="@xml/preferences" android:id="@+id/rtes" android:layout_height="match_parent" android:layout_width="match_parent" > </inc

如何在选项卡中的片段中包含preference.xml? 我想要的只是布局,我有自己的设置逻辑,我只想要标准的preferencescreen外观。 这是我最近的一次尝试

 <include layout="@xml/preferences"
     android:id="@+id/rtes"
     android:layout_height="match_parent"
     android:layout_width="match_parent"

>
</include>


我认为这比使用标准布局复制外观更容易…

android不喜欢将xml文件夹中的布局包含到layoutfolder中的布局中,我仍然认为这应该是可能的,但我找不到方法。
如果有人回答这个问题,用这个来假装。。。我知道

android不喜欢将xml文件夹中的布局包含到layoutfolder中的布局中,我仍然认为这应该是可能的,但我找不到方法。 如果有人回答这个问题,用这个来假装。。。我知道