diff --git a/Library/build.gradle b/Library/build.gradle index da087601706fe2980dcfce0d19b79003851641f5..09e9f30de24628b6ea4dd241329a4a2ddbb80d81 100644 --- a/Library/build.gradle +++ b/Library/build.gradle @@ -1,9 +1,9 @@ apply plugin: 'com.huawei.ohos.library' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + compatibleSdkVersion 5 } buildTypes { release { diff --git a/Library/src/main/config.json b/Library/src/main/config.json index a54b69842239a8c01728f7c960ddee63f9e3826a..7e7b3471239ab6d91fd8e190b405a0ed48f064e5 100644 --- a/Library/src/main/config.json +++ b/Library/src/main/config.json @@ -5,11 +5,6 @@ "version": { "code": 1, "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" } }, "deviceConfig": {}, diff --git a/Library/src/main/java/com/lhh/apst/library/utils/TypedAttrUtils.java b/Library/src/main/java/com/lhh/apst/library/utils/TypedAttrUtils.java index 0e4c44d34ad9846ee6eaa926158c496cbebf7347..5c755443463e43ac005cd9a873d0a35ff3fd41be 100644 --- a/Library/src/main/java/com/lhh/apst/library/utils/TypedAttrUtils.java +++ b/Library/src/main/java/com/lhh/apst/library/utils/TypedAttrUtils.java @@ -1,17 +1,16 @@ /* - * Copyright (C) 2021 The Chinese Software International Co., Ltd. + * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ package com.lhh.apst.library.utils; diff --git a/README.OPENSOURCE b/README.OPENSOURCE index bf1b73e87a135f270c7694aa65ab0238cf05931f..d4422063e087b806962ee60f9961fe64cd478c8a 100644 --- a/README.OPENSOURCE +++ b/README.OPENSOURCE @@ -4,9 +4,9 @@ "Name": "AdvancedPagerSlidingTabStrip", - "License": "无", + "License": "Apache License", - "License File": "无", + "License File": "license", "Version Number": "master分支", diff --git a/README.md b/README.md index 40597658091319b9a763e22604f2436f46b2a93c..4d24fb2caf35c930164436774001e713f617c35d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 支持自由设置小圆点、tab大小和位置等设置,支持实现如:微博等不均匀Tab的APP风格,并支持滑动 - 项目移植状态:100% - 调用差异:无 -- 开发版本:sdk5,DevEco Studio 2.1 Release +- 开发版本:sdk6,DevEco Studio 2.2 Beta1 - 基线版本:AdvancedPagerSlidingTabStrip组件master #### 效果演示 @@ -41,7 +41,7 @@ allprojects { ...... } ``` -在sdk5,DevEco Studio 2.1 Release下项目可直接运行 +在sdk6,DevEco Studio 2.2 Beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 diff --git a/build.gradle b/build.gradle index 57d49815e2cde337e47b17f2b1d9606cdd15e270..89e97db41936dbd0f53c60617927b8636734bd4a 100644 --- a/build.gradle +++ b/build.gradle @@ -2,9 +2,9 @@ apply plugin: 'com.huawei.ohos.app' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + compatibleSdkVersion 5 } } diff --git a/entry/build.gradle b/entry/build.gradle index 0f5834d26a8591fc90a82b9c29552255573f37be..a2f61551748c5b89921783ba31bde099262ac709 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/entry/src/main/config.json b/entry/src/main/config.json index 9d152f91eb441e92d1e4110b7102b2cf3b7caad5..1a8f71a09a926614185f590939320c3bfbf50877 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -5,10 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5 } }, "deviceConfig": {}, diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/App.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/App.java index a4f229d9739721d96966ab23f07f16389e073ab9..54d7462ab483d454c0eb7140986f5d57b9bff6d1 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/App.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/App.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/CustomTabAbility.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/CustomTabAbility.java index ba743282456cd5cb1e100b6e7a1c4350fa88f41f..2d700d8cc5d776a44df47d11a1fd718e2ffc301f 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/CustomTabAbility.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/CustomTabAbility.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/IconTabAbility.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/IconTabAbility.java index b97093c3232afa3299b6c43051c2c7c77c3db281..3bd5721360aa4260abaf9b917c1c8f8c5edb2e8c 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/IconTabAbility.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/IconTabAbility.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/MainAbility.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/MainAbility.java index 1be9f08a69e619eec08039af21e093282bcdfd2d..db6c30ef93283746bc9eb3292763006b4f047044 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/MainAbility.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/MainAbility.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/NormalTabAbility.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/NormalTabAbility.java index e95d24f6ccf5912bdd3617e92025a405fb9932de..b31707710a1e7bad2c4d2db8dddf9c96c7b45f5d 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/NormalTabAbility.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/NormalTabAbility.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/ViewTabAbility.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/ViewTabAbility.java index 0b0395aa3a71b0276f8ffd5cb5e7b628c0a7b947..a236f80cb436095bab66d304d589f3c176d04bac 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/ViewTabAbility.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/ViewTabAbility.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/WeiboTabAbility.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/WeiboTabAbility.java index fce439b76ab5c4de63a2f4ba4af093cd4a50d706..e0173df0e945e241be25ab69df592b6685909fcb 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/WeiboTabAbility.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/WeiboTabAbility.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/BaseFragment.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/BaseFragment.java index 6f513e5536bea66239259c3e95b49da5c73c3617..e532ea1d0c3c81d3b02316e99099f2353dc523a7 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/BaseFragment.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/BaseFragment.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FirstFragment.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FirstFragment.java index 4b9ed3587f0405cee6023b1169a5fca2f88cd63c..e5f40e1c44d41d00e29718fdb7b22f7ccfa9cedd 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FirstFragment.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FirstFragment.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FourthFragment.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FourthFragment.java index 26286cc7e8c0f16ace35e1cc55c8d640f391c06e..ede833b790fef7740be2b3f21ae8d7c25aea6c92 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FourthFragment.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/FourthFragment.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/SecondFragment.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/SecondFragment.java index 73a290301d600eb4b2d5045c9a58964558b135c5..74719b45d333002b14c1f554b56dd63b8b007a88 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/SecondFragment.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/SecondFragment.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/ThirdFragment.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/ThirdFragment.java index daf351ecc0d8b0368538b75113d9ae9d29ac8ece..e4d09775e8faf766ca97e8d205da1fbea0ec0342 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/ThirdFragment.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/fragments/ThirdFragment.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/CustomTabSlice.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/CustomTabSlice.java index 6d3232fb452f59b88f5c7b5715b795881269b1ea..5ac6f1e0cc5926b30a67df82ea82de880dff15c2 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/CustomTabSlice.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/CustomTabSlice.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/IconTabSlice.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/IconTabSlice.java index 71877d7a2e9db9994eed5680b32e44a3cec5ea93..671b71d44c8b2f3403e463797d830a3ae035f5f8 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/IconTabSlice.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/IconTabSlice.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/MainAbilitySlice.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/MainAbilitySlice.java index 72a9e0e58609ffdbf6187abd8acd104d272e5172..d57fb90e186e3e74cf96ded2850b4a095dd29170 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/MainAbilitySlice.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/MainAbilitySlice.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/NormalTabSlice.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/NormalTabSlice.java index 72edc4eb396d9870482ff53e04cd8a33336e8e15..b1de518f306ab7d8273c4788cb0ac4eabeada605 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/NormalTabSlice.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/NormalTabSlice.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/ViewTabSlice.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/ViewTabSlice.java index a6cc999019d1f838d9ed6eb933f87c4c96e78f6f..ad0eb44aec47a96ba6afea5d06b7aeb514cac0c2 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/ViewTabSlice.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/ViewTabSlice.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/WeiboTabSlice.java b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/WeiboTabSlice.java index fa3f05a23b9a6b2d5783e87526691b26fb167d56..81c621af5712b35a94c8df7dad7d45bd1d71a1c9 100644 --- a/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/WeiboTabSlice.java +++ b/entry/src/main/java/com/lhh/apst/advancedpagerslidingtabstrip/slice/WeiboTabSlice.java @@ -1,12 +1,11 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. - *

+ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.