Im new to android and im stuck on implementing a string which contains either a vector or image in a single string or concatenated string. ive tried programatically as well as string resource but nothing came up as expected. I want the result just as an empty view list that is in whatsapp.
here is my code for string value...
<string name="empty_Employee">Nothing To Display!!! \n Add
Data By Tapping The Button At The Bottom Of Your Screen</string>
here is the code for java
TextView tv = view.findViewById(R.id.empty);
Drawable d = getResources().getDrawable(R.drawable.ic_group_black_24dp);
tv.setText("Tap "+d+" To add data!");
the above steps do not work..they return string address of the specified drawable
if the question is already answered please link the answer here!!
so can anyone help me!!.. Thx in advance!!