• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Wongly thought I solved my previous post: how do you re-use and extend an existing layout?

 
Ranch Hand
Posts: 73
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Afternoon.

I am proficient in Java and now studying the basics of Android App Development.

I want to re-use the layout activity_main.xm  for a second activity to avoid the laborious work of having to re-create it in the layout editor.
In other words I want to sub-class the Activity ActivityMain but also "sub-class" its layout.

Any suggestion ?

I have searched and searched the web without success.

Thanks,
Mohammed.
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!