android texttview
徐沫呗
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
让阿拉伯语 环境,文字从右显示。
xml android:textDirection="ltr" android:textAlignment="viewStart"原创 2021-05-21 10:30:01 · 472 阅读 · 0 评论 -
android textview 显示 文本 .txt
把 .txt文件 放在 assets文件夹中 public class MainActivity extends Activity { public static final String ENCODING = "GBK"; private TextView teView; @Override protected void onCreate(Bundle sa原创 2015-08-28 11:33:06 · 3474 阅读 · 1 评论 -
listview 点击 item 字体变颜色
item_color.xml item.xml xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"原创 2016-04-20 15:31:45 · 544 阅读 · 0 评论 -
android 判断横竖屏的方法
public boolean isScreenChange() { Configuration mConfiguration = this.getResources().getConfiguration(); //获取设置的配置信息 int ori = mConfiguration.orientation ; //获取屏幕方向 if(ori == mConfiguration.ORI原创 2016-05-16 17:11:13 · 2427 阅读 · 0 评论 -
用textView 画圆 更换颜色 动态添加到布局里面
用textView 画圆 更换颜色 动态添加到布局里面 TextView textView = new TextView(mContext); LayoutParams params = new LayoutParams( (int) mContext.getResources().getDimension(R.dimen.color_text_bg), (int) mContext.ge原创 2016-07-19 09:57:05 · 400 阅读 · 0 评论
分享