Load Activity and/or Application Logo Programmatically from Manifest

前端 未结 4 1815
南旧
南旧 2021-01-04 04:27

I am trying to load the logo associated with the current activity and/or its parent application from the definition in the manifest. This technique has already worked succes

4条回答
  •  一个人的身影
    2021-01-04 04:53

    @Jake Wharton, you are trying to retrieve something that doesn't exist. Unlike applications, activities do not have a separate logo attribute (the logo defined in the application becomes the default attribute for all activities). This is why you are unable to retrieve one from an activity.

提交回复
热议问题