Well, there's this: https://developers.google.com/gmail/android/ as an Android API, so if you're developing for android, this should help you. Otherwise, you might try checking what the labels uri resolves to and try accessing that from your app code.
Or download the android emulator and run gmail on it while running a network sniffer, and see what comes down the pipe.
发布评论
评论(3)
据我所知,颜色不是可以设置/接收的属性之一。
As far as I am aware color isn't one of the attributes that can be set/received.
嗯,有这样的: https://developers.google.com/gmail/android/ 作为Android API,因此如果您正在为 Android 进行开发,这应该会对您有所帮助。否则,您可以尝试检查标签 uri 解析的内容,并尝试从应用程序代码访问它。
或者下载 Android 模拟器并在其上运行 gmail,同时运行网络嗅探器,看看会发生什么。
Well, there's this: https://developers.google.com/gmail/android/ as an Android API, so if you're developing for android, this should help you. Otherwise, you might try checking what the labels uri resolves to and try accessing that from your app code.
Or download the android emulator and run gmail on it while running a network sniffer, and see what comes down the pipe.
这样:
您可以获得标签的背景颜色,采用十六进制格式 0xAARRGGBB
,即:
With this:
You can get the background color of the label, in hex format 0xAARRGGBB
i.e: