Browse Source

extracted color values for download fragment, see comments https://github.com/owncloud/android/commit/172c3f56a3ffdc399f1977744ad015de09fcc4f5

Andy Scherzinger 9 years ago
parent
commit
f7f468b578
2 changed files with 5 additions and 4 deletions
  1. 3 3
      res/layout/file_download_fragment.xml
  2. 2 1
      res/values/colors.xml

+ 3 - 3
res/layout/file_download_fragment.xml

@@ -23,14 +23,14 @@
 	android:layout_gravity="center"
 	android:layout_gravity="center"
 	android:gravity="center_vertical"
 	android:gravity="center_vertical"
 	android:padding="20dp"
 	android:padding="20dp"
-	android:background="#000000"
+	android:background="@color/black"
 	>
 	>
 	
 	
 	<TextView 
 	<TextView 
 	    android:id="@+id/progressText" 
 	    android:id="@+id/progressText" 
 	    android:layout_width="match_parent"
 	    android:layout_width="match_parent"
 		android:layout_height="wrap_content"
 		android:layout_height="wrap_content"
-		android:textColor="#AAAAAA"
+		android:textColor="@color/dark_background_text_color"
 		android:text="@string/downloader_not_downloaded_yet"
 		android:text="@string/downloader_not_downloaded_yet"
 		android:layout_marginBottom="15dp"
 		android:layout_marginBottom="15dp"
 	/>
 	/>
@@ -81,7 +81,7 @@
 		android:layout_height="wrap_content"
 		android:layout_height="wrap_content"
 		android:layout_gravity="center_horizontal"
 		android:layout_gravity="center_horizontal"
 		android:layout_margin="40dp"
 		android:layout_margin="40dp"
-		android:textColor="#AAAAAA"
+		android:textColor="@color/dark_background_text_color"
 		android:text="@string/downloader_download_failed_ticker"
 		android:text="@string/downloader_download_failed_ticker"
 	/>
 	/>
 	
 	

+ 2 - 1
res/values/colors.xml

@@ -29,7 +29,8 @@
     <color name="drawerMenuTextColor">#757575</color>
     <color name="drawerMenuTextColor">#757575</color>
     <color name="list_divider_background">#fff0f0f0</color>
     <color name="list_divider_background">#fff0f0f0</color>
     <color name="filelist_icon_backgorund">#DDDDDD</color>
     <color name="filelist_icon_backgorund">#DDDDDD</color>
-    <color name="login_text_color">#EEEEEE</color>
+    <color name="dark_background_text_color">#EEEEEE</color>
+    <color name="login_text_color">@color/dark_background_text_color</color>
     <color name="login_text_hint_color">#AAAAAA</color>
     <color name="login_text_hint_color">#AAAAAA</color>
 
 
     <!-- Colors -->
     <!-- Colors -->