| | |
| | | import com.moral.yunfushao.MainApp; |
| | | import com.moral.yunfushao.R; |
| | | import com.moral.yunfushao.activity.LoginActivity; |
| | | import com.moral.yunfushao.activity.TestActivity; |
| | | import com.moral.yunfushao.activity.VoiceSetActivity; |
| | | import com.moral.yunfushao.base.BaseFragment; |
| | | import com.moral.yunfushao.common.API; |
| | |
| | | private TextView tv_version; |
| | | private RelativeLayout rl_setvoice,rl_refresh; |
| | | private Button bt_sure; |
| | | private Button bt_look; |
| | | private SwitchCompat sc_open; |
| | | private int refreshIndex=0; |
| | | @Override |
| | |
| | | rl_setvoice = findView(R.id.rl_setvoice); |
| | | rl_refresh = findView(R.id.rl_refresh); |
| | | bt_sure = findView(R.id.bt_sure); |
| | | bt_look = findView(R.id.bt_look); |
| | | sc_open = findView(R.id.sc_open); |
| | | tv_version = findView(R.id.tv_version); |
| | | tv_version.setText("当前版本V"+getVersion()); |
| | |
| | | } |
| | | } |
| | | }); |
| | | |
| | | bt_look.setOnClickListener(new View.OnClickListener() { |
| | | @Override |
| | | public void onClick(View view) { |
| | | Intent intent = new Intent(getActivity(), TestActivity.class); |
| | | startActivity(intent); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | @Override |