I want that this code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" >
<TextView android:id="@+id/logo" style="@style/logo"
android:layout_alignParentTop="true"
android:text="@string/logo" tools:context=".MainActivity" />
to start in every layout. How can I do that I wouldn't need to add this to every layout page? Like for example in PHP I would use <?=include("header.php");?>
(just an example, actually it's bad practise, doesn't matter here). Thank you.