Skip to content

RF Sentinel (RFSentinel): free, open-source police detector app for Android. Spots police body cams, Flock ALPR cameras, AirTag trackers, Remote ID drones, smart glasses and fake cell towers from Bluetooth LE and WiFi. No root.

List: slimmer group headers

CIS-C021fff9dc05be
diff --git a/app/src/main/java/com/rfsentinel/app/ui/DeviceAdapter.kt b/app/src/main/java/com/rfsentinel/app/ui/DeviceAdapter.kt
index 9b33c55..2e7e539 100644
--- a/app/src/main/java/com/rfsentinel/app/ui/DeviceAdapter.kt
+++ b/app/src/main/java/com/rfsentinel/app/ui/DeviceAdapter.kt
@@ -213,7 +213,8 @@ class DeviceAdapter(
fun groupHeader(parent: ViewGroup): TextView = TextView(parent.context).apply {
val dp = resources.displayMetrics.density
layoutParams = RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
- setPaddingRelative((12 * dp).toInt(), (6 * dp).toInt(), (12 * dp).toInt(), (4 * dp).toInt())
+ setPaddingRelative((12 * dp).toInt(), (4 * dp).toInt(), (12 * dp).toInt(), (1 * dp).toInt())
+ includeFontPadding = false
textSize = 14f
setTypeface(typeface, Typeface.BOLD)
val tv = android.util.TypedValue()