[Android] Fixed bg color for NTP ScrollView

This commit is contained in:
samartnik
2022-05-13 18:01:42 +01:00
committed by Claudio DeSouza
parent 835319a1bb
commit b65303f51f
@@ -74,8 +74,8 @@ public class BraveFeedSurfaceCoordinator extends FeedSurfaceCoordinator {
mScrollViewForPolicy = new NestedScrollView(mActivity);
mScrollViewForPolicy.setLayoutParams(new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT));
mScrollViewForPolicy.setBackgroundColor(
ApiCompatibilityUtils.getColor(mActivity.getResources(), R.color.default_bg_color));
mScrollViewForPolicy.setBackgroundColor(ApiCompatibilityUtils.getColor(
mActivity.getResources(), R.color.default_bg_color_baseline));
mScrollViewForPolicy.setVerticalScrollBarEnabled(false);
// Make scroll view focusable so that it is the next focusable view when the url bar clears