腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
RecyclerView子代
match_parent
、
、
、
schemas.android.com/apk/res-auto" android:layout_width="
match_parent
layout_editor_absoluteY="81dp"> android:id="@+id/list_text_primary"
浏览 1
提问于2017-07-21
得票数 1
1
回答
Android :布局宽度从
match_parent
自动更改为
match_parent
我已经将布局宽度设置为"
match_parent
“,并在”设计与蓝图“中将其视为匹配的父级宽度,但在执行过程中,布局宽度会自动更改为"wrap_content”。tools="http://schemas.android.com/tools" android:layout_width="
match_parent
" android:layout_height=&
浏览 5
提问于2022-08-08
得票数 0
回答已采纳
2
回答
CoordinatorLayout -
match_parent
不工作
、
然而,如果我把ViewPager的尺寸设置为
match_parent
,一切似乎都很好,但是,在底部,ViewPager的egde就会离开屏幕。android.support.design.widget.AppBarLayout android:layout_width="
match_parent
android.support.v7.widget.Toolbar android:id="@+id/
浏览 1
提问于2017-10-08
得票数 0
回答已采纳
4
回答
Listview不会
match_parent
、
schemas.android.com/apk/res/android"android:layout_width="
match_parent
"android:background="#ffa500" android:orientation=&
浏览 0
提问于2014-02-07
得票数 3
回答已采纳
1
回答
片段不
match_parent
、
、
没关系,但我不能在第二张卡的高度上设置一个
match_parent
。我想用剩下的空间。" android:fitsSystemWindows="true" android:layout_height="
match_parent
" android:background="@drawable
浏览 3
提问于2016-08-22
得票数 1
1
回答
如何制作ImageView "
match_parent
"?
、
、
、
我试过拖拽它和
match_parent
,但还是没有运气。图像的下角应位于视图的底部角。不过,它的高度必须保持不变。这是我到目前为止拥有的XML。schemas.android.com/apk/res/android"android:layout_width="
match_parent
" android:layout_height="<
浏览 2
提问于2013-09-06
得票数 2
回答已采纳
3
回答
TableLayout拒绝
match_parent
、
、
、
事情是这样的:当它在那里添加时,项目的宽度不会拉伸到
match_parent
,而是包装内容。它在ListView中使用,因此其宽度需要为
match_parent
。> android:layout_width="
match_parent
>
浏览 1
提问于2017-10-04
得票数 2
回答已采纳
1
回答
ProgressBar height=
match_parent
、
、
schemas.android.com/apk/res/android" android:layout_width="
match_parent
android:attr/progressBarStyleHorizontal"
浏览 1
提问于2014-02-26
得票数 3
1
回答
FrameLayout不
match_parent
、
、
当我查看hierarchyView时,我的FrameLayout似乎与父FrameLayout不匹配,但是我的所有
match_parent
都是用
match_parent
宽度和高度设置的。" tools:context=".MainActivity"android:layout_height="<em
浏览 5
提问于2016-09-12
得票数 0
1
回答
Xamarin
match_parent
在左边?
、
、
、
我正在尝试制作一个Android应用程序,在顶部显示空间使用情况。我希望左边有一个写着"Usage:“的TextView,右边有一个写着"x.x/x.x GB”的TextView,中间还有一个水平的ProgressBar。我目前被困在ProgressBar部分:我想让它填充两个TextViews之间的空白,但不确定如何填充。
浏览 4
提问于2016-09-11
得票数 0
回答已采纳
2
回答
match_parent
破坏完整布局
、
、
我认为把它设置为
match_parent
会把它完全填满。相反,它破坏了整个布局。所有元素(这个视图中有更多元素)都消失了。 如何在布局中将ImageButton替换为RelativeLayout?
浏览 1
提问于2016-02-26
得票数 1
回答已采纳
1
回答
RecycleView inside NestedScrollView with
match_parent
、
当RecycleView拥有android:height="
match_parent
"时,它会在ScrollView中扩展到完全高度。" android:fillViewport="true"> android:layout_height="
match_parent
" android:o
浏览 23
提问于2016-03-18
得票数 0
1
回答
NestedScrollView高度不是
match_parent
、
" android:layout_width="
match_parent
" android:background="android:layout_width="
浏览 0
提问于2015-09-15
得票数 4
回答已采纳
1
回答
Match_parent
属性的用途
、
我第一次在来自互联网的代码中遇到了一个属性"
Match_Parent
“。在此之前,我一直在使用Fill_Parent和Wrap_Content。我想要什么:,
Match_parent
属性的目的是什么?
浏览 2
提问于2011-08-05
得票数 1
回答已采纳
1
回答
match_parent
是如何工作的?
、
、
现在,如何与
match_parent
一起工作呢?视图不能计算它的大小,因为它必须首先知道父视图的大小,对吗?所以家长必须计算它自己的大小,然后把它发送给孩子,然后孩子可以继续它自己的布局。这会使
match_parent
比wrap_content甚至固定的dp值更低效吗?
浏览 7
提问于2014-09-04
得票数 0
回答已采纳
1
回答
RelativeLayout
match_parent
不工作
、
、
<RelativeLayout xmlns:android="“xmlns:tools="”“android:layout_width="
match_parent
”android:background="@drawable/ic_shade“android:layout_height=”
match_parent
> <TextView android:layout_width="
match_parent
“android:layout_height=
match
浏览 2
提问于2015-06-15
得票数 0
2
回答
match_parent
兼容性
、
默认情况下,宽度或高度将使用"
match_parent
“属性。是否应该修改为fill_parent,以确保设备与android 2.2以下的设备向后兼容?
浏览 0
提问于2011-07-04
得票数 6
回答已采纳
1
回答
WindowManager addView()不尊重
MATCH_PARENT
、
、
、
、
>android:layout_width="
match_parent
"android:orientation="vertical"> androi
浏览 0
提问于2018-04-07
得票数 2
回答已采纳
4
回答
match_parent
不工作的xml
、
我试图让按钮改变上下文的一部分,但是
match_parent
不能正常工作。android:text="@string/navbar_1" android:layout_height="
match_parent
android:text="@string/navbar_2" andro
浏览 6
提问于2014-12-25
得票数 1
回答已采纳
3
回答
FILL_PARENT和
MATCH_PARENT
、
、
现在,我在整个应用程序中都在使用
MATCH_PARENT
。我已经决定让Android2.1用户可以使用这个应用程序,但
MATCH_PARENT
直到Android2.2才推出 如果我想让我的应用程序在安卓版本2.2及以上的时候使用
MATCH_PARENT
,但如果安卓版本是
浏览 2
提问于2012-03-31
得票数 9
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券