腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
layout_constraintStart_toStartOf
="
parent
“
在
RTL
中
中断
android
、
android-layout
、
android-constraintlayout
、
right-to-left
我有一个布局,它支持
RTL
。它在Android studio的预览中看起来很好,
在
默认地区的设备上看起来也不错,但在阿拉伯语地区就坏了。开始有一个图像,结尾有一个按钮,中间有两个文本。下面是它在预览
中
的设计和外观: ? 由于某种原因,
在
阿拉伯语语言环境
中
,按钮和图像都放在末尾。因此,文本没有空间,也不显示,但视图高度比预期的要大得多。 ? 此布局放置
在
单独的文件
中
,并包含在include标记
中
布局如下: <android.suppor
浏览 152
提问于2019-03-24
得票数 1
3
回答
Jetpack组合TextField
RTL
支持
textfield
、
android-jetpack-compose
XML TextField,自动响应
RTL
文本并将其对齐。app:layout_constraintBottom_toTopOf="@id/button_first" app:
layout_constraintStart_toStartOf
="
parent
" app:layout_constraintTop_toTopOf=
浏览 16
提问于2021-12-08
得票数 5
回答已采纳
1
回答
RecyclerView项目未按预期显示
android
、
android-layout
、
android-recyclerview
您好,很抱歉没有在这个页面上添加图片,我还没有足够的声誉 app:
layout_constraintStart_toStartOf
="
parent
" app:layout_constraintEnd_toEndO
浏览 12
提问于2020-05-22
得票数 1
回答已采纳
1
回答
当reCreate
在
片段
中
时,如何修正ChipGroup的方向?
android
、
android-layout
、
material-design
、
android-chips
ChipGroup
在
HorizontalScrollView
中
存在。我正在以编程的方式创建芯片。 <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_
parent
&
浏览 4
提问于2022-06-19
得票数 0
4
回答
android :是约束布局支持
RTL
android
、
right-to-left
在
android中支持
RTL
约束布局的最佳实践是什么, android:layout_height="match_
parent
"> android:text="@string/CourseName"="@+id/textView7" android:layout_marginTop="16dp"
浏览 15
提问于2017-02-17
得票数 18
回答已采纳
3
回答
约束布局alpha7 ConstraintCenterX/Y属性缺失
android
、
android-constraintlayout
我刚从com.android.support.constraint:constraint-layout:1.0.0-alpha5更新到com.android.support.constraint:constraint-layout:1.0.0-alpha5,但是layout_constraintCenterX_toCenterX和layout_constraintCenterY_toCenterY不见了。他们是改了名字还是换了两种观点。
浏览 3
提问于2016-09-13
得票数 1
回答已采纳
1
回答
片段
中
的选项卡布局(不显示片段)
android
、
android-fragments
" app:layout_constraintTop_toBottomOf="@+id/linearLayout" android:layout_width="match_
parent
"tabMode="fixed
浏览 0
提问于2019-02-03
得票数 0
回答已采纳
1
回答
Android:无线电按钮文本与数字不太一致
android
、
radio-button
、
alignment
、
text-alignment
我有一个无线电组与2个无线电按钮,我希望每个无线电按钮宽度是match_
parent
与文字对齐
在
左边。但我不知道为什么,第一个是对齐的,你可以
在
图片上看到 这是密码 android:id="@+id/rgPasswordSendMode" android:orientation="vertical" android:showDivider
浏览 4
提问于2021-10-04
得票数 1
回答已采纳
2
回答
为什么片段对话框
中
的ListView始终为空
java
、
android
、
android-fragments
、
dialog
、
android-alertdialog
对话框正常显示,但列表视图始终为空。下面是我启动Activity enter image description here时得到的结果 public class MainFragment extends Fragment { "Fes", "Tetouan", "Taza", "Rabat"};
浏览 32
提问于2020-10-21
得票数 0
2
回答
ConstraintView干扰显示键盘
java
、
android
、
android-studio
、
android-layout
、
android-constraintlayout
在
onCreate方法的MainActivity类
中
,我写了以下一行:
在
Android Manifest.xml
中
,我
在
活动
中
添加了一行: app:l
浏览 1
提问于2018-11-02
得票数 1
回答已采纳
1
回答
TextView提示搞乱了
RTL
重力
android
、
layout
、
textview
、
right-to-left
然而,
在
具有LTR值(英文文本)和gravity=“开始”或“结束”的
RTL
(希伯来语地区)
中
,它只是将文本推到一个提示大小的文本视图中。也许举例会更清楚:
RTL
语言环境和LTR文本的提示-这里的“数据A”场与重力“结束”推动它向右,而不是左,因为它是英语。“数据B”具有重力“启动”,因此情况相同,只是相反:提示是一个重要的问题,因为当我删除它们时,wrap_content会缩小视图和布局约束来完成它们的工作,即使
在
RTL
中
浏览 0
提问于2018-06-07
得票数 0
1
回答
当在片段中选择spinner项时,复选框消失。
android
、
kotlin
、
android-support-library
、
android-xml
、
android-support-design
" xmlns:app="http://schemas.android.com/apk/res-auto"" app:layout_constraintTop_toBottomOf="@+id&
浏览 8
提问于2020-05-23
得票数 4
回答已采纳
2
回答
ConstraintLayout ListView
RTL
有些行不是
RTL
android
、
android-layout
、
right-to-left
、
android-constraintlayout
在
我的ListView上,有些行不是
RTL
对齐。
在
滚动、和重绘之后,线条是正确的。="
parent
" android:id="" app:
layout_constraintStart_toStartOf
="
parent
浏览 0
提问于2018-06-27
得票数 4
1
回答
如何让onclick移除动态创建的listview Android
android
我正在开发一个需要从按钮事件的ListView
中
删除项目的应用程序。我尝试使用removeView方法删除该项目,但它不起作用 有没有人可以帮我
在
列表视图中点击一下,以便在点击bottun时移除该项目 下面是我的代码: package com.example.debt;" app:layout_constraintTop_toTopOf="
parent<
浏览 11
提问于2021-02-03
得票数 0
回答已采纳
2
回答
卡片视图标高未显示
android
我已经
在
cardview
中
添加了card_view:cardUseCompatPadding=" true“,并且我还尝试
在
android清单中将硬件加速设置为true。我还读到,如果我
在
cardview中使用填充,它可能会消除卡片视图的阴影。谁能让我知道我做错了什么。我可以
在
android studio中看到阴影,但在模拟器或真实设备上看不到。 android:te
浏览 0
提问于2017-11-01
得票数 1
2
回答
RecyclerView
RTL
一些未调整的项目
android
、
android-recyclerview
、
android-constraintlayout
、
right-to-left
该应用程序支持
RTL
,因此项目的布局是一个简单的Constraintlayout,包含三个元素: app:
layout_constraintStart_toStartOf
="
parent
" andr
浏览 5
提问于2022-02-07
得票数 0
2
回答
如何使无线电按钮与其文字对齐?
android
、
android-studio
、
android-layout
、
android-xml
、
android-radiobutton
android:layout_weight="1" android:layoutDirection="
rtl
android:layout_weight="1" android:layoutDirection="
rtl
attr/colorBackgroundFlo
浏览 0
提问于2018-11-03
得票数 0
回答已采纳
1
回答
ListView滚动条没有调整大小
java
、
android
、
android-studio
、
android-layout
、
listview
android:layout_weight="1" android:layoutDirection="
rtl
android:layout_weight="1" android:layoutDirection="
rtl
android:layout_weight="
浏览 0
提问于2018-11-03
得票数 0
回答已采纳
2
回答
EditText内部ConstraintLayout不能正常工作
android
、
android-layout
、
view
、
android-edittext
、
android-constraintlayout
我有一个AppCompatEditText作为搜索栏,FrameLayout作为一个“清除”按钮,两者都在ConstraintLayout
中
。app:layout_constraintBottom_toBottomOf="@+id/editText1" app:layout_constraintEnd_toEndOf="
浏览 1
提问于2019-12-26
得票数 0
回答已采纳
2
回答
如何在xml
中
设置RecyclerView的最大高度?
android
、
android-studio
、
android-recyclerview
在此处输入图像描述 <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_
parent
android:hint="@string/homeSearchHint"
浏览 37
提问于2020-08-13
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
利用intent向下一级activity传递数据
linux内核机制之设备树
技术分享 | 全面解读贯穿IC设计全流程的三大等价性验证功能
flutter输入框TextField中文本textAlign对齐分析篇
能耗换取灵活性,今天的 FPGA 走错路了?
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
云直播
实时音视频
活动推荐
运营活动
广告
关闭
领券