InputInfoActivity.java 文件源码

java
阅读 36 收藏 0 点赞 0 评论 0

项目:CCDownload 作者:
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    service = new Intent(this, UploadService.class);
    inputLayout = new RelativeLayout(this);
    inputLayout.setBackgroundColor(Color.WHITE);
    inputLayout.setHorizontalGravity(Gravity.CENTER_HORIZONTAL);
    inputLayout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
    getCategory();
    initView();

       bindService(service, serviceConnection, Context.BIND_AUTO_CREATE);

       String path = getIntent().getStringExtra("filePath");
       if (path != null) {
        filePath = path;
    }

       getActionBar().setDisplayHomeAsUpEnabled(true);
       uploadButton.setOnClickListener(this);

       setContentView(inputLayout);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号