我正在运行玻璃XE 19.1,我正在尝试使用布局缓冲器,XML文件确实存在于布局文件夹下,但文件永远不会被识别。
card_countdown无法解决是我得到的错误。
public CountDownView(final Context context, final AttributeSet attrs,
final int style) {
super(context, attrs, style);
LayoutInflater.from(context).inflate(R.layout.card_countdown, this);
this.mSecondsView = (TextView) this.findViewById(R.id.seconds_view);
}
答案 0 :(得分:-1)
我不确定您的方法在哪里被调用,但如果您使用的是直播卡,则应将项目停止添加到菜单中