I am new to android, jsut a very plain simple question, how do i add a bottom line to a text view, so that it appears at the bottom of the cell as 1dp, here's the code so far:
android:layout_width="match_parent"
android:layout_height="47.5dp"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:paddingTop="13dp"
android:background="@drawable/line_str"
android:paddingLeft="8dp"
android:text="@string/manage_categories"
android:singleLine="true"
android:textColor="@color/white"
android:fontFamily="Roboto-Regular"
android:layout_gravity="center"
android:textSize="16sp"
/>
line_str.xml as follows:
Any help appreciated. Thanks!Justin
.
stackoverflow.comm
No comments:
Post a Comment