腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(140)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
从
TextSwitcher
获取文本
如何在先前设置的
textswitcher
中获得文本。就像textview.getText()一样。我尝试过以下代码,但没有成功。
TextSwitcher
textSwitcher
= (
TextSwitcher
)findViewById(...);String currentlyShownText =
textSwitcher
.getT
浏览 5
修改于2016-11-21
得票数 7
回答已采纳
1
回答
单活动的多个
TextSwitcher
我假设在单个活动中只能存在一个
TextSwitcher
,但我找不到这方面的证实。或许我做错了什么,因为我是Android世界的新手。android:layout_height="wrap_content"> <
TextSwitcher
</
TextSwitcher
>
浏览 3
提问于2015-10-09
得票数 1
回答已采纳
1
回答
实现
TextSwitcher
我只是使用文本视图,但我想实现
TextSwitcher
,但我真的不知道如何实现。我知道如何使用ViewFlipper,但是viewflipper只用于静态间隔。(我想?)另外,不使用数组也可以使用
TextSwitcher
吗?我认为,我需要展示的文本太多了,不可能出现在一个数组中。
浏览 2
提问于2014-02-19
得票数 1
回答已采纳
4
回答
TextSwitcher
NullPointer错误
现在,在我的xml中,我在
TextSwitcher
中有一个类似于TextView的东西,只是为了增加数量。我用findViewById(R.id.quantity)获得了文本视图。这就是我必须找到的增量数量(我正在实现ViewFactory)switcher.setFactory我一直在这一行获取空指针:下面是XML代码片段: <
TextSwitcher
android
浏览 1
修改于2011-06-15
得票数 9
回答已采纳
1
回答
textswitcher
更改默认淡出
我使用这段代码来创建一个
textswitcher
,我希望通过值设置一个不同的淡出时间。如何创建其他xml来设置几个淡出?mSwitcher = (
TextSwitcher
) findViewById(R.id.switcher);Animation in = AnimationUtils.loadAnimation
浏览 2
修改于2013-01-02
得票数 1
1
回答
TextSwitcher
和ImageSwitcher的链接动画
我有一个带有
TextSwitcher
和ImageSwitcher对象的android studio项目,它们已经设置好了,并且(同时)可以完美地工作。问题是,我希望首先执行
TextSwitcher
的动画,然后是ImageSwitcher的动画(在
TextSwitcher
动画结束之后)。我尝试将AnimationListener添加到
TextSwitcher
中,并在AnimationListener的“onAnimationEnd”方法中更改ImageSwitcher的图像,但不起作用, R.anim.fade_out);
浏览 6
修改于2016-07-02
得票数 0
2
回答
在Android
textSwitcher
中使用上标
我不能设法让我的
textSwitcher
能够支持上标文本。无论我尝试什么,它都会显示为常规大小的文本。我的
textSwitcher
代码供参考: android:layout_width="match_parent
浏览 0
修改于2010-10-31
得票数 1
回答已采纳
2
回答
安卓-
TextSwitcher
-变更TextView
创建一个改变文本的动画的唯一方法似乎是使用
TextSwitcher
。我试着使用以下代码: quoteSwitcher = (
TextSwitcher
android:orien
浏览 4
修改于2014-11-17
得票数 1
1
回答
TextSwitcher
动画定制
我可以在TextView中使用
TextSwitcher
动画吗?
浏览 1
修改于2012-12-31
得票数 1
3
回答
用于TextView的自动尺寸
TextSwitcher
我如何才能在
textSwitcher
中使用它?
浏览 1
修改于2019-02-24
得票数 0
回答已采纳
1
回答
基于颤振的
TextSwitcher
实现
我还没有在颤振上找到任何
TextSwitcher
。在Android上,
TextSwitcher
会切换动画中添加了淡出/淡出的文本。在颤振上有实现吗?我需要白手起家吗?如果是这样,您将如何实现它?
浏览 3
提问于2017-05-25
得票数 1
回答已采纳
2
回答
使用动态生成的Textview创建Android
TextSwitcher
我打算用TextView创建一个类似画廊的
TextSwitcher
,如下所示:当我单击选定的TextView时,将启动一个活动。APIdemo没有向我展示如何在
TextSwitcher
中使用TextView。
浏览 2
修改于2019-06-10
得票数 0
回答已采纳
4
回答
将TextView从xml加载到
TextSwitcher
中
private
TextSwitcher
textSwitcher
; {= (
TextSwitcher
) findViewById(R.id.
textSwitcher
);
textSwitcher
.setOutAnimation(out);
浏览 1
修改于2012-07-22
得票数 10
回答已采纳
1
回答
不单击按钮的
TextSwitcher
Java文件{ ButtonbtnNext; String textToShow[]={"Main HeadLine","Hello// get The references btnNext=
浏览 0
提问于2015-08-21
得票数 2
1
回答
如何在setViewValue中避免TextView/
TextSwitcher
更新?
我在setViewValue的代码中更新了
TextSwitcher
的文本。但是如果数据库的值没有改变,我想避免它的更新。columnIndex) { switch(viewId) {
TextSwitcher
twTime = (
TextSwitcher
) view; if (
浏览 0
修改于2011-05-23
得票数 2
回答已采纳
1
回答
findViewById of
TextSwitcher
替换片段后返回null
ft.commit(); if(
textSwitcher
return inflater.inflate(R.layout.fragment_display, container, false);fragment_display.xml <
TextSwitcher
浏览 3
提问于2014-05-02
得票数 1
回答已采纳
1
回答
在
TextSwitcher
中使用BaseAdapter的SetText
我有一个带有ImageSwitcher、缩略图库和
TextSwitcher
的布局。我想让
TextSwitcher
根据选择的缩略图来更新文本。我曾尝试使用baseadapter来更新
TextSwitcher
,其方式与ImageSwitcher更新ImageView中的图像的方式类似,但我在这里遇到了麻烦。任何帮助都将不胜感激!谢谢!mTextSwitcher = (
TextSwitcher
) findViewById(R.id.
textSwitcher
1); mSwitcher = (Ima
浏览 2
修改于2011-08-15
得票数 0
回答已采纳
1
回答
调用
TextSwitcher
()时抛出“多个视图”错误
当调用
TextSwitcher
.setFactory()方法时,会抛出错误并终止应用程序;如果我不调用.setFactory(),程序将继续运行,不会出现错误。int position, View convertView, ViewGroup parent) ViewGroup listItem = null;
TextSwitcher
stockSymbolTS = null;
TextSw
浏览 4
提问于2014-06-12
得票数 0
回答已采纳
2
回答
TextSwitcher
中的格式化文本?
我使用的是
TextSwitcher
,但是setText()方法接受的是CharSequence而不是resID整数。如果我使用getString(resID),格式化就会被剥离。有没有办法让格式化的文本(粗体和斜体)在
TextSwitcher
中显示
浏览 1
提问于2011-09-05
得票数 0
回答已采纳
1
回答
TextSwitcher
中的Android滚动文本
当我尝试使用子文本视图的setTextMovement方法时,
TextSwitcher
停止了对水平滑动手势的监听。 是否有人成功地在
TextSwitcher
中显示了可滚动的文本视图。
浏览 1
提问于2013-05-04
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
点击加载更多
领券