Commit 921be0e8 by 段启岩

完善我的界面

parent f2b01c54
...@@ -89,6 +89,11 @@ public class BeyondSettingsItem extends FrameLayout { ...@@ -89,6 +89,11 @@ public class BeyondSettingsItem extends FrameLayout {
} }
public void setSubTitle(String subTitle) {
this.mSubTitle = mSubTitle;
binding.txtSubtitle.setText(mSubTitle);
}
private void initView(Context context) { private void initView(Context context) {
binding = BeyondSettingsItemBinding.inflate(LayoutInflater.from(context), this, true); binding = BeyondSettingsItemBinding.inflate(LayoutInflater.from(context), this, true);
if (mSubTitleTextAppearance != 0) { if (mSubTitleTextAppearance != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment