Android: Start Activity from preferences.xml

后端 未结 12 2009
轮回少年
轮回少年 2020-12-04 13:16

I would like to start an Activity from a default preferences.xml, with < intent > tag. The Activities are well tested, the problem is not with that. (I\'m extending Prefe

12条回答
  •  天涯浪人
    2020-12-04 13:20

    I solved the same issue by declaring the in the manifest as follows:

    
    
        
             /*Same as in the preference's  element's action attribute*/
            
    
    
    

提交回复
热议问题