腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Android
TextView
无用
填充
问题
android
、
textview
、
padding
我在
android
TextView
上遇到了
问题
。在
TextView
中有不想要的空间,空间只是偶尔才会出现。对于上面的参考附图,您可以在
TextView
的右端看到一些额外的空间。请帮帮我。下面是xml代码 <
TextView
android
:layout_height
android
浏览 19
提问于2019-09-13
得票数 0
1
回答
神探夏洛克( Sherlock actionBar.setIcon(
android
.R.color.transparent) )向左留下空白
android
、
actionbarsherlock
问题
:代码:actionBar.setDisplayShowCustomEnabled(true);="http://schemas.
android
.com/apk/res/
android
"
android
:layout_heig
浏览 1
提问于2013-12-03
得票数 1
回答已采纳
1
回答
Android
自定义操作栏未
填充
父级,标题未居中对齐
java
、
android
、
user-interface
、
android-actionbar
我一直在尝试以下
问题
:我已经创建了一个自定义操作栏:
android
:id="@+id/action_bar_ti
浏览 4
提问于2013-10-16
得票数 3
2
回答
我怎样才能在
Android
上形成一个网络视图呢?
android
、
xml
、
layout
、
android-activity
我想在不干扰我的背景图像的情况下
填充
我的文本视图,但是当我在相对布局上做
填充
时,它会从四面八方对我的背景进行裁剪,而且当我尝试从文本视图
填充
我的文本时,它会对我的文本进行
填充
。这是我的密码 xmlns:tools="http:
浏览 1
提问于2014-02-19
得票数 1
回答已采纳
5
回答
将内容换行为数字
android
、
android-layout
、
textview
我想在
TextView
上使用wrap_content,我只保存了数字(和coma),但我注意到这占用了比所需更多的空间(就好像为字母保留了空间一样)。此处显示:
android
:orientation="vertical" > <
TextView
android
:id="@+id/
浏览 0
提问于2013-05-24
得票数 0
回答已采纳
2
回答
如何在
android
中获取多行
TextView
的最大宽度?
android
、
layout
、
uiview
、
uitextview
我是一个新的
android
,面临着如何获得多行
TextView
的最大宽度的
问题
。我使用了
textview
.getWidth()和
textview
.getMeasuredWidth(),但两者都提供了
无用
的值。 我也使用了
textview
.length(),但返回为零。请注意,我还没有设置
TextView
.I的最大宽度。我想在运行时获取它。
浏览 0
提问于2011-06-16
得票数 0
回答已采纳
3
回答
如何删除可下载字体中过多的行距?
android
、
android-fonts
我担心使用
android
:lineSpacingMultiplier可能会“裁剪”一些字符。下面是我的布局xml:
android
:layout_height="match_parent" <
TextView
android
:textSize=&quo
浏览 0
提问于2018-04-05
得票数 7
3
回答
如何实现圆角的桌子?
android
、
user-interface
、
border
这就是我想要的:这就是我所做的:不同之处在于线和边框之间有一些空格,因为我使用padding=10dp作为外边框: <solid
android
:color="#FFFFFF"/> <stroke
android</
浏览 1
提问于2012-09-13
得票数 3
回答已采纳
2
回答
Android
布局中的边缘崩溃
android
、
android-layout
、
margin
在
Android
系统中,利润率有可能大幅下降吗?假设我有一个LinearLayout,并添加了三个TextViews,每个
TextView
都有一个
android
:layout_margin of 10dp。我得到以下结果:然而,我想得到这样的结果:我知道我可以通过为不同的项目设置不同的上/下边距来解决这个
问题
: 将剩余的上
浏览 0
提问于2012-07-31
得票数 19
回答已采纳
3
回答
如何在Notification中选取文本内容?
android
、
notifications
文本内容太长,无法在通知中显示,因此被剪切。我能做什么?请帮帮忙。
浏览 0
提问于2011-10-25
得票数 6
3
回答
如何让视图在我的
Android
应用程序中填满其父视图的全宽?
android
、
layout
、
width
、
parent
> <TableLayout
android
:id="@+id/TableLayout01"
android
:layout_width="fill_parent"
android
:layout_height="fill_parent" xmlns:
android
="http://schemas.
android
.com/apk/res/
android
浏览 0
提问于2010-03-09
得票数 18
回答已采纳
4
回答
我的布局不对齐文本视图它不显示在上面的按钮
android
<
TextView
android
:layout_weight="1"="#000000" />
android
:id="@+id/tue"
android
浏览 5
提问于2013-09-09
得票数 0
回答已采纳
1
回答
按惯例将3张拉伸的
Textview
放在一行的相对布局中
android-layout
、
android-relativelayout
、
textview
、
android
请不要把这个
问题
标记为重复。为什么?因为我要解释为什么不是。以下是我所做的工作: 第三次
Textview
浏览 1
提问于2014-05-14
得票数 0
回答已采纳
2
回答
选定的项目不会显示在微调器
android
上
java
、
android
、
android-spinner
问题
是,当我选择一个项目时,它不会显示在微调器上,但当我使用
android
微调器样式时,它会显示我在微调器上选择的内容。有没有更多的代码需要添加才能使其正常工作?否则,微调器的所有功能都会正常工作。inflater=getLayoutInflater();
TextView
label=(
TextView
)row.findViewById(R.id.
textView</e
浏览 3
提问于2013-01-05
得票数 1
回答已采纳
2
回答
现在显示了嵌套
TextView
中的LinearLayout。
xml
、
android-layout
在代码下面运行之后,不会显示
TextView
3。当我以LinearLayout2作为vertical的方向运行代码时,
TextView
2和
TextView
3都会显示出来。="match_parent" >
android
:id="@+id/
TextView
1"
android
:layout_width="match_parent=&quo
浏览 3
提问于2014-01-20
得票数 0
回答已采纳
2
回答
Android
:无法设置标牌
android
、
xml
、
marquee
我无法在
android
中实现Marquee文本视图。谢谢。"
浏览 5
提问于2014-03-22
得票数 2
回答已采纳
4
回答
TextView
选框不起作用
android
、
textview
、
marquee
下面是我的xml:
android
:layout_width="320dp"
android
:layout_alignParentTop="true"
android
:ellipsize="marque
浏览 0
提问于2012-05-05
得票数 2
2
回答
如何在
Android
中对齐表格内容
android
<TableRow
android
:layout_margin="0dp"
android
:id="@+id/myRow"> <
TextView
android
:id="@+id/myTitle"
android
:layout_span="5"
android
:text=""
android
:layout_gravity="
浏览 4
提问于2011-09-08
得票数 1
4
回答
Android
: ListView的页边距/
填充
没有将边距应用到标头上?
android
、
android-layout
、
android-listview
是否可以在不将页边距应用到标头的情况下为ListView提供页边距/
填充
?我希望我的ListView像谷歌现在的布局。除了这个小
问题
外,我已经把一切都做好了。
问题
:是否可能不将ListView的布局参数应用于其标头?紫色视图是listView的标题。我尝试过在列表项目中添加页边距,layout.This也不起作用。="vertical" >
android
:id="@+id/
te
浏览 0
提问于2012-12-27
得票数 4
回答已采纳
2
回答
How to RelativeLayout Align Center
android
android
、
textview
、
android-relativelayout
"
android
:orientation="vertical" >
android
:id="@+id/
textView
1"
android</e
浏览 1
提问于2014-06-24
得票数 6
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android中的样式和主题
为什么推荐使用Kotlin进行开发
详解 EditText 输入框
存储安全(四)
Android Weekly Notes Issue#317
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券