diff --git a/res/drawable-hdpi/kitkatcompatselector_list_activated_holo.9.png b/res/drawable-hdpi/kitkatcompatselector_list_activated_holo.9.png deleted file mode 100644 index d0344937..00000000 Binary files a/res/drawable-hdpi/kitkatcompatselector_list_activated_holo.9.png and /dev/null differ diff --git a/res/drawable-hdpi/kitkatcompatselector_list_focused_holo.9.png b/res/drawable-hdpi/kitkatcompatselector_list_focused_holo.9.png deleted file mode 100644 index 8c03ae50..00000000 Binary files a/res/drawable-hdpi/kitkatcompatselector_list_focused_holo.9.png and /dev/null differ diff --git a/res/drawable-hdpi/kitkatcompatselector_list_longpressed_holo.9.png b/res/drawable-hdpi/kitkatcompatselector_list_longpressed_holo.9.png deleted file mode 100644 index d0de5884..00000000 Binary files a/res/drawable-hdpi/kitkatcompatselector_list_longpressed_holo.9.png and /dev/null differ diff --git a/res/drawable-hdpi/kitkatcompatselector_list_pressed_holo_dark.9.png b/res/drawable-hdpi/kitkatcompatselector_list_pressed_holo_dark.9.png deleted file mode 100644 index 9cd7c556..00000000 Binary files a/res/drawable-hdpi/kitkatcompatselector_list_pressed_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-hdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png b/res/drawable-hdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png deleted file mode 100644 index f6fd30dc..00000000 Binary files a/res/drawable-hdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-mdpi/kitkatcompatselector_list_activated_holo.9.png b/res/drawable-mdpi/kitkatcompatselector_list_activated_holo.9.png deleted file mode 100644 index 408e3680..00000000 Binary files a/res/drawable-mdpi/kitkatcompatselector_list_activated_holo.9.png and /dev/null differ diff --git a/res/drawable-mdpi/kitkatcompatselector_list_focused_holo.9.png b/res/drawable-mdpi/kitkatcompatselector_list_focused_holo.9.png deleted file mode 100644 index 19a95d23..00000000 Binary files a/res/drawable-mdpi/kitkatcompatselector_list_focused_holo.9.png and /dev/null differ diff --git a/res/drawable-mdpi/kitkatcompatselector_list_longpressed_holo.9.png b/res/drawable-mdpi/kitkatcompatselector_list_longpressed_holo.9.png deleted file mode 100644 index f658b2ab..00000000 Binary files a/res/drawable-mdpi/kitkatcompatselector_list_longpressed_holo.9.png and /dev/null differ diff --git a/res/drawable-mdpi/kitkatcompatselector_list_pressed_holo_dark.9.png b/res/drawable-mdpi/kitkatcompatselector_list_pressed_holo_dark.9.png deleted file mode 100644 index 2de626c0..00000000 Binary files a/res/drawable-mdpi/kitkatcompatselector_list_pressed_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-mdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png b/res/drawable-mdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png deleted file mode 100644 index 92da2f0d..00000000 Binary files a/res/drawable-mdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/kitkatcompatselector_list_activated_holo.9.png b/res/drawable-xhdpi/kitkatcompatselector_list_activated_holo.9.png deleted file mode 100644 index f5d6a5db..00000000 Binary files a/res/drawable-xhdpi/kitkatcompatselector_list_activated_holo.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/kitkatcompatselector_list_focused_holo.9.png b/res/drawable-xhdpi/kitkatcompatselector_list_focused_holo.9.png deleted file mode 100644 index e5051b4d..00000000 Binary files a/res/drawable-xhdpi/kitkatcompatselector_list_focused_holo.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/kitkatcompatselector_list_longpressed_holo.9.png b/res/drawable-xhdpi/kitkatcompatselector_list_longpressed_holo.9.png deleted file mode 100644 index b9652ca1..00000000 Binary files a/res/drawable-xhdpi/kitkatcompatselector_list_longpressed_holo.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/kitkatcompatselector_list_pressed_holo_dark.9.png b/res/drawable-xhdpi/kitkatcompatselector_list_pressed_holo_dark.9.png deleted file mode 100644 index 1f6f3cd3..00000000 Binary files a/res/drawable-xhdpi/kitkatcompatselector_list_pressed_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png b/res/drawable-xhdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png deleted file mode 100644 index 88726b69..00000000 Binary files a/res/drawable-xhdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/kitkatcompatselector_list_activated_holo.9.png b/res/drawable-xxhdpi/kitkatcompatselector_list_activated_holo.9.png deleted file mode 100644 index 82f9632d..00000000 Binary files a/res/drawable-xxhdpi/kitkatcompatselector_list_activated_holo.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/kitkatcompatselector_list_focused_holo.9.png b/res/drawable-xxhdpi/kitkatcompatselector_list_focused_holo.9.png deleted file mode 100644 index 2ac927b6..00000000 Binary files a/res/drawable-xxhdpi/kitkatcompatselector_list_focused_holo.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/kitkatcompatselector_list_longpressed_holo.9.png b/res/drawable-xxhdpi/kitkatcompatselector_list_longpressed_holo.9.png deleted file mode 100644 index 5c750bb8..00000000 Binary files a/res/drawable-xxhdpi/kitkatcompatselector_list_longpressed_holo.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/kitkatcompatselector_list_pressed_holo_dark.9.png b/res/drawable-xxhdpi/kitkatcompatselector_list_pressed_holo_dark.9.png deleted file mode 100644 index 8cdca02e..00000000 Binary files a/res/drawable-xxhdpi/kitkatcompatselector_list_pressed_holo_dark.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png b/res/drawable-xxhdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png deleted file mode 100644 index 908f76b4..00000000 Binary files a/res/drawable-xxhdpi/kitkatcompatselector_list_selector_disabled_holo_dark.9.png and /dev/null differ diff --git a/res/drawable/kitkatcompatselector_activated_background_holo_dark.xml b/res/drawable/kitkatcompatselector_activated_background_holo_dark.xml deleted file mode 100644 index 747de57e..00000000 --- a/res/drawable/kitkatcompatselector_activated_background_holo_dark.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - diff --git a/res/drawable/kitkatcompatselector_item_background_holo_dark.xml b/res/drawable/kitkatcompatselector_item_background_holo_dark.xml deleted file mode 100644 index 75eec01c..00000000 --- a/res/drawable/kitkatcompatselector_item_background_holo_dark.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - diff --git a/res/drawable/kitkatcompatselector_list_selector_background_transition_holo_dark.xml b/res/drawable/kitkatcompatselector_list_selector_background_transition_holo_dark.xml deleted file mode 100644 index 1ac8306a..00000000 --- a/res/drawable/kitkatcompatselector_list_selector_background_transition_holo_dark.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - diff --git a/res/drawable/kitkatcompatselector_list_selector_holo_dark.xml b/res/drawable/kitkatcompatselector_list_selector_holo_dark.xml deleted file mode 100644 index 13c4f776..00000000 --- a/res/drawable/kitkatcompatselector_list_selector_holo_dark.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - diff --git a/res/layout/list_item_entry.xml b/res/layout/list_item_entry.xml index c43d6956..c772d8f5 100644 --- a/res/layout/list_item_entry.xml +++ b/res/layout/list_item_entry.xml @@ -8,8 +8,10 @@ android:minHeight="?android:attr/listPreferredItemHeight" android:gravity="center_vertical" android:paddingRight="?android:attr/scrollbarSize" + android:background="@drawable/abc_list_selector_holo_dark" android:orientation="vertical"> - + - - - - - - - \ No newline at end of file diff --git a/res/values/colors_kitkatcompatselector.xml b/res/values/colors_kitkatcompatselector.xml deleted file mode 100644 index 950493b0..00000000 --- a/res/values/colors_kitkatcompatselector.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - #33b5e5 - diff --git a/res/values/styles_kitkatcompatselector.xml b/res/values/styles_kitkatcompatselector.xml deleted file mode 100644 index dde24620..00000000 --- a/res/values/styles_kitkatcompatselector.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/res/values/themes_kitkatcompatselector.xml b/res/values/themes_kitkatcompatselector.xml deleted file mode 100644 index af0599d2..00000000 --- a/res/values/themes_kitkatcompatselector.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/src/org/kde/kdeconnect/UserInterface/List/DeviceItem.java b/src/org/kde/kdeconnect/UserInterface/List/DeviceItem.java index 22c71401..247254b2 100644 --- a/src/org/kde/kdeconnect/UserInterface/List/DeviceItem.java +++ b/src/org/kde/kdeconnect/UserInterface/List/DeviceItem.java @@ -24,7 +24,6 @@ package org.kde.kdeconnect.UserInterface.List; import android.app.Activity; import android.content.Intent; import android.view.LayoutInflater; -import android.view.MotionEvent; import android.view.View; import android.widget.TextView; @@ -47,9 +46,6 @@ public class DeviceItem implements ListAdapter.Item { public View inflateView(LayoutInflater layoutInflater) { final View v = layoutInflater.inflate(R.layout.list_item_entry, null); - //Highlight when selected effect - v.setBackgroundDrawable(layoutInflater.getContext().getResources().getDrawable(R.drawable.kitkatcompatselector_list_selector_holo_dark)); - TextView titleView = (TextView)v.findViewById(R.id.list_item_entry_title); if (titleView != null) titleView.setText(device.getName()); if (device.compareProtocolVersion() != 0) { diff --git a/src/org/kde/kdeconnect/UserInterface/List/SmallEntryItem.java b/src/org/kde/kdeconnect/UserInterface/List/SmallEntryItem.java index f00b9d34..8672d73e 100644 --- a/src/org/kde/kdeconnect/UserInterface/List/SmallEntryItem.java +++ b/src/org/kde/kdeconnect/UserInterface/List/SmallEntryItem.java @@ -50,8 +50,7 @@ public class SmallEntryItem implements ListAdapter.Item { if (titleView != null) titleView.setText(title); if (clickListener != null) { titleView.setOnClickListener(clickListener); - v.setBackgroundDrawable(layoutInflater.getContext().getResources().getDrawable(R.drawable.kitkatcompatselector_list_selector_holo_dark)); - + v.setBackgroundDrawable(layoutInflater.getContext().getResources().getDrawable(R.drawable.abc_list_selector_holo_dark)); } return v;