admin管理员组文章数量:1333442
I am trying to do something like this. or templating like in html but I could not find good documentation, maybe I searched wrong. I am also open for template suggestion.
Currently what I have is this
package com.mydomain.myapp
import android.annotation.SuppressLint;
import android.app.AlertDialog;
Instead of this I would like to get the package name from strings or elsewhere where I keep the other constants.
package "myStringValue"
import android.annotation.SuppressLint;
import android.app.AlertDialog
Does anyone know how to achieve this? I have tried many methods but I am actually very unfamiliar to Java/Android Studio. Many thanks
本文标签: javaandroid studio mainactivity package name from template or resource valueStack Overflow
版权声明:本文标题:java - android studio mainactivity package name from template or resource value - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742354605a2459159.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论