Load resource (layout) from another apk dynamically

前端 未结 3 2172
日久生厌
日久生厌 2021-02-10 02:37

I managed to pull the layouts, and i add it to my viewflipper, however, there it is loaded as blank.

The code is,

Resources packageResources;
Context pac         


        
3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-10 03:18

    You are not inflating a layout. You are creating an empty View and adding it to your ViewFlipper.

提交回复
热议问题