File tree Expand file tree Collapse file tree 7 files changed +30
-2
lines changed
Expand file tree Collapse file tree 7 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 66 android : layout_height =" wrap_content"
77 android : background =" ?attr/colorPrimary"
88 android : minHeight =" ?attr/actionBarSize"
9+ android : paddingTop =" @dimen/toobal_padingTop"
910 app : theme =" @style/ThemeOverlay.AppCompat.ActionBar"
1011 app : popupTheme =" @style/Theme.AppCompat.Light"
1112 app : title =" @string/application_name"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <bool name =" transparent_nav" >false</bool >
4+ </resources >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <bool name =" transparent_nav" >false</bool >
4+ </resources >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <!-- Toolbar -->
4+ <dimen name =" toobal_padingTop" >28dp</dimen >
5+ </resources >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+
4+ <style name =" AppTheme" parent =" BaseTheme" >
5+ <!-- 设置状态栏/导航栏为半透明 -->
6+ <item name =" android:windowTranslucentStatus" >true</item >
7+ <item name =" android:windowTranslucentNavigation" >@bool/transparent_nav</item >
8+ </style >
9+
10+ </resources >
Original file line number Diff line number Diff line change 1010
1111 <dimen name =" main_item_height" >100.0dp</dimen >
1212 <dimen name =" fragment_main_webview_height" >100dp</dimen >
13+
14+ <!-- Toolbar -->
15+ <dimen name =" toobal_padingTop" >0dp</dimen >
1316
1417</resources >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
33
4- <style name =" AppBaseTheme " parent =" android:Theme.Light " ></style >
4+ <style name =" AppTheme " parent =" BaseTheme " ></style >
55
6- <style name =" AppTheme " parent =" Theme.AppCompat.Light.NoActionBar" >
6+ <style name =" BaseTheme " parent =" Theme.AppCompat.Light.NoActionBar" >
77 <item name =" colorPrimary" >@color/app_base_color</item >
88 <item name =" colorPrimaryDark" >@color/app_base_color</item >
99 <item name =" colorAccent" >@color/app_base_color</item >
1010 <item name =" android:textColorPrimary" >@android:color/white</item >
11+
1112
1213 <!-- 设置activity切换动画 -->
1314 <item name =" android:windowAnimationStyle" >@style/activityAnimation</item >
You can’t perform that action at this time.
0 commit comments