Browse Source

no message

master
lh 7 years ago
parent
commit
7fdc51795d
2 changed files with 7 additions and 0 deletions
  1. +6
    -0
      app/src/main/java/com/qhclh/ytzh/me/MeFragment.java
  2. +1
    -0
      app/src/main/res/layout/fragment_me.xml

+ 6
- 0
app/src/main/java/com/qhclh/ytzh/me/MeFragment.java View File

@ -8,6 +8,9 @@ import android.widget.TextView;
import com.qhclh.ytzh.R;
import com.qhclh.ytzh.base.BaseFragment;
import com.qhclh.ytzh.configs.LoginUserConfig;
import com.qhclh.ytzh.home.MyApplication;
import com.qhclh.ytzh.utils.ApkUtils;
import butterknife.BindView;
import butterknife.OnClick;
@ -24,6 +27,8 @@ public class MeFragment extends BaseFragment {
TextView meMsg;
@BindView(R.id.me_set)
TextView meSet;
@BindView(R.id.tv_name)
TextView tv_name;
private TextView me_msg, me_set;
@Override
@ -34,6 +39,7 @@ public class MeFragment extends BaseFragment {
@Override
protected void initView() {
drawView();
tv_name.setText("v"+ApkUtils.getVersionName(getActivity()));
}
@Override


+ 1
- 0
app/src/main/res/layout/fragment_me.xml View File

@ -26,6 +26,7 @@
android:src="@mipmap/ic_launcher" />
<TextView
android:id="@+id/tv_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_20"


Loading…
Cancel
Save