腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
在
ConstraintLayout
中
TextView
被
切断
、
、
、
、
当我运行这个应用程序时,我的文本视图的下半部分被
切断
了,我不知道为什么。 也许你可以发现一些可疑的东西: <?xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/resandroid:layout_height=&quo
浏览 25
提问于2019-12-20
得票数 1
回答已采纳
1
回答
app:layout_constrainedWidth
在
ConstraintLayout
中
的用途是什么?
、
、
、
我正在尝试查看app:layout_constrainedWidth="true"
在
ConstraintLayout
中
的使用示例,但我并没有取消对该属性的使用。
浏览 9
提问于2022-11-11
得票数 0
2
回答
ConstraintLayout
在
TextView
中
切断
太长的文本
、
、
> android:layout_width="match_parent" &l
浏览 6
提问于2020-06-05
得票数 3
回答已采纳
3
回答
ConstraintLayout
将
TextView
从屏幕上跳下
、
我有一个带有ImageView和
TextView
的XML文件。每次填充
TextView
时,文本都会从屏幕上消失。我查看了其他有同样问题的人,常见的解决方案似乎是将
Textview
的宽度设置为0dp。下面是我的
constraintLayout
XML文件: <android.support.constraint.
ConstraintLayout
xmlns:android="http://schemas.android.comlayout_constraintRight_
浏览 0
提问于2018-04-25
得票数 1
回答已采纳
2
回答
TextView
在
屏幕末尾
被
切断
、
我的应用程序
中
的
TextView
出现问题。到目前为止,它在我测试过的3部手机上都能正常工作,但不幸的是,它在运行MIUI ROM的手机上表现得很奇怪。字符串
在
屏幕的末尾
被
截断,而不仅仅是换行: 顺便说一句,这只是一个普通的
TextView
...this代码:android:id="@+id/scroll_view" android:layout_height="wrap_
浏览 1
提问于2012-06-10
得票数 2
2
回答
TextView
内容
在
底部
被
切断
、
、
、
、
在
我的应用程序
中
,指定为R.id.text3的
TextView
有时会显示半行来截断其内容。此外,椭圆大小也不起作用。从布局
中
,你看到我必须添加什么了吗,这样文本就可以去掉分隔线,并(
在
最好的情况下)
在
结尾处省略。 android:orientation="vertical"
浏览 0
提问于2019-05-18
得票数 1
3
回答
ConstraintLayout
切断
文本视图中的文本
、
、
我有一个有几个视图的
ConstraintLayout
,由于某种原因,我的
textview
在
句子末尾
被
切断
了。
textview
被
限制
在
左边和顶部。我是tv_product_description
textview
。<android.support.constraint.
ConstraintLayout
浏览 4
提问于2017-05-02
得票数 16
回答已采纳
1
回答
在
ConstraintLayout
中
右边的文本视图,文本
被
切断
、
、
我
在
安卓系统中使用
ConstraintLayout
布局。我要我的图片在左边,我的文本
在
我的形象的右边。 xmlns:android="http://schemas.android.com/apk/res/androidlayout_const
浏览 0
提问于2018-05-31
得票数 0
回答已采纳
1
回答
回收站高度截止
、
、
、
CoordinatorLayout<AppbarLayout<CollapsingToolbarLayout<
ConstraintLayout
</
ConstraintLayout
></AppbarLayout>->scroll behaviour ->he
浏览 3
提问于2020-06-03
得票数 0
回答已采纳
3
回答
Android
TextView
:文本
被
切断
、
我正在经历一些
TextView
的奇怪行为,包括体重和很多行文字:正如您所看到的,最后一行文本
被
切断
了。我想要的是在前面一行(quis.)末尾对文本进行省略。我的密码在这里: android:layout_weight="2" <
TextView
reiciendis voluptati
浏览 4
提问于2013-12-05
得票数 0
4
回答
滚动
TextView
值
被
切断
、
、
、
、
android:ellipsize="marquee"但是文本值
被
“.”
切断
了,问题是什么? t.setMovementMethod(new ScrollingMovementMethod());
浏览 5
提问于2015-11-06
得票数 3
回答已采纳
2
回答
androidx.
constraintlayout
.widget.
ConstraintLayout
不能转换为android.widget.
TextView
Caused by: java.lang.ClassCastException: androidx.
constraintlayout
.widget.
ConstraintLayout
cannot becast to android.widget.
TextView
import androidx.appcompat.app.AppCompatActivityimport android.widget.
TextView
class Main
浏览 3
提问于2022-03-15
得票数 0
回答已采纳
2
回答
在
安卓的
ConstraintLayout
中使用LinearLayout是明智的吗?
、
我是安卓系统
中
的
ConstraintLayout
新手,也是安卓系统的新手。我有个问题。
在
ConstraintLayout
中使用LinearLayout是明智的吗?例如:<android.support.constraint.
ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/tools:layout_editor_absolute
浏览 17
提问于2017-08-11
得票数 38
回答已采纳
2
回答
TextView
在
应用BlurMaskFilter时
被
切断
、
、
我想模糊一个
TextView
的文本,但文字
被
切断
左和右。 我试着增加垫子和毛利。更改重力,启用/禁用字体填充。设置一个固定的高度,降低字体大小等,所有的结果是相同的:边
被
切断
。掩码过滤器的设置仅为两行:
textView
.postInvalidate() 我的XML布局是这样的:
浏览 1
提问于2019-05-13
得票数 2
3
回答
Android -约束布局不尊重边距?
、
我对
ConstraintLayout
非常陌生,
在
利润率方面也有问题。我有下面的layout文件,但是我试图让layout
在
左边有一个20dp边距,而把
TextView
保持在那个边距的左边。> xmlns:android="http://schemas.android.com/apk/resapp:layout_constraintTop_toBo
浏览 0
提问于2018-07-25
得票数 4
回答已采纳
2
回答
TextView
和EditText
在
LinearLayout
被
切断
、
、
、
、
我有一个具有水平方向的LinearLayout,其中动态地添加了一些
TextView
和EditText。我的问题是,当
TextView
很长时,它会被
切断
(按高度),而EditText是不可见的。 将填充添加到视图中并不能解决问题。当设置LinearLayout minHeight值时,
TextView
将正确显示,但EditText仍然不可见。LinearLayout.LayoutParams.WRAP_CONTENT);
浏览 5
提问于2015-05-25
得票数 1
回答已采纳
2
回答
ConstraintLayout
中
的定位会导致HorizontalScrollView
切断
内容
、
、
、
、
<android.support.constraint.
ConstraintLayout
android:layout_heightparent" <
TextView
android:lines="1"
浏览 3
提问于2018-01-12
得票数 0
回答已采纳
2
回答
试图以编程方式向Kotlin
中
的ContraintLayout添加视图的奇怪行为
、
、
我是从iOS开发人员背景下来到安卓的,在编程添加视图时,要让
ConstraintLayout
正确工作有一些困难。我有一个非常简单的活动,其中有一个
ConstraintLayout
和一个按钮,放在Android设计窗口中。当按下按钮时,我将添加一个
textView
和另一个按钮。我试图约束它们,使它们与
ConstraintLayout
顶部的距离相同,而
textView
的前缘
被
限制
在
ConstraintLayout
的左侧,按钮
被
限制
浏览 0
提问于2018-04-15
得票数 1
回答已采纳
2
回答
如何使用约束布局动态绘制另一个视图
、
、
、
、
ImageView,
在
顶部是
TextView
.这是这个布局的代码。
ConstraintLayout
layout = (
ConstraintLayout
)view.findViewById(R.id.ll_seasonFragment);
TextView
textView
= new
TextVie
浏览 3
提问于2017-09-18
得票数 1
1
回答
setLayoutParams on
ConstraintLayout
不更改大小
、
现在一切都可以通过使用
ConstraintLayout
很好地工作,
TextView
2 1的左边
被
限制
在
TextView
2 2的左边,
TextView
2 2的宽度是wrap_content。它的宽度为0,因此也是
TextView
1 (因为它的左边
被
限制
在
TextView
1 2的左边)。然后,我尝试使用以下代码将
TextView
2 2的高度设置为0:
ConstraintLayout</
浏览 3
提问于2017-10-20
得票数 7
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
突发,芯片巨头富士康退路被切断,iPhone14价格加速爆降中
“在篮球场上被篮球砸中后,被要了微信号,差点被气死了!”哈哈哈……
为什么ConstraintLayout代替其他布局?
某用户在YouTube中炫耀多个LayerZero地址后被举报为女巫
在区块链这波炒币热潮中,如何避免被收智商税
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券