腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(1840)
视频
沙龙
1
回答
Android
Studio
不支持
AndroidX
的
CardView
代码
自动
补全
,
该
如何
修复
?
android
、
android-xml
、
androidx
我已经将
Cardview
添加到dependencies下
的
build.gradle中 implementation '
androidx
.
cardview
:
cardview
:1.0.0' Gradle并没有抱怨当我尝试在activity_main.xml中使用它时,它似乎可以工作,但出于某些原因,
Android
Studio
不提供语法完成
CardView
块。请参见下图。我
的
Android
S
浏览 20
提问于2019-12-28
得票数 0
回答已采纳
7
回答
迁移到
androidx
后膨胀类时出错
android
、
androidx
我迁移到
Androidx
,但在迁移之后,我得到了以下错误:-开始崩溃 2019-01-23 09:47:34.171 17578-17578/?'
androidx
.legacy:legacy-support-core-utils:1.0.0
浏览 10
提问于2019-01-23
得票数 9
3
回答
升级
android
版本后得到"Duplicate class
android
.support.v4.app.INotificationSideChannel“”
java
、
android
、
android-gradle-plugin
、
build.gradle
在
android
更新3.4之前,我
的
应用程序运行得很好,但在升级
android
之后,我
的
应用程序出现合并错误: Duplicateclass
an
浏览 3
提问于2019-04-23
得票数 17
1
回答
视图与使用ConstrainLayout
的
NestedScrollView中
的
另一个视图重叠
android
、
android-constraintlayout
、
android-nestedscrollview
>
android
:id=&qu
浏览 0
提问于2020-06-05
得票数 0
1
回答
为什么我
的
图像不能在imageView中显示?
xml
、
imageview
、
android-imageview
、
android-cardview
因此,我正在使用
android
studio
处理我
的
项目。我用
CardView
创建了一个简单
的
xml,并在其中使用了一个ImageView。
代码
如下: <
androidx
.
cardview
.widget.
CardView
android
:layout_width="120dp"
android
:layout_height="150dp
浏览 20
提问于2021-08-05
得票数 0
回答已采纳
1
回答
无法解析所有
androidx
依赖项
android
、
gradle
、
compiler-errors
、
dependencies
、
androidx
我从下面的链接下载了'BasicSample‘项目并添加到
Android
Studio
,但当我同步该项目时,显示有关无法解析所有'
androidx
’依赖项
的
错误。‘中,但没有起作用,我得到了同样
的
错误。:
androidx
.legacy:legacy-support-v4:1.0.0 Failed to resolve: com.google.
android
.material:material:1.0.0Install Repository and
浏览 1
提问于2019-05-12
得票数 0
1
回答
如何
指定editText在
CardView
中
的
位置?
android
、
kotlin
、
android-edittext
、
android-cardview
<
androidx
.
cardview
.widget.
CardView
app:cardElevation="8dp"
android
:layout_height="60dp"
android
:hint=&q
浏览 4
提问于2022-04-17
得票数 0
回答已采纳
18
回答
API 28 (P)
的
Android
设计支持库不起作用
android
、
android-studio
、
android-design-library
、
android-9.0-pie
'
androidx
.test.espresso:espresso-core:3.1.0-alpha3' implementation 'com.
android
.support:
cardview
-v7:28.0.0-alpha3'构建失败
的
错误是: 核心: value=(
androidx
.co
浏览 119
提问于2018-06-10
得票数 113
1
回答
kotlin中
的
supportFragmentManager.commit不起作用
java
、
android
、
kotlin
、
fragment
在我
的
片段中,supportFragmentManager.commit{}不起作用。
Android
Studio
没有意识到这一点,我不知道
该
怎么办。我在kotlin项目工作 ?
浏览 127
提问于2020-09-26
得票数 6
回答已采纳
1
回答
带有可点击
CardView
的
Android
Studio
可重定向到网站
java
、
android
、
android-studio
我是
Android
Studio
编程
的
新手。我创建了
CardView
菜单。但我想做
的
是,当你点击卡片视图时,它会将你重定向到浏览器并打开url (例如,你按下卡片视图并将你重定向到google.com网站)。
该
怎么做呢?我当前
的
代码
:import
androidx
.
cardview
.widget.<e
浏览 0
提问于2021-11-24
得票数 0
1
回答
Android
-webview在
cardview
中,棒棒糖上没有圆角
android
、
webview
、
material-design
、
android-cardview
为了显示带有圆角
的
webview,我将其放入一个
CardView
中,结果正如预期
的
那样,是一个带有圆角
的
webview。
如何
在lollipop上
修复
它<RelativeLayout xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
浏览 39
提问于2020-02-26
得票数 3
1
回答
片段中
的
RecycleView +
CardView
android
、
fragment
我正在尝试在我
的
android
studio
项目中使用recycleView +
cardView
。当我运行这个应用程序时,它被强制关闭。有人能告诉我
如何
解决这个问题吗? ? 我
的
代码
fragment_home.xml <
androidx
.constraintlayout.widget.ConstraintLayout xmlns:
android
="http://schemas.
and
浏览 7
提问于2020-12-11
得票数 1
回答已采纳
1
回答
Android
Studio
中
的
Google Talkback Building
java
、
android
、
android-studio
、
accessibility
、
talkback
我遇到过,我真的很喜欢发布
代码
以允许贡献
的
想法。我尝试了Import a project并选择了这个。有没有什么方法可以让我快速
修复
它呢? 我可以运行./gradlew build,它工作得很好,但是我在
Android
studio
项目中没有
自动
补全
功能。我有最新
的
android
studio
浏览 11
提问于2020-05-26
得票数 0
1
回答
在旧版本
的
android
studio
上迁移到
androidx
,即3.1.2?
java
、
android
、
android-gradle-plugin
、
android-support-library
、
androidx
正如问题中提到
的
,我需要迁移到
androidx
支持库,目前,我使用
的
是
该
库
的
27.1.1版本,在
Android
Studio
3.1.2上出现了重构部分Migrate App to App compat那么,我应该
如何
继续从这里转向
androidx
版本呢?implementation "com.
android
.support:recyclerview-v7:$supportLibVersion"
浏览 1
提问于2018-09-22
得票数 0
1
回答
Android
应用程序中卡
的
帧速率问题
android
、
android-cardview
、
frame-rate
想知道是否有人曾经经历过这样
的
经历,并知道
如何
修复
?<
androidx
.
cardview
.widget.
CardView
android
:layout_width="match_parent"
android
:layout_height="150dp
浏览 2
提问于2019-12-02
得票数 0
回答已采纳
2
回答
为什么ImageView图像在添加ScrollView时会放大?
android
、
android-layout
、
android-imageview
、
android-cardview
、
android-scrollview
我想滚动我的卡片视图,但当我添加了ScrollView,我在ImageView中
的
图像被放大/拉伸。下面的截图代表了我
的
问题。My Activity.xml
android
:orientation="vertical" <
androi
浏览 1
提问于2020-05-21
得票数 1
1
回答
leandroBorgesFerreira/LoadingButtonAndroid实现错误
android
、
github
、
syntax-error
、
implementation
我尝试使用这个按钮样式
的
,但是实现错误,我
的
build.gradle是这样
的
:dependencies {implementation 'com.
android
.support:appcompat-v7:28.0.0' implementation 'com.
android
.suppor
浏览 1
提问于2019-07-10
得票数 0
回答已采纳
14
回答
错误:包com.
android
.annotations不存在
android
、
react-native
、
android-studio
、
gradle
、
android-gradle-plugin
我有下面的课程public final class Log {...这是我
的
build.gradle文件(省略了一些部分) compileSdkVersion7 targetCompatibility JavaVersion.VERSIO
浏览 0
提问于2016-11-02
得票数 95
1
回答
为什么在回收器视图中不能使用焦点?
android
,我必须在卡片视图中添加焦点,以便用户可以轻松地在卡片中导航,但问题是如果我正在添加在我的卡片视图中什么都不起作用,我猜是因为我有两个回收器视图,这就是为什么卡片视图没有收到任何关于
如何
修复
它
的
想法这是我
的
代码
<
androidx
.recyclerview.widget.RecyclerView
andr
浏览 0
提问于2018-11-19
得票数 0
2
回答
问:使用ListView.builder,结果显示"ListView.builder(itemBuilder: null)“
flutter
、
widget
我对这个问题有疑问: 我一直在尝试使用ListView.builder,但它总是显示ListView.builder( itemBuilder : null),因为我看到其他结果只是正常
的
,而我期望显示请原谅我糟糕
的
英语,因为我是亚洲人。
浏览 0
提问于2019-12-15
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
谷歌公布 GitHub 最新开源库 androidx:开发 AOSP Jetpack
总是听到有人说AndroidX,到底什么是AndroidX?
TypeScript 3.0 正式发布;谷歌将 AndroidX 移至 AOSP
迁移到AndroidX
谷歌Android Studio 3.5正式版发布:稳步推进Project Marble计划
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券