Loading app/src/main/java/io/eelo/appinstaller/categories/CategoriesFragment.kt +6 −2 Original line number Diff line number Diff line Loading @@ -86,7 +86,9 @@ class CategoriesFragment : Fragment() { textView.maxLines = 1 textView.ellipsize = TextUtils.TruncateAt.END textView.isClickable = true if (android.os.Build.VERSION.SDK_INT >= 23) { textView.foreground = activity!!.getDrawable(R.drawable.app_category_border) } val outValue = TypedValue() context!!.theme.resolveAttribute(android.R.attr.selectableItemBackground, outValue, true) textView.setBackgroundResource(outValue.resourceId) Loading @@ -112,7 +114,9 @@ class CategoriesFragment : Fragment() { textView.maxLines = 1 textView.ellipsize = TextUtils.TruncateAt.END textView.isClickable = true if (android.os.Build.VERSION.SDK_INT >= 23) { textView.foreground = activity!!.getDrawable(R.drawable.app_category_border) } val outValue = TypedValue() context!!.theme.resolveAttribute(android.R.attr.selectableItemBackground, outValue, true) textView.setBackgroundResource(outValue.resourceId) Loading Loading
app/src/main/java/io/eelo/appinstaller/categories/CategoriesFragment.kt +6 −2 Original line number Diff line number Diff line Loading @@ -86,7 +86,9 @@ class CategoriesFragment : Fragment() { textView.maxLines = 1 textView.ellipsize = TextUtils.TruncateAt.END textView.isClickable = true if (android.os.Build.VERSION.SDK_INT >= 23) { textView.foreground = activity!!.getDrawable(R.drawable.app_category_border) } val outValue = TypedValue() context!!.theme.resolveAttribute(android.R.attr.selectableItemBackground, outValue, true) textView.setBackgroundResource(outValue.resourceId) Loading @@ -112,7 +114,9 @@ class CategoriesFragment : Fragment() { textView.maxLines = 1 textView.ellipsize = TextUtils.TruncateAt.END textView.isClickable = true if (android.os.Build.VERSION.SDK_INT >= 23) { textView.foreground = activity!!.getDrawable(R.drawable.app_category_border) } val outValue = TypedValue() context!!.theme.resolveAttribute(android.R.attr.selectableItemBackground, outValue, true) textView.setBackgroundResource(outValue.resourceId) Loading