<TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:ellipsize="marquee"
        android:focusable="true"
        android:singleLine="true"
        android:focusableInTouchMode="true"
        android:text="@string/hello_world" />
     在string.xml文件中添加<string name="hello_world">我是一个TextView我是一个长TextView我是一个长TextView</string>  运行即可

最新文章

  1. netcore - MVC的ActionFilter的使用
  2. 高性能 TCP &amp; UDP 通信框架 HP-Socket v3.5.1
  3. Android 异步Http框架简介和实现原理
  4. atitit.提升备份文件复制速度(1) -----分析统计问题and解决方案
  5. ImageMagick资料
  6. springframework开源代码导入eclipse
  7. flex布局全解析
  8. android 基础项目及开发出现:error opening trace file: No such file or directory错误解决
  9. 静态代理VS动态代理
  10. Angular form
  11. UVALive 5103 Computer Virus on Planet Pandora Description 一些新兴需求模式的字符串 AC自己主动机
  12. APIJSON,让接口和文档见鬼去吧!
  13. 原生js移动端滑动事件
  14. linux小白成长之路7————Docker安装mysql
  15. maven的项目目录解析
  16. SPI 核软件调试记录
  17. firedac连接WINDOWS的ORACLE
  18. [T-ARA][괜찮아요][没关系]
  19. 深入理解Java引用类型
  20. linux安装Zabbix监控

热门文章

  1. OGNL-action
  2. [BZOJ 1106] [POI2007] 立方体大作战tet 【树状数组】
  3. Tomcat架构(二)
  4. Nodejs and json
  5. KMP字符串模式匹配详解(转)
  6. HTML5区域范围文本框实例页面
  7. python模块与包加载机制
  8. What does the number on the visual studio solution icon represent?
  9. 连接MySQL数据库得到错误&ldquo;Unable to find the requested .Net Framework Data Provider&rdquo;
  10. 转 -- MVC+EF easyui dataGrid 动态加载分页表格