0

I have a few activities e.g.:
ActivityA.
ActivityB.
ActivityC.
Each activity has different layout and each activity extends BaseActivity which extends FragmentActivity.
BaseActivity is my own class.

I would like to have an access to root of layout in BaseActivity depends on current shown Activity A,B or C.
Is it possible?

discCard
  • 421
  • 1
  • 5
  • 16
  • Just want to clarify, do you mean your activity A, B & C want to access the base_activity.xml component as a common? If yes, probably duplicate to this question https://stackoverflow.com/questions/11579635/common-header-in-different-activities-using-baseactivity-in-android – Android Newbie A Nov 17 '22 at 02:24

0 Answers0