![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
笑谈山野
Research for solving the problem with profit and fun
展开
-
显示文本进度的TextView
public class MyTextView extends TextView{ private TextPaint mPaint; private int currentX = 50; public MyTextView(Context context, AttributeSet attrs) { super(context, attrs); initView()原创 2014-07-23 16:24:17 · 962 阅读 · 0 评论 -
AcitonBar自定义布局
自定义Activity主题和ActionBar样式 在新建的android工程的res/values/styles.xml添加自定义ActionBar样式的代码和自定义Activity主题的代码,并在AndroidMainfest.xml中给需要使用该自定义ActionBar的Activity中加入该主题: (1)自定义ActionBar样式代码如下:原创 2014-08-10 16:57:28 · 513 阅读 · 0 评论 -
关于android SDK更新
google被封后,SDK一直没法更新,网上搜遍了方法,最后发现一种可以: 按上图修改,就可以更新,快去试试吧原创 2014-08-16 09:53:01 · 366 阅读 · 0 评论 -
android:shape属性详解
这一类的shape定义在xml中 file location: res/drawable/filename.xml The filename is used as the resource ID.(这个文件名作为资源id) compiled resource datatype:(复杂资源的数据类型) Resource pointer to a GradientDrawable.原创 2014-09-19 16:28:20 · 475 阅读 · 0 评论