小编you*_*nis的帖子

渲染和ActionBar叠加布局出错

我在android studio中打开了一个项目,我试图预览设计,这里是问题,渲染有一些错误,它显示actionBar叠加布局如何解决这个问题

这是我的build.gradle文件

    buildscript {
    repositories {
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
    }
}
apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion '25.0.2'

    defaultConfig {
        applicationId "development.assistant.project.s_assistant"
        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.4.0'
    compile 'com.android.support:recyclerview-v7:23.4.0'
    compile 'com.android.support:design:23.4.0'
    compile 'com.android.support:support-v4:23.4.0'
    compile 'com.android.support:support-annotations:27.0.1'
}

repositories {
    maven { …
Run Code Online (Sandbox Code Playgroud)

android android-actionbar

6
推荐指数
1
解决办法
4991
查看次数

标签 统计

android ×1

android-actionbar ×1