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

Commit 478eb023 authored by Andrew Sapperstein's avatar Andrew Sapperstein Committed by android-build-merger
Browse files

Update advanced battery screen to use headline font. am: e2a276f2

am: 4aba04c6

Change-Id: Id6f55121314aae21da1ea9ce2141b46f2aa472d6
parents c37e0c1e 4aba04c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="16dp"
        android:fontFamily="@*android:string/config_headlineFontFamily"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:textSize="36sp"
        android:textColor="?android:attr/colorAccent" />
+6 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import com.android.settings.R;
import com.android.settings.testutils.SettingsRobolectricTestRunner;
import com.android.settings.TestConfig;
import com.android.settings.graph.UsageView;
import com.android.settings.testutils.shadow.SettingsShadowResources;

import org.junit.Before;
import org.junit.Test;
@@ -42,7 +43,11 @@ import org.robolectric.annotation.Config;


@RunWith(SettingsRobolectricTestRunner.class)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION,
        shadows = {
                SettingsShadowResources.class,
                SettingsShadowResources.SettingsShadowTheme.class
        })
public class BatteryHistoryPreferenceTest {
    @Mock
    private PreferenceViewHolder mViewHolder;