实现效果如下: 如上,将头像后面的东西看作一个整体,因为不能影响后面内容的换行,且前面控件的长度是可变的,所以采用自定义View的方法来实现: /** * CSDN深海呐 https://blog.csdn.net/qq_40945489/article/details/109399596 */ public class TagTextView extends AppCompatTextView { private Context mContext; private TextView mTabText; private StringBuffer mContentStringBuffer; //必须重写所有的构造器,否则可能会出现无法inflate布局的错误! public TagTextView(Context context) { super(context); mContext = context; } public TagTextView(Context context, AttributeSet attrs) { super(context, attrs);...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with view.buildDrawing
Contact view.buildDrawing, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack