getActivity / TitleBar

Android 标题栏框架,从此布局属性不用记
Apache License 2.0
1.75k stars 217 forks source link

如何增加按钮 #11

Closed yzxdmb01 closed 5 years ago

yzxdmb01 commented 5 years ago

需求要webview的标题栏上,返回键旁边加一个叉号关闭按钮

getActivity commented 5 years ago

TitleBar继承至FrameLayout,可以当做FrameLayout来使用,直接在布局中添加即可