Updating drop target assets
Change-Id: I33f7dc30b10a617ae4784f067491ab01b27b7733
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1003 B |
After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 949 B |
Before Width: | Height: | Size: 802 B |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
|
@ -19,6 +19,6 @@
|
|||
-->
|
||||
|
||||
<transition xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_launcher_info_normal_holo" />
|
||||
<item android:drawable="@drawable/ic_launcher_info_active_holo" />
|
||||
<item android:drawable="@drawable/ic_launcher_info_normal" />
|
||||
<item android:drawable="@drawable/ic_launcher_info_active" />
|
||||
</transition>
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
-->
|
||||
|
||||
<transition xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_launcher_clear_normal_holo" />
|
||||
<item android:drawable="@drawable/ic_launcher_clear_active_holo" />
|
||||
<item android:drawable="@drawable/ic_launcher_remove_normal" />
|
||||
<item android:drawable="@drawable/ic_launcher_remove_active" />
|
||||
</transition>
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
-->
|
||||
|
||||
<transition xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_launcher_trashcan_normal_holo" />
|
||||
<item android:drawable="@drawable/ic_launcher_trashcan_active_holo" />
|
||||
<item android:drawable="@drawable/ic_launcher_uninstall_normal" />
|
||||
<item android:drawable="@drawable/ic_launcher_uninstall_active" />
|
||||
</transition>
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
<resources>
|
||||
<!-- The color tints to apply to the text and drag view when hovering
|
||||
over the delete target or the info target -->
|
||||
<color name="delete_target_hover_tint">#DAFF0000</color>
|
||||
<color name="info_target_hover_tint">#DA0099CC</color>
|
||||
<color name="delete_target_hover_tint">#DAC1C1C1</color>
|
||||
<color name="uninstall_target_hover_tint">#DAF0592B</color>
|
||||
<color name="info_target_hover_tint">#DA009688</color>
|
||||
<color name="cling_scrim_background">#80000000</color>
|
||||
|
||||
<color name="bubble_dark_background">#20000000</color>
|
||||
|
|
|
@ -26,7 +26,7 @@ public class UninstallDropTarget extends ButtonDropTarget {
|
|||
protected void onFinishInflate() {
|
||||
super.onFinishInflate();
|
||||
// Get the hover color
|
||||
mHoverColor = getResources().getColor(R.color.delete_target_hover_tint);
|
||||
mHoverColor = getResources().getColor(R.color.uninstall_target_hover_tint);
|
||||
|
||||
setDrawable(R.drawable.uninstall_target_selector);
|
||||
}
|
||||
|
|