Is it possible to draw a border around the text view?
android-layout android textview android-textview
You can do it by designating the shape like a rectangle as the background on the drawable.
<TextView android:text="Some text" android:background="@drawable/back"/>
At the bottom, make a back.xml on the drawable and put the code at the bottom.
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<solid android:color="#ffffff" />
<stroke android:width="1dip" android:color="#4fa5d5"/>
</shape>
It's possible to make it transparent if you put it in 8 digits like #00000000 in solid color.
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
914 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
578 Understanding How to Configure Google API Key
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.