Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有几个偏好屏幕。当用户单击首选项命名时log-of- 我必须禁用和隐藏一些首选项屏幕。由于禁用了首选项,我需要level up在屏幕首选项层次结构中加入一项。
log-of
level up
寻求有价值的建议。
谢谢。
我分解了偏好层次结构。现在每个首选项屏幕都有 3 种不同的 xml 布局。当用户单击“logof”时 - 我更改应用数据并调用完成活动。这让我更上一层楼:) 这种方式会导致更多代码,但现在逻辑很清楚。