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.
我正在扩展 Android Marshmallow 中的标准拨号程序 apk,并尝试删除下图中由双面红色箭头标记的区域。
我试图通过打印记录此片段中某些视图的边距和填充来做到这一点,但没有得到任何结果(一切都为零)。我也试过 monitor.bat 来查看这个屏幕的树,但它也没有帮助。 您知道如何将“创建新联系人”附加到其上方的号码吗? 谢谢。
我将片段 SmartDialSearchFragment 插入到我的新片段中。 SmartDialSearchFragment 派生自 SearchFragment(拨号器的 SearchFragment,不是支持库之一),我将 SearchFragment 的方法 updatePosition() 设为空(即立即返回并注释 updatePosition() 的所有代码)。 这解决了问题(希望没有损坏)。