简体   繁体   English

如何在Android中的“应用程序图标”上添加TextView

[英]How to add a TextView on top of Application Icon in Android

Hi any idea about how to add a TextView on top of application icon.Because i want to add a number(say 50 by default)and the number may vary dynamically.So far i have used only icon and label attributes to the application tag in manifest file.Any idea about this.Thanks in advance. 嗨,关于如何在应用程序图标顶部添加TextView的任何想法。因为我想添加一个数字(默认情况下为50),并且该数字可能会动态变化。到目前为止,我仅在应用程序标签中使用了icon和label属性清单文件。对此有任何想法。谢谢。

Thanks&Regards, Venakat. 感谢与问候,维纳卡特。

When you compile your app, it compiles with 1 icon per resolution, and that icon cannot be changed unless you release an update. 编译应用程序时,每个分辨率使用1个图标进行编译,除非发布更新,否则无法更改该图标。 it can't be dynamically changed after compiling. 编译后无法动态更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android:如何在自动完成的textView顶部放置十字图标 - Android : How to put cross icon on top of the autocomplete textView 如何在Android应用程序中添加Icon? - How to add Icon in Android Application ? 如何在Android中的Actionbar文本顶部添加图标 - how to add icon on the top of text of actionbar in android android-如何在左上角添加图像或在textview android中的文本的开始和结尾? - How to add image in top left or start and ending of the text in textview android? Android - 如何将徽章计数添加到应用程序图标? - Android - how to add a badge count to an application icon? Android 在 textview 中添加想象图标作为“提示”? - Android Add imagine icon as a “hint” in a textview? GLSURFACEVIEW之上的Android TextView用于制图应用程序 - Android TextView on top of GLSURFACEVIEW for Graphing application 如何在Android DrawerLayout的左上角添加3行图标 - How to add 3 lines icon in left top corner Android DrawerLayout Android:如何向菜单图标添加点击监听器(顶部3个点)? - Android: How to add a click listener to menu icon(3 dots at the top)? 如何在顶部工具栏的购物车图标上添加项目编号? 安卓系统 - How to add item number on the cart icon at top toolbar? Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM