extracted color values for download fragment, see comments https://github.com/ownclou...
authorAndy Scherzinger <info@andy-scherzinger.de>
Tue, 4 Aug 2015 15:06:27 +0000 (17:06 +0200)
committerAndy Scherzinger <info@andy-scherzinger.de>
Tue, 4 Aug 2015 15:06:27 +0000 (17:06 +0200)
res/layout/file_download_fragment.xml
res/values/colors.xml

index 05b1218..e101de1 100644 (file)
        android:layout_gravity="center"
        android:gravity="center_vertical"
        android:padding="20dp"
        android:layout_gravity="center"
        android:gravity="center_vertical"
        android:padding="20dp"
-       android:background="#000000"
+       android:background="@color/black"
        >
        
        <TextView 
            android:id="@+id/progressText" 
            android:layout_width="match_parent"
                android:layout_height="wrap_content"
        >
        
        <TextView 
            android:id="@+id/progressText" 
            android:layout_width="match_parent"
                android:layout_height="wrap_content"
-               android:textColor="#AAAAAA"
+               android:textColor="@color/dark_background_text_color"
                android:text="@string/downloader_not_downloaded_yet"
                android:layout_marginBottom="15dp"
        />
                android:text="@string/downloader_not_downloaded_yet"
                android:layout_marginBottom="15dp"
        />
@@ -81,7 +81,7 @@
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:layout_margin="40dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                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"
        />
        
index d4cc738..4cbe560 100644 (file)
@@ -29,7 +29,8 @@
     <color name="drawerMenuTextColor">#757575</color>
     <color name="list_divider_background">#fff0f0f0</color>
     <color name="filelist_icon_backgorund">#DDDDDD</color>
     <color name="drawerMenuTextColor">#757575</color>
     <color name="list_divider_background">#fff0f0f0</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>
 
     <!-- Colors -->
     <color name="login_text_hint_color">#AAAAAA</color>
 
     <!-- Colors -->