Hello, what is the easiest way to make headers in android studio(with java)? Is it to make a header.xml in layout and use it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hello, what is the easiest way to make headers in android studio(with java)? Is it to make a header.xml in layout and use it?

Trying to make random header(textview) available for use. Let's say I'm making a layout, and suddenly want to use a header. Example: Header Recview Recview Header ...

2nd Oct 2021, 5:32 PM
W. Khalid
1 Answer
0
You have to use its layout file and change text size according to your needs Or you can add one more layout file and Design that just for your header And wherever you need that header Just type <include layout:@layout/"your header layout name" />
3rd Oct 2021, 2:55 PM
Anas Ansari