Where to store Android preference keys?

前端 未结 7 1085
孤城傲影
孤城傲影 2020-12-23 11:33

When I create preference activity I define all preferences in xml file. Every preference has a key defined in this xml. But when I access preference I write:



        
7条回答
  •  太阳男子
    2020-12-23 12:00

    In strings.xml mark the key as untranslatable:

    Screw spacing
    Screw spacing
    Set screw spacing
    

    Usage:

    
    

    See: Configure untranslatable rows

提交回复
热议问题