I have been working on Android for several years and throughout I have been using underscore for naming ids in xml e.g. blocked_numbers_title :
<TextView
android:id="@+id/blocked_numbers_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Blocked Numbers"
android:gravity="center"
android:textSize="40sp"
android:textColor="@color/colorTextPrimary"
android:textStyle="bold"
tools:ignore="MissingConstraints" />
Since in kotlin we can directly access these ids like variables, they do not look good with underscore since they are not following camelCase. Will it be good practice to follow camelCase for naming ids in XML as well like blockedNumbersTitle or is there any better practice?