全部 文章 问答 分享 共找到118个相关内容
[问答] Linearlayout均分布局怎么实现
img src="https://images.sunofbeaches.com/content/2022_07_19/999096691028131840.png">

想请教一下,父布局是Linearlayout

2022-07-19 23:37 · 布局
[问答] 请问TextView怎么放到LinearLayout的最右边

试过了套两层LinearLayout和RelativeLayout,好像都不行欸......

2023-01-31 13:51 · 领券联盟
[问答] Android Studio:LinearLayout内的RecycleView item点击后无响应
content/2022_11_05/1038578832291921920.png">

加在了item.xml的根元素上,不过小白俺不知道加的位置对不对,干脆给嵌套有RecycleView的LinearLayout

2022-11-05 22:24 · AndroidStudio / RecycleView / 点击事件
[问答] as代码自动填充问题
Android studio 2021

问题:代码只会自动填充第一级的元素里,如果我这么写

<LinearLayout
2022-07-06 19:37 · Androidstudio / as / 安卓 / 编程
[问答] Recycleview每次更新数据item都会左移
添加item,但是每次添加后的item都会左移,应该怎么解决

item 的布局代码

<LinearLayout
2022-05-19 11:44 · 安卓
[文章] Android——RecyclerView宽高自适应填充
quot;match_parent"为例,此时横方向为自适应,纵方向无限延展-将Item的android:layout_height设置为"match_parent"-自定义LinearLayout
2020-04-28 15:04 · Android / RecyclerView / 动态布局 / 自适应
[问答] 自定义View集成MagicIndicator后titleIView不显示文字
"曹杨三村219号"android:gravity="center"android:layout_width="260dp"android:layout_height="40dp"/></LinearLayout
2020-08-31 14:12 · MagicIndicator / android
[问答] RecyclerView in ScrollView 加载一次内存增加一次问题
<SmartRefreshLayout><Header/><NestedScrollView><LinearLayout><Banner/>&
2019-12-29 20:07 · RecyclerView / ScrollView
[文章] android-UI学习记录-CSDN个人主页
></LinearLayout></LinearLayout><LinearLayoutandroid:id="@+id/study"android
2020-01-17 12:07 · android学习
[问答] 这个输入框怎么才能在别的控件的上面
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http:
2022-02-19 01:50 · Android
[问答] 线性布局问题?
="anjiansi"android:text="按键四"android:textColor="@color/colorAccent"android:textSize="30sp"/></LinearLayout
2020-05-13 11:05 · 布局
[文章] Android-View体系
比如说LinearLayout里面还可以放LinearLayout吧!
2019-11-02 18:26 · 自定控件 / 自定义View / android / View / ViewGrop
[问答] this.addView(l_view);//把l_view增加到当前容器 调用这个会崩溃?
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http:
2022-12-11 09:41 · Android
[问答] Android这个输入框bug怎么解决
>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

  

2022-02-15 00:13 · Android
[文章] 关于阿拉伯语镜像翻转的一个坑
quot;android:background="@color/black"android:layout_marginStart="10dp"/></LinearLayout
2022-07-11 15:35 · Android
[问答] android studio 闪退
android.view.ViewGroup.layout(ViewGroup.java:6335)

    at android.widget.LinearLayout.setChildFrame

2021-05-26 17:32 · 异常
[文章] 利用Layout Inspectors 定位布局问题
引言最近在完成喜马拉雅项目时遇到了一点布局的问题,点击事件不生效,最后发现是父标签没有改成LinearLayout的缘故。有兴趣可以看看我遇到的问题。
2020-08-27 20:44 · Android
[文章] 自定义控件之onMeasure方法的研究整理
quot;heightMode-->"+heightMode);Log.i(TAG,"---onMeasurefinished---");}}将它添加到容器中,此处使用Linearlayout
2020-12-04 15:37 · Andorid / 自定义控件 / View
[文章] Android tv开发02强制聚焦到某个控件
"@null"android:nextFocusDown="@id/btn_zimi"android:text="大米"/></LinearLayout
2021-09-05 10:51 · TV / Android
[问答] 轮播图界面切换fragment出错
在首页装载轮播图后切换底部fragment报错: Attempttoinvokevirtualmethod'intandroid.widget.LinearLayout.getChildCount
2020-03-30 00:22 · 安卓
[问答] ViewPager+GridView 出现GridView 上下滑动的问题,是怎么回事呢?
pageIndex++;GridViewgridView=newGridView(mContext);LinearLayout.LayoutParamslayoutParams=newLinearLayout.LayoutParams
2020-10-22 10:36 · Android
[问答] 参照教程写的轮播图在结合底部导航栏后无法显示
imageViews = new ImageView[len]; FragmentManager fm = getSupportFragmentManager(); private LinearLayout
2022-07-06 23:53 · android
[问答] android写轮播图代码没问题,运行起来啥也不显示
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http:
[文章] 【领券联盟】笔记:视频42,43,44,45-NestedScrollView嵌套RecyclerView
newViewTreeObserver.OnGlobalLayoutListener(){@OverridepublicvoidonGlobalLayout(){intmeasuredHeight=homePagerParent.getMeasuredHeight();LinearLayout.LayoutParamslayoutParams
2020-04-02 00:05 · 课堂笔记
[问答] 关于Recycler的内容显示不了
wrap_content"android:layout_height="wrap_content"android:text="1000人已经购买"android:textColor="@color/colorGrey"/></LinearLayout
2021-01-10 22:32 · recyclerview
[文章] 【领券联盟】笔记:视频27-编写分类详情的item内容
:layout_height="match_parent"android:id="@+id/home_pager_content_list"/></LinearLayout
2020-03-29 20:05 · 课堂笔记
[问答] ViewPager内嵌RecyclerView如何才能使整个屏幕随RecyclerView一起滑动?
--这里又有一层LinearLayout是由于这个下拉刷新组件最多只能有3个直接子View--><LinearLayoutandroid:layout_width="match_parent"android
2020-02-13 15:04 · ViewPager / RecyclerView / 嵌套 / 屏幕滑动
[问答] 一个最简单的问题,求个大佬!!!!
viewModel" type="com.wingderm.welcome.CounterViewModel" /> </data> <LinearLayout
2023-07-10 14:58 · kotlin
[问答] 求助各位大神==封装公共头部遇到的问题
public class Header extends LinearLayout {
    public Header
2021-10-15 19:02 · android
  • 1
  • 2
  • 3
  • 4