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 应用程序创建一个自定义选择控件。问题是它应该看起来像这张图片中可以看到的苹果产品中的时间环
.
当用户单击并按住环时,他可以移动它并通过增加/减少一个 int 数。你熟悉任何外观相似的控件吗?
谢谢!
我的问题的答案是这个链接
它就像 iphone 日期选择器。试试看:https ://code.google.com/p/android-wheel/
我花了大约三个小时试图了解如何"(?<!^)(?=[A-Z])"根据大写字母在tring处拆分工作,即
"(?<!^)(?=[A-Z])"
string[] s = Regex.Split("TheWorldWithoutStrangers", "(?<!^)(?=[A-Z])");
它是如何工作的 !!我确实理解上述表达式中每个字符的