腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Android
:
ConstraintLayout
:
createHorizontalChain
()
不
工作
、
我认为最好的选择是
ConstraintLayout
,但是我尝试在一个干净的项目上实现它: fragment.xml: <androidx.
constraintlayout
.widget.
ConstraintLayout
xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:app="http://sch
浏览 75
提问于2020-12-03
得票数 0
回答已采纳
1
回答
createHorizontalChain
和createHorizontalChainRtl是否互换?
、
、
set.
createHorizontalChain
( at
android
.support.constraint.ConstraintSet.connect(ConstraintSet.java:922)
浏览 39
提问于2017-08-31
得票数 9
1
回答
ConstraintSet.
createHorizontalChain
IllegalArgumentException:链中必须有2个或更多小部件
、
、
我在使用
ConstraintLayout
设置水平链约束时遇到错误 E/AndroidRuntime: FATAL EXCEPTION: main at
android
.os.Handler.dispatchMessage(Handler.java:102) at
andro
浏览 25
提问于2019-04-11
得票数 1
回答已采纳
2
回答
Jetpack组合中约束布局的权重
、
是否有任何方法可以在中使用权重组成
ConstraintLayout
链,如: xmlns:
android
app:layout_constraintRight_toRightOf="parent" </
android
.suppo
浏览 4
提问于2021-01-10
得票数 8
回答已采纳
1
回答
Android
ConstraintLayout
-如何以编程方式设置chain_packed元素的边距
、
、
、
、
这是我的密码:buttonParams.setMarginsb.setLayoutParams(buttonParams); }set.
createHorizontalChain
b.setLayoutParams(buttonParams)
浏览 0
提问于2019-01-16
得票数 1
3
回答
CircleCI
Android
constraintLayout
不
工作
、
、
另外,我正在我的项目中实现新的
constraintLayout
。现在我被困在CircleCI大楼里了。: pre: - echo y |
android
update sdk --no-ui
浏览 4
提问于2016-07-05
得票数 10
回答已采纳
4
回答
如何为
ConstraintLayout
视图添加不同的权重
、
、
在我的布局中,我有一个包含两个TextView元素的
ConstraintLayout
。他们目前是相同的大小,但我希望他们有不同的权重与6:4比率。如何在我的
ConstraintLayout
中实现这一点
浏览 149
提问于2018-02-08
得票数 65
回答已采纳
1
回答
ConstraintLayout
中的NavigationView头没有完全宽度
、
、
、
app:itemTextColor="@color/mainGray"这是我的HeaderLayout <androidx.
constraintlayout
.widget.
ConstraintLayout
xmlns:
android
="http://schemas.
android
.com/apk/res/
andr
浏览 3
提问于2022-03-09
得票数 0
1
回答
ConstraintLayout
中的ProgressBar未显示
、
我有一个progressBar,它应该显示在
constraintlayout
中的按钮点击
不
工作
,我有newslist活动,它扩展了baseActivity扩展appCompatActivity<androidx.
constraintlayout<
浏览 1
提问于2020-11-25
得票数 0
2
回答
如何让
Android
Jetifier与数据绑定一起
工作
?
、
、
、
、
apply plugin: 'com.
android
.application'apply plugin: 'kotlin-
android
-extensionsapply plugin: 'com.
android
.library'apply plugin: 'kotlin-kapt&
浏览 96
提问于2019-04-01
得票数 2
1
回答
有没有办法让
ConstraintLayout
占屏幕宽度的75%?
、
、
、
> xmlns:
android
="http://schemas.
android
.com/apk> xmlns:
android
="http://schemas.<
浏览 3
提问于2022-04-15
得票数 0
2
回答
在安卓的
ConstraintLayout
中使用LinearLayout是明智的吗?
、
我是安卓系统中的
ConstraintLayout
新手,也是安卓系统的新手。我有个问题。在
ConstraintLayout
中使用LinearLayout是明智的吗?例如:<
android
.support.constraint.
ConstraintLayout
xmlns:
android
="http://schemas.
android
.com/apk/res/
android
&qu
浏览 17
提问于2017-08-11
得票数 38
回答已采纳
2
回答
Android
视图与父视图无关
、
、
、
我想做这件事,但我不知道怎么做
android
:layout_width="128dp"
android
:layout_height="110dp"
an
浏览 5
提问于2020-11-20
得票数 0
回答已采纳
1
回答
当softKeyBoard隐藏按钮和其他元素时,如何使布局滚动[
ANDROID
]
、
、
、
、
那些
不
工作
,我
不
希望那个按钮出现在键盘上 <androidx.
constraintlayout</e
浏览 3
提问于2021-12-03
得票数 0
2
回答
E/AndroidRuntime:致命异常:主进程: com.example.gameshopservicesdz,PID: 14488
、
、
: Binary XML file line #7: Binary XML file line #7: Error inflating class
android
.support.constraint.
ConstraintLayout
:1482) at
android
.os.Looper.loop: Binary XML file line #7: Binary XML file
浏览 6
提问于2022-03-27
得票数 2
回答已采纳
1
回答
MPAndroidChart - MarkerView不显示阴影
、
、
、
MarkerView的一个问题是阴影
不
工作
。相同的代码在活动的布局中
工作
。但是,如果我把它复制到MarkerView的布局中,当我运行这个应用程序时,阴影就不会显示出来。如下所示:
android
:layout_width="0dp"
android
android
:layout_width="
浏览 1
提问于2020-09-21
得票数 8
1
回答
如何在CoordinatorLayout中以垂直排列方式将一个视图放在其他两个视图之间?
、
现在,我尝试在我的AppBarLayout和RecylerView之间放置一个
ConstraintLayout
。
android
:layout_width="match_parent"
android
:theme="@style> <androidx.
constraintlayout
.widget.
ConstraintLayout</em
浏览 32
提问于2019-09-17
得票数 0
回答已采纳
1
回答
底部板材布局上的浮动按钮
我想设计一个底部的
工作
表,它将有一个TextView (“删除”)和一个浮动按钮('x'),如下所示: ? 我怎样才能让“x”出现在TextView布局上呢?://schemas.
android
.com/apk/res/
android
"
android
浏览 14
提问于2020-06-30
得票数 0
3
回答
如果设置布局宽度匹配,RecyclerView只显示一半屏幕
、
你好,我正在开发一个从服务器获取数据的应用程序,代码如下所示: xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:app="http://schemas.
android
.com/apk/r
浏览 2
提问于2018-08-02
得票数 0
回答已采纳
2
回答
如何在
Android
layout xml中通过数据绑定更改背景?
、
、
、
我想用下面的代码来改变
ConstraintLayout
的背景。 <?xml version="1.0" encoding="utf-8"?name="viewModel" <
android
.support.constraint.
ConstraintLayout</e
浏览 37
提问于2019-05-06
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
成长路线新感悟与约束布局
android适配鸿蒙需要做的开发工作
安卓启动报错未添加sqllite模块
为什么ConstraintLayout代替其他布局?
将Android应用修改为鸿蒙应用的工作
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券