-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
1. 修复TabcolorTextview 点击不同item时,颜色还残留的问题 2. 修复点击item跨度比较大,每一个都缩放的问题 3. 增加默认TextView和TextColorView,简便编写
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.zhengsr.tabhelper; | ||
|
||
import android.app.Application; | ||
|
||
import com.weikaiyun.fragmentation.Fragmentation; | ||
|
||
/** | ||
* @author by zhengshaorui 2022/2/26 | ||
* describe: | ||
*/ | ||
public class App extends Application { | ||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
Fragmentation.builder() // 设置 栈视图 模式为 (默认)悬浮球模式 SHAKE: 摇一摇唤出 NONE:隐藏, 仅在Debug环境生效 | ||
.stackViewMode(Fragmentation.BUBBLE) | ||
.debug(BuildConfig.DEBUG) // 实际场景建议.debug(BuildConfig.DEBUG) | ||
.animation(R.anim.v_fragment_enter, R.anim.v_fragment_pop_exit, R.anim.v_fragment_pop_enter, R.anim.v_fragment_exit) //设置默认动画 | ||
.install(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.zhengsr.tabhelper.activity; | ||
|
||
import me.yokeyword.fragmentation.SupportActivity; | ||
|
||
/** | ||
* @author by zhengshaorui 2022/2/26 | ||
* describe: | ||
*/ | ||
public class BaseActivity extends SupportActivity { | ||
} |