79584539

Date: 2025-04-21 11:36:04
Score: 0.5
Natty:
Report link

First, you have to make shape in drawable:

<shape android:shape="line" xmlns:android="http://schemas.android.com/apk/res/android">
    <stroke android:color="@color/gray" android:width="1dp"/>
</shape>

After that, set this shape on the TextView.

android:background="@drawable/discount_line"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hadi Abedi