Skip to content

Commit

Permalink
Fix drag handle colors
Browse files Browse the repository at this point in the history
  • Loading branch information
spacecowboy committed Nov 17, 2015
1 parent 5ecbc29 commit a57467b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/tasklist_item_rich.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
android:paddingBottom="12dp"
android:paddingRight="4dp"
android:paddingTop="12dp"
android:color="?attr/drag_handle_color" />
android:color="?drag_handle_color" />

</FrameLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/values/attr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<attr name="ic_alarm_add_24dp_active" format="reference"/>
<attr name="ic_alarm_24dp_active" format="reference"/>

<attr name="drag_handle_color" format="color" />

<!-- Unknown -->
<attr name="my_list_selector" format="reference" />
<attr name="my_list_background" format="reference" />
Expand All @@ -36,7 +38,6 @@

<attr name="labelAddItemTextColor" format="reference|color" />

<attr name="drag_handle_color" format="reference|color" />

<attr name="TaskListItem" format="reference" />
<attr name="ListMarginStyle" format="reference"/>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<color name="labelItemTextColorLight">#555555</color>
<color name="labelItemTextColorDark">#cccccc</color>

<color name="dragHandleColorLight">#2333</color>
<color name="dragHandleColorDark">#2CCC</color>
<color name="dragHandleColorLight">#30000000</color>
<color name="dragHandleColorDark">#8affffff</color>

<color name="completedGrey">#aa888888</color>

Expand Down
5 changes: 3 additions & 2 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
<item name="NavDrawerStyle">@style/LightNavbarTheme</item>
<item name="alertDialogTheme">@style/LightDialogStyle</item>

<item name="drag_handle_color">@color/dragHandleColorLight</item>
<!-- Update these -->

<item name="labelAddItemTextColor">@color/labelItemTextColorLight</item>
<item name="list_item_card_background">@drawable/card_light</item>
<item name="drag_handle_color">@color/dragHandleColorLight</item>
<item name="TaskListItem">@style/TaskListItemLight</item>

</style>
Expand All @@ -67,12 +67,13 @@
<item name="NavDrawerStyle">@style/DarkNavbarTheme</item>
<item name="alertDialogTheme">@style/DarkDialogStyle</item>

<item name="drag_handle_color">@color/dragHandleColorDark</item>

<!-- Update these -->

<!-- <item name="viewpager_bg">@color/viewpager_darkgrey</item> -->
<item name="labelAddItemTextColor">@color/labelItemTextColorLight</item>
<item name="list_item_card_background">@drawable/card_light</item>
<item name="drag_handle_color">@color/dragHandleColorLight</item>
<item name="TaskListItem">@style/TaskListItemLight</item>

</style>
Expand Down

0 comments on commit a57467b

Please sign in to comment.