Skip to content

Commit

Permalink
Extract color constants from widget layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Apr 30, 2015
1 parent c52272f commit d313ee0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallet/res/layout/wallet_balance_widget_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
android:fadingEdge="horizontal"
android:fadingEdgeLength="12dp"
android:singleLine="true"
android:textColor="#eee"
android:textColor="@color/fg_network_significant"
android:textSize="@dimen/font_size_large" />
</LinearLayout>

Expand All @@ -62,7 +62,7 @@
android:fadingEdge="horizontal"
android:fadingEdgeLength="12dp"
android:singleLine="true"
android:textColor="#aaa"
android:textColor="@color/fg_network_insignificant"
android:textSize="@dimen/font_size_normal" />
</LinearLayout>

Expand Down
2 changes: 2 additions & 0 deletions wallet/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<color name="fg_value_positive">#ff008000</color>
<color name="fg_value_negative">#ff990000</color>
<color name="fg_error">#ffff0000</color>
<color name="fg_network_significant">#ffffffff</color>
<color name="fg_network_insignificant">#ffa0a0a0</color>

<!-- background -->
<color name="bg_bright">#ffffffff</color>
Expand Down

0 comments on commit d313ee0

Please sign in to comment.