![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
安卓
honghongxuexi
timo队长
展开
-
Android xml资源文件中@、@android:type、@*、?、@+含义和区别
一.@代表引用资源 1.引用自定义资源。格式:@[package:]type/name android:text="@string/hello" 2.引用系统资源。格式:@android:type/name android:textColor="@android:color/opaque_red" 注意:其实@android:type/name是@[p转载 2015-09-25 17:03:40 · 268 阅读 · 0 评论 -
Hardcoded string XXX, should use @string resource警告
在布局文件中,文本的设置使用如下写法时会有警告:Hardcoded string "下一步", should use @string resource Button android:id="@+id/button1" android:layout_width="118dp" android:layout_height=原创 2015-09-10 13:41:16 · 515 阅读 · 0 评论 -
android开发出现No Launcher activity found!
在AndroidManifest.xml中没有注册activity,导致的!原创 2015-09-15 00:14:49 · 654 阅读 · 0 评论 -
安卓学习记录一
今天学习了极客学院的安卓教程之2D反转感觉不错分享给大家。 package com.jikexueyuan.card2d; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.vi原创 2015-12-21 17:51:31 · 313 阅读 · 0 评论