Search Unity

Develop Android plugin using Fragment with UI?

Discussion in 'Android' started by ywj7931, Jan 18, 2018.

  1. ywj7931

    ywj7931

    Joined:
    Jun 24, 2015
    Posts:
    41
    I know we can develop plugin using fragment, but how to integrate Fragment's UI, to use fragment's UI, I suppose we need to add "<Fragment>" into Unity's native layout xml? To avoid conflict with other developers' plugin, should I add <Fragment> in post build script, or dynamically add fragment UI into Unity activity layout somehow?
     
  2. ywj7931

    ywj7931

    Joined:
    Jun 24, 2015
    Posts:
    41
    Any help?