浏览代码

Merge pull request #1351 from owncloud/Update_of_brandable_colors

Added colors for header of navigation drawer and login button to the …
Maria Asensio 9 年之前
父节点
当前提交
9954f71408
共有 3 个文件被更改,包括 4 次插入3 次删除
  1. 1 1
      res/layout/drawer.xml
  2. 0 1
      res/values/colors.xml
  3. 3 1
      res/values/setup.xml

+ 1 - 1
res/layout/drawer.xml

@@ -71,7 +71,7 @@
             android:layout_height="100dp"
             android:paddingTop="16dp"
             android:paddingBottom="16dp"
-            android:background="@color/owncloud_blue_accent">
+            android:background="@color/drawer_header_color">
 
             <ImageView
                 android:id="@+id/itemIcon"

+ 0 - 1
res/values/colors.xml

@@ -33,7 +33,6 @@
     <color name="dark_background_text_color">#EEEEEE</color>
     <color name="login_text_color">#757575</color>
     <color name="login_text_hint_color">#757575</color>
-    <color name="primary_button_color">@color/owncloud_blue_accent</color>
     <color name="secondary_button_color">#D6D7D7</color>
     <color name="transparent">#00000000</color>
 

+ 3 - 1
res/values/setup.xml

@@ -33,7 +33,9 @@
     <color name="background_color">#F7F7F7</color>
     <color name="actionbar_start_color">#1D2D44</color>
     <color name="actionbar_end_color">#1D2D44</color>
-    
+    <color name="primary_button_color">@color/owncloud_blue_accent</color>
+    <color name="drawer_header_color">@color/owncloud_blue_accent</color>
+
     <!-- Button -->
     <color name="button_text_color">#000000</color>