打赏
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页
摘要: tv1.setMovementMethod(ScrollingMovementMethod.getInstance()); tv1.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(Vie 阅读全文
posted @ 2020-12-25 17:46 张学涛 阅读(495) 评论(0) 推荐(0)
摘要: 如图:打印日志 E/HsmCoreServiceImpl: onTransact in code is: 103 2020-12-19 22:23:29.078 629-13102/? E/uniperf server: uniPerfEvent doParse failed, cmdId=4400 阅读全文
posted @ 2020-12-19 22:11 张学涛 阅读(958) 评论(0) 推荐(0)
摘要: ******* if(mode == REPEAT1) { if(!mPlayer.isLooping()) { mPlayer.setLooping(true); //打开app当前无音乐播放时,setLooping会无作用,先记录在播放时重新setLooping if(!mPlayer.isLo 阅读全文
posted @ 2020-12-19 21:54 张学涛 阅读(762) 评论(0) 推荐(0)
摘要: Android TextView <TextView android:id="@+id/tv_name" android:layout_width="wrap_content" android:layout_height="wrap_content" /> 设置显示文本单行显示 android:si 阅读全文
posted @ 2020-12-12 13:54 张学涛 阅读(165) 评论(0) 推荐(0)
摘要: welcome.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sche 阅读全文
posted @ 2020-12-11 17:31 张学涛 阅读(693) 评论(0) 推荐(0)
摘要: // ImmersionBar.with(this) // .hideBar(BarHide.FLAG_HIDE_NAVIGATION_BAR) // .init(); 阅读全文
posted @ 2020-12-11 17:22 张学涛 阅读(309) 评论(0) 推荐(0)
摘要: 第一种:自己编写进出效果 然后给activity加上就ok了 例如:(首先要在res文件夹下建立anim文件夹,然后把动画效果xml文件放到里面去) 1.放大进入, zoomin.xml: <?xml version="1.0" encoding="utf-8"?> <set xmlns:andro 阅读全文
posted @ 2020-12-11 16:49 张学涛 阅读(212) 评论(0) 推荐(0)
摘要: Drawable drawable = 你的ImageView.getDrawable(); Bitmap bitmap = null; if (null!=drawable) { bitmap = ((BitmapDrawable)drawable).getBitmap(); } if (null 阅读全文
posted @ 2020-12-09 09:01 张学涛 阅读(787) 评论(0) 推荐(0)
摘要: ConstraintSet constraintSet =new ConstraintSet(); // 第一个按钮 View ivLeft = getLayoutInflater().inflate(R.layout.item_262, null); TextView tvText = ivLef 阅读全文
posted @ 2020-11-16 14:01 张学涛 阅读(2665) 评论(0) 推荐(0)
摘要: tv1.setText(bean.getName().replace(",,,", "\n")); 阅读全文
posted @ 2020-11-12 10:19 张学涛 阅读(147) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页