Open amouly opened 9 years ago
No need to hardcode the strings in XML files, you can avoid this by using the "tools" namespace. Like an example:
<TextView android:id="@+id/contact_name" android:layout_width="match_parent" android:layout_height="wrap_content" tools:text="John Doe" android:layout_gravity="center_horizontal" />
This produce bad UX for the user when entering the Details section of the app. When loading the section, it's pre-loading default content.
No need to hardcode the strings in XML files, you can avoid this by using the "tools" namespace. Like an example:
<TextView android:id="@+id/contact_name" android:layout_width="match_parent" android:layout_height="wrap_content" tools:text="John Doe" android:layout_gravity="center_horizontal" />