-
Notifications
You must be signed in to change notification settings - Fork 343
Description
Summary:
Several layout files use deprecated XML attributes: fill_parent and android:singleLine="true". These should be replaced with their modern equivalents to improve code quality and future compatibility.
Steps to reproduce:
Open XML layout files such as search_box.xml, trip_details_listitem.xml, and trip_info.xml
Observe usage of deprecated attributes:
android:layout_width="fill_parent" instead of match_parent
android:singleLine="true" instead of android:maxLines="1"
Expected behavior:
All layout files should use modern attributes to avoid build warnings and ensure future compatibility.
Observed behavior:
Many XML layout files use deprecated attributes that have been discouraged since API levels 8 (fill_parent) and 15 (singleLine).
Possible fixes:
Replace deprecated attributes throughout the codebase with their modern equivalents