Is there any way in android to transfer xml layout file from another layout file. To better explain
I have a layout file called layout1.xml and layout2.xml. Is it possible for me to pass layout2.xml from layout1.xml
use this:
<include android:id="@+id/layoutid" layout="@layout/header" />
refer to this document:
http://android-developers.blogspot.com/2009/03/android-layout-tricks-3-optimize-by.html
Edit: fixed broken link
Yes: you can use include or merge .
edit: broken links fixed
Source: https://habr.com/ru/post/1369610/More articles:Remove the NSString part and copy it to another NSString - substringAndroid push notifications PHP code not working on a third-party server, working on a local server - androidCRTP'ed Containers - c ++non-static declaration after static declaration - cUisplitviewcontroller Navigation Bar - ipadtext field does not lose focus - c #https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1369612/how-to-retrieve-object-from-generic-repository-or-db-table-with-string-for-table-name-and-int-for-index-of-record&usg=ALkJrhhy1DzoplXVetJdiYI5vN9_-qRDGQGeting counter from Oracle table - sqlHow to get attribute override properties? - reflectionCPUID: why should MISC_ENABLE.LCMV be set to 0 for some functions? Can I temporarily overwrite it? - assemblyAll Articles