腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
将
LinearLayout
放入
LinearLayout
数组
、
但是在每3次计数中,我想创建一个新的
LinearLayout
。final
LinearLayout
[] ll2 = new
LinearLayout
[10]; // create an empty array; { final
LinearLayout
[] ll2 = new <
浏览 0
提问于2013-03-05
得票数 0
2
回答
LinearLayout
中的Android
LinearLayout
?
> xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" <
LinearLa
浏览 0
提问于2011-10-01
得票数 4
回答已采纳
1
回答
用于
LinearLayout
重力的Droid
LinearLayout
、
所以我创建了一个转换器来检查这个项目并设置一个
LinearLayout
重力。正在调用转换器,它将“正确”地返回右或左,但没有设置
LinearLayout
。线性布局如下: android:orientation="vertical" androidInclude(Button button) button.Click += (s,e) => b
浏览 5
提问于2014-10-24
得票数 1
回答已采纳
3
回答
垂直
LinearLayout
内的水平
LinearLayout
、
、
、
我希望在垂直
linearlayout
中显示内容3的水平线性布局 只显示第一个Imageview,而他位于中间。activity_form" android:layout_height="match_parent"> android:textS
浏览 6
提问于2017-03-31
得票数 0
回答已采纳
1
回答
安卓2
LinearLayout
内
LinearLayout
、
、
>android:layout_width="fill_parent" android:orientation="vertical" > and
浏览 3
提问于2012-09-28
得票数 0
2
回答
LinearLayout
在
LinearLayout
全宽下面?
、
、
、
目前,TextView与ImageView位于同一个
LinearLayout
中,因此文本有时会运行到2行。我想要在它自己的行上得到文本,其中包含父元素的全部宽度,因此它将是屏幕的整个宽度。<
LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.comandroid:gravity=&qu
浏览 3
提问于2015-05-06
得票数 1
回答已采纳
3
回答
垂直
LinearLayout
中的水平
LinearLayout
、
、
、
、
RelativeLayout无法工作,因为您无法使它与
LinearLayout
相同的方式匹配它。android:layout_width="match_parent" android:layout_height=&qu
浏览 0
提问于2015-05-15
得票数 0
回答已采纳
1
回答
在RelativeLayout中将
LinearLayout
与
LinearLayout
对齐
、
、
、
、
我在一个RelativeLayout中有两个
LinearLayout
。第一个
LinearLayout
包含RecycleView/ScrollView,第二个
LinearLayout
包含一些按钮。我想将第二个
LinearLayout
设置在第一个
LinearLayout
之上,但在RelativeLayout的底部。请参见下图。 android:layout_width="match_parent" android:la
浏览 9
提问于2017-08-03
得票数 0
回答已采纳
3
回答
LinearLayout
嵌套
、
、
是否有可能创建一个方法来扩展布局(或动态创建它),向其添加特定视图(在本例中为TextViews),然后将布局返回为视图,这样我就可以(以某种方式)将其合并到另一个类的主布局中,就像嵌套一样,但需要动态添加元素?
浏览 0
提问于2013-07-11
得票数 1
回答已采纳
1
回答
LinearLayout
in ExpandableListView
、
、
、
, boolean isLastChild, View convertView, ViewGroup parent) {
LinearLayout
ll = (
LinearLayout
) v.findViewById(R.id.root); return v;} 其中linearOpt是包含大量
LinearLayout
对象的向量,我已经实例化了这些对象。theme = (
Linea
浏览 4
提问于2010-07-18
得票数 0
回答已采纳
3
回答
LinearLayout
引力
我需要得到
LinearLayout
重力的值。我检查了文档,只找到了如何设置它( setGravity(value) )。有没有人知道是否有办法得到
LinearLayout
引力? 谢谢
浏览 8
提问于2014-10-25
得票数 3
回答已采纳
1
回答
LinearLayout
问题
、
我正在尝试创建一个布局,其中包括一个
LinearLayout
。整个屏幕的XML是: android:layout_toRightOf="@+id/fileTypeSpinner"/>
浏览 2
提问于2011-03-20
得票数 0
2
回答
LinearLayout
重力
、
、
、
、
> android:layout_width="layout_height="wrap_content" android:textSize="19sp" />
浏览 2
提问于2014-03-02
得票数 2
回答已采纳
3
回答
CheckedTextView in
LinearLayout
、
<
LinearLayout
xmlnsandroid:layout_height="match_parent" </
Li
浏览 3
提问于2014-01-24
得票数 0
回答已采纳
2
回答
LinearLayout
队列
、
、
我将它们嵌套在一个
LinearLayout
中。<
LinearLayout
android:orientationvertical" android:layout_width="fill_par
浏览 0
提问于2011-05-11
得票数 0
回答已采纳
3
回答
填充
LinearLayout
?
、
、
、
例如,如果我有一个像下面这样的布局,只有屏幕的ListView部分是可滚动的,而我希望整个屏幕都滚动: android:layout_width="match_parentandroid:layout_width="match_parent" /> 是否可以像上面那样填充一个<
浏览 0
提问于2015-11-18
得票数 0
1
回答
空
LinearLayout
?
、
、
、
、
我正在尝试使用
LinearLayout
在移动设备上实现广告,因为我在谷歌发布的教程中看到过它。但是,我的
LinearLayout
总是返回null,我很长一段时间都没有找到解决方案。这是我的MainActivity.java: import android.widget.
LinearLayout
adView.setAdSize(AdSize.BANNER); adView.setAdUnitId("XXXXCo
浏览 1
提问于2014-03-17
得票数 0
2
回答
ListView in a
LinearLayout
、
、
在不使用XML代码的情况下,是否可以将ListView放在
LinearLayout
或任何其他布局中?position, long id) {
LinearLayout
LinearLayout
linearLayoutChild = (
LinearLayout
) linearLayoutParent.getChildAt(1);
浏览 8
提问于2014-08-22
得票数 0
回答已采纳
3
回答
覆盖
LinearLayout
、
、
<
LinearLayout
android:layout_height="wrap_content" app:layout_constraintStart_toEndOf="@id/item_title" /> </
Linea
浏览 7
提问于2022-05-31
得票数 0
回答已采纳
2
回答
LinearLayout
中心
、
、
我对
LinearLayout
中的对齐有一点小问题。下面是我的代码(从id,text,src中删除):<
LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="verticalandroid:layout_height="fill_parent"
浏览 2
提问于2010-07-26
得票数 4
点击加载更多
相关
资讯
ViewPager实现Tab页面
Day5 鸿蒙,是如何精简安卓应用的界面开发的
layout_gravity与gravity的区别,和padding margin的区别
放下一个人,很简单
做一个高一致性、高性能的Flutter动态渲染,真的很难么?
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券