0
我可以在支持库23.1.1中完美地使用FAB,当我将它放入XML中时,它不会出现任何问题。但是当我使用android-support库23.2.1或更高版本,并尝试使用FAB并放入XML时,它不会显示为FAB,只是一个空白的矩形。请问我如何在这些库中使用FAB?我试图重建项目,但没有发生任何事情。 这是我gradle这个在android - 支持库中使用FAB 23.2.1
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "maysara.maysara_.com.textonwallpaper"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
}
您可以添加您的XML布局吗? –