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

Commit f4f58cae authored by Thyrus11's avatar Thyrus11 Committed by Steve Kondik
Browse files

Themes: Making DocumentsUI fully themeable

Changes added for main activitity and ItemGrid text colors

Default values:
drawer_background_color>#ffffffff
font_color_doc_grid">#ffffffff

PS2: move colors to cm_colors.xml and clear whitespaces

Change-Id: Ia25030f3c2d2c19d43cadda149705d7086f2c155
parent b256e072
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@
        android:layout_gravity="start"
        android:orientation="vertical"
        android:elevation="16dp"
        android:background="@*android:color/white">
        android:background="@color/drawer_background_color">

        <Toolbar
            android:id="@+id/roots_toolbar"
+3 −3
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@
                    android:ellipsize="middle"
                    android:textAlignment="viewStart"
                    android:textAppearance="@android:style/TextAppearance.Material.Subhead"
                    android:textColor="@*android:color/primary_text_default_material_dark" />
                    android:textColor="@color/font_color_doc_grid" />

                <ImageView
                    android:id="@android:id/icon1"
@@ -95,7 +95,7 @@
                    android:ellipsize="end"
                    android:textAlignment="viewStart"
                    android:textAppearance="@android:style/TextAppearance.Material.Caption"
                    android:textColor="@*android:color/primary_text_default_material_dark" />
                    android:textColor="@color/font_color_doc_grid" />

                <TextView
                    android:id="@+id/size"
@@ -107,7 +107,7 @@
                    android:ellipsize="end"
                    android:textAlignment="viewStart"
                    android:textAppearance="@android:style/TextAppearance.Material.Caption"
                    android:textColor="@*android:color/primary_text_default_material_dark" />
                    android:textColor="@color/font_color_doc_grid" />

                <ImageView
                    android:id="@android:id/icon2"
+23 −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>

    <!-- adding new exposed theme components -->
    <color name="drawer_background_color">#ffffffff</color>
    <color name="font_color_doc_grid">#ffffffff</color>

</resources>