团队冲刺09

团队冲刺09

完成数据库的连接

明天尝试对数据库的编写

成果展示:

package com.example.animator.knowledge_circle;

import android.app.Activity;
import android.graphics.Color;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class MoneyDetailActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_money_detail);
        ImageView back = (ImageView) findViewById(R.id.back_from_money_detail);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
        View down1 = findViewById(R.id.detail_down1);
        down1.setBackgroundColor(Color.parseColor("#f43a68"));
    }
}
package com.example.animator.knowledge_circle;

import android.app.Activity;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class EssayActivity extends Activity {
    ImageView back;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_essay);
        back = (ImageView) findViewById(R.id.back_from_essay);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }
}

 

posted @ 2020-04-23 21:14  城南漠北  阅读(84)  评论(0编辑  收藏  举报