Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab_text_view_id 指定View #42

Closed
Yanzhishang opened this issue Jul 2, 2021 · 5 comments
Closed

tab_text_view_id 指定View #42

Yanzhishang opened this issue Jul 2, 2021 · 5 comments

Comments

@Yanzhishang
Copy link

tab_text_view_id 属性设置多个 TextView,TextView 相同 ID 无法编译,请问如何做到的

@Yanzhishang
Copy link
Author

demo 里是可以 的,但是我的xml却不行 无法编译

@angcyo
Copy link
Owner

angcyo commented Jul 5, 2021

试试在appmodule的build.gradle文件中加入:

android {

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    /*kotlinOptions { jvmTarget = "1.8" }*/
    kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 }
}

@angcyo angcyo closed this as completed Dec 21, 2021
@ujffdi
Copy link

ujffdi commented May 8, 2023

gradle 7.0+加里也无法通过编译。另外想实现开眼app首页底部tab的效果,大概怎么做?切换的动画已实现。打算使用相同id找到view播放动画,可是无法编译

1 similar comment
@ujffdi
Copy link

ujffdi commented May 8, 2023

gradle 7.0+加里也无法通过编译。另外想实现开眼app首页底部tab的效果,大概怎么做?切换的动画已实现。打算使用相同id找到view播放动画,可是无法编译

@angcyo
Copy link
Owner

angcyo commented May 10, 2023

源码已更新AGP至7.4.2

开眼 Eyepetizer - 精品短视频底部导航很常规的设计, 库可以实现.不难!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants