Skip to content

Commit

Permalink
Merge pull request #1906 from XvSir0/master
Browse files Browse the repository at this point in the history
#4 #526 第四次实验
  • Loading branch information
zengsn authored May 20, 2019
2 parents ab7129c + 5713018 commit 05f477a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ protected void onCreate(Bundle savedInstanceState) {
//初始化控件
private void init(){
createButton = findViewById(R.id.createButton);

createButton.getBackground().setAlpha(110);

createButton.setOnClickListener(this);

myListView = findViewById(R.id.list_view);
Expand Down Expand Up @@ -250,5 +253,7 @@ class ViewHolder{
TextView timeView;
}


}


9 changes: 9 additions & 0 deletions students/soft1714080902117/res/drawable/btn_2_shape.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color=" #F0E68C"/>
<corners
android:radius="10dp"/>

</shape>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
android:textSize="20sp"
android:layout_centerInParent="true"
android:layout_alignParentBottom="true"
android:background="@drawable/btn_2_shape"

/>
</RelativeLayout>
Expand Down

0 comments on commit 05f477a

Please sign in to comment.