![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
Mr.Black
这个作者很懒,什么都没留下…
展开
-
android设置文字字体
Typeface face = Typeface.createFromAsset(getAssets(),"fonts/字体名.ttf");TextView a = (TextView) findViewById(R.id.XXX);a.setTypeface(face);原创 2016-03-29 19:24:23 · 380 阅读 · 0 评论 -
android 左上角返回上一级的实现
在android设计中,常需要使用ActionBar中左上角返回上一级功能,只需两个简单步骤就能轻松实现。1.在.java中: //左上角返回 @Override protected void onStart() { super.onStart(); ActionBar actionBar = thi原创 2016-03-12 19:52:17 · 6723 阅读 · 0 评论