Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6348e58c authored by Bryan Owens's avatar Bryan Owens Committed by d34d
Browse files

Themes: Expose hard coded background in java



Change-Id: I6248f1edfa97b02c34604059f55454248dc1cc98
Signed-off-by: default avatarBryan Owens <djbryan3540@gmail.com>
parent 9000d115
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2015 The CyanogenMod Project

     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

     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.
-->
<resources>
    <color name="pad_view_pager_background">#ff000000</color>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ public class CalculatorPadViewPager extends ViewPager {
        super(context, attrs);

        setAdapter(mStaticPagerAdapter);
        setBackgroundColor(Color.BLACK);
        setBackgroundColor(context.getColor(R.color.pad_view_pager_background));
        setPageMargin(getResources().getDimensionPixelSize(R.dimen.pad_page_margin));
        setPageTransformer(false, mPageTransformer);
        addOnPageChangeListener(mOnPageChangeListener);