登录
首页 » Android » Android 自动翻页-文字自动换行的例子

Android 自动翻页-文字自动换行的例子

于 2022-05-26 发布 文件大小:9.98 kB
0 148
下载积分: 2 下载次数: 1

代码说明:

Android 自动翻页-文字自动换行的例子,测试自动换行,设置文字自动换行,得到字符串的信息,通过绘制TextUtil:实现自动换行,包括:行数、页数等信息,内部调用,本源码演示了文字自动换行的同时,还告诉初学者,设置字体尺寸、显示文本的区域、背景颜色、字体颜色、要显示的字符串、 触笔事件、线程处理、绘制字符串、翻页等按键处理,在线程处理中,使用postInvalidate可以直接在线程中更新界面。   比较基础的例子了,相信Android新同学会喜欢这个源码。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TakePicAndGallery-master
    说明:  Android拍照封装,比较全面,支持android7.0(Android Photo Encapsulation, more comprehensive, supporting Android 7.0)
    2020-06-20 05:40:01下载
    积分:1
  • android 实现五子棋
    android 实现的一个五子棋小游戏: 现在其实还算不上一个真正的游戏,因为只是实现了在同一设备上五子棋最基本的逻辑 1.五子棋游戏的基本逻辑:包括棋盘棋子的绘制,游戏胜利判断,重开游戏。  2.添加背景图片,游戏胜负信息,重开按钮等。
    2022-10-10 08:10:04下载
    积分:1
  • Cards-UI-master
    卡片式View,支持单个卡片,item为卡片的ListView 使用: CardListView list = ... list.setCardTheme(CardTheme.Dark) CardAdapter adapter = new CardAdapter(this, android.R.color.holo_blue_dark) list.setAdapter(adapter) // Alternatively, you can pass a context and string resources in place of strings // CardHeader has an optional second parameter for a subtitle CardHeader header = new CardHeader( I m a header ) // You can optionally set an action to the header // Specifying no action title will default to See More header.setAction( See More , new CardHeader.ActionListener() { @Override public void onHeaderActionClick(CardHeader header) { // Do whatever you want } }) // Add the header to the adapter, automatically notifies the list adapter.add(header) // Again, you can pass a context and string resources in place of strings Card card = new Card( Hello , My name is Aidan ) adapter.add(card) (This library is no longer maintained, as this implementation is generally frowned upon in the new Google Material design guidelines, excluding certain situations (like Google Keep type UI). See the new CardView APIs in the Support Library.)
    2015-01-24 15:06:35下载
    积分:1
  • android 照片拍摄 录音等功能
    android 照片拍摄 录音等功能
    2013-10-31下载
    积分:1
  • Android 制作超炫的汽车仪表盘动画效果
    Android 制作超炫、超逼真的汽车仪表盘动画效果,为了更好的演示效果,仪表盘在静态下,添加了一个滑动控制的按钮,当用户拖动该滑块向右拖动,仪表盘的指针和标尺会变色指向用户自定义的进度,并且适时显示时速状态,挺酷的效果。   这个仪表盘可以当作真正 的仪表盘,也可用来制作安卓手机个性化的Loading进度条效果,想一想,就觉得很酷哦。
    2023-02-18 05:25:03下载
    积分:1
  • code
    2023-01-07 10:30:05下载
    积分:1
  • 4LU电机控制
    【实例简介】控制电机
    2021-09-12 00:31:01下载
    积分:1
  • task9
    自己制作了一个日历,是用calendarView写的,可以添加事务。但由于我没写数据库,所以还不能保存事务,只是给大家写了一个模板吧,大家可以连本地数据库,也可以链接云端。(I made a calendar to add transactions. But because I did not write the database, so I can not save the transaction, just write a template for you, you can connect to the local database, you can also link to the cloud.)
    2020-06-21 14:20:02下载
    积分:1
  • compass
    说明:  简单指南针,实现指南针的功能,新手使用 Android Studio(Simple compass, realize the function of compass, novice use)
    2018-12-25 11:38:41下载
    积分:1
  • Adroid 手机电话录音
    用于记录调用上你的手机在运行时......这是艾弗里好应用 oimfoirnkl 兰桂坊 vkrv v、 lk kz k、 d、 v、 d lkv lkk femfm ck、 l、 s 拼箱、 rgzrghtrhtr
    2022-01-24 16:41:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载