腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
在
android
默认
项
目的
appbar
下面
填充
android
、
android-layout
我
在
Android
Studio中创建了一个
默认
的"tabs“项目,并用WebViews替换了选项卡视图中的片段。我找不到这个空间是从哪里来的,
在
WebView之上和
AppBar
之下。/
android
"
android
:id="@+id
浏览 26
提问于2019-10-04
得票数 0
回答已采纳
1
回答
CollapsingToolbarLayout
在
ImageView中显示
填充
底部
android
、
material-design
、
material-components-android
、
material-components
当
android
:fitsSystemWindows="true“和
android
:adjustViewBounds="true”
在
CollapsingToolbarLayout中用于ImageView时,其底部的
填充
物为ImageView </androidx.core.widget.NestedScrollView>
浏览 11
提问于2021-06-02
得票数 0
回答已采纳
1
回答
Android
弹出菜单自定义菜单项(
填充
,文字大小蚀刻。)
android
、
customization
、
padding
、
popupmenu
我正在为我的
android
应用程序实现一个弹出菜单。我希望能够自定义菜单中的项目并更改
默认
值(对于项目
填充
、页边距、
项
图标之间的
填充
等)。目前,我只能通过以下属性更改每个项
目的
文本颜色和大小:<item name="
android
:textSize">20
浏览 10
提问于2022-02-10
得票数 0
1
回答
如何在布局中间的ImageView中更改CollapsingToolbarLayout中工具栏的位置?
android
、
android-layout
、
android-toolbar
、
android-collapsingtoolbarlayout
、
android-appbarlayout
我想建立一个类似的布局:
默认
布局如下所示:
android
:fitsSystemWindows="true" <
浏览 0
提问于2020-04-28
得票数 1
回答已采纳
1
回答
android
操作栏删除空格
java
、
android-studio
、
android-layout
> xmlns:app="http://schemas.
android
.com/apk/res-auto"
android
:layout_width="match_parent" <em
浏览 9
提问于2021-01-07
得票数 0
3
回答
应用程序
在
卡片上
android
、
android-recyclerview
、
android-appbarlayout
我无意中赋予了一个动画的应用程序条,它最初是
在
卡片上画出来的,当我滚动卡片时,它会隐藏自己。:layout_height="match_parent" ></RelativeLayout> </
android
.support.v7.widget.CardView>
浏览 0
提问于2018-02-16
得票数 2
1
回答
在
AppBarLayout中添加TabLayout下的自定义阴影?
android
、
android-layout
、
android-toolbar
、
android-styles
、
android-appbarlayout
我
在
TabLayout的AppBarLayout中添加了一个自定义阴影,但出于某种原因,阴影
下面
有一个绿色的背景:如果这还不够清楚,这里又出现了一个较长的阴影:正如你所看到的,
在
阴影下有一个绿色的背景然后,
在
“设计”选项卡中,我注意到AppBarLayout的背景设置为绿色(尽管布局的XML中没有设置任何颜色):我试图将颜色更改为@
android
:color/transparent,但它使背景(
在
阴影后面,如上面的图片)变成白色,而且不透明。
浏览 3
提问于2017-04-10
得票数 2
回答已采纳
1
回答
应用程序栏中的图像没有正确显示。
flutter
、
dart
、
flutter-layout
、
flutter-web
AppBar
( backgroundColor: coloreApp, title: Image.asset
浏览 6
提问于2022-10-01
得票数 0
回答已采纳
2
回答
默认
情况下,
AppBar
有左右边距
xaml
、
windows-8
、
winrt-xaml
出于某种原因,
AppBar
有一些我不想要的左右边距。这是地铁应用程序中的一个错误,还是在
下面
的代码中缺少一些设置。<common:LayoutAwarePage.BottomAppBar> <
AppBar
.Background> <
浏览 4
提问于2013-06-11
得票数 1
1
回答
如何在Androidx中获取
AppBar
?
android
、
androidx
我的项目完全建立
在
Androidx上,但是我似乎不能以编程的方式获取活动的
AppBar
,这是我真正需要的。我非常确定这是一个依赖问题,但即使修复了这个问题,根据官方迁移指南(),我似乎也无法
在
我的活动中获得
AppBar
。这是
Android
Studio
在
应用程序的Gradle文件中添加的
默认
依赖
项
:implementation 'androidx.legacy:legacy-support-v4:1.0.0',这是我根据迁移文档添加
浏览 23
提问于2019-08-02
得票数 0
回答已采纳
4
回答
坐标布局中的循环视图
android
、
android-layout
、
android-recyclerview
、
android-coordinatorlayout
> xmlns:app="http://schemas.
android
.com"
浏览 0
提问于2015-07-05
得票数 5
回答已采纳
1
回答
如何停止动作栏向上移动
android
、
android-layout
请看屏幕截图(标题和
填充
区域,我没有添加): <
android
.support.design.widget.AppBarLayout
android<
浏览 1
提问于2017-01-17
得票数 2
2
回答
在
Flutter中有等同于bootstrap容器的东西吗?
flutter
、
dart
、
containers
、
padding
我正在尝试
在
flutter中构建一个应用程序,我正在使用
appBar
:
AppBar
( ),body: Text("Hello there")我面临的问题是正文文本的
填充
与
appbar
文本的
填充
不同。 那么,我怎样才能找到
默认
的
填充
值来使用它,这样我就可以使用相同的
填充
来对齐
浏览 0
提问于2021-05-18
得票数 0
2
回答
ListView末尾的三个点
android
、
listview
、
android-listview
我知道如何将椭圆大小的TextView添加到ListView
项
中,如下所示
android
:maxEms="20"我想要的是
在
listView的末尾添加三个点,作为到达listView中最后一个项
目的
指示。检查
下面
的链接,看看我想要实现什么。 注意: ListView中的
项</
浏览 2
提问于2015-11-10
得票数 2
回答已采纳
2
回答
E/AndroidRuntime:致命异常:主PID: 19302 java.lang.RuntimeException:无法启动活动ComponentInfo
java
、
android
、
xml
、
firebase
下面
是日志运行: Process: com.firebase.loginauth, PID: 19696" >
android
> <ac
浏览 0
提问于2019-05-24
得票数 0
回答已采纳
3
回答
在
片段或活动中使用工具栏的协调器布局
android
、
android-fragments
、
android-activity
、
android-actionbar
由于不同的片段具有不同的行为和目标,例如,带有显示重要照片的折叠工具栏的图片库片段,或者没有滚动视图的片段,只是不需要toolbar布局来隐藏工具栏,因此
在
活动中只有一个工具栏是很困难的。如果是这样的话,我必须在每次显示片段时设置supportActionBar,并且
在
片段中引用活动,取消片段的独立性。如果将工具栏单独放在活动中,则必须为每个片段中的每种行为类型定义多个布局。
浏览 2
提问于2015-06-09
得票数 96
回答已采纳
1
回答
颤栗-我能让一个SingleChildScrollView填补可用的空间吗?
android
、
flutter
、
flutter-layout
我有一个颤振应用程序,我正在为
Android
开发。其结构大致如下: return Scaffold( ), ), );这里的目标是让渐变背景
填充
应用程序栏
下面
的所有屏幕使用上面的代码,滚动视图
在
小屏幕上
浏览 2
提问于2022-07-11
得票数 0
3
回答
ANDROID
:膨胀类
android
.support.design.widget.AppBarLayout时出错
android
、
android-toolbar
、
android-appbarlayout
、
androidx
我
在
布局中添加了一个工具栏,现在运行时出现以下错误: xmlns:app="http://schemas.
android</e
浏览 2
提问于2019-03-22
得票数 9
回答已采纳
1
回答
如何模仿安卓的showAsAction="ifRoom“?
android
、
dart
、
menu
、
flutter
、
menuitem
这个Scaffold的
appBar
属性是一个
AppBar
小部件,它的actions属性中
填充
了一些操作,还有一个弹出菜单来容纳其余的选项。
在
本地的
Android
上,这不是它的工作方式。是否有一种不需要编写复杂逻辑来
填充
AppBar
的“操作”属性的方法呢?
android
:s
浏览 0
提问于2019-03-30
得票数 14
回答已采纳
1
回答
带有片段和底部导航条的
AppBar
android
、
android-fragments
、
android-appbarlayout
、
android-bottomnavigationview
不确定我是否正在进行一场艰难的战斗,但我目前正在与
AppBar
、片段和底部导航栏进行斗争。现在,当单击列表中的
项
时,它导航到详细视图片段。在这里,我仍然有一个
AppBar
,这是我想要的,但我想添加一个底部导航栏。是否有办法使底部导航栏保持
在
片段内?我试着把它们分解成活动,但后来发现我失去了
AppBar
。 我
在<
浏览 7
提问于2022-10-19
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
让前端开发者失业的技术,Flutter Web初体验
InAppWebView:Flutter中WebView的真正力量
Flutter学习三之搭建一个简单的项目框架
flutter输入框TextField中文本textAlign对齐分析篇
关于『PassBox』的开发笔记
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券