一、说在前面
今天一天都是满课,从早到晚,只在建民主任课上留的时间里面做了一些关于界面的轻微改动。下课之后依然征战与无尽的实验与作业之中。
二、完成情况
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/imageView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/tab_title" android:layout_alignParentStart="true" android:layout_alignParentLeft="true" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" android:layout_marginStart="0dp" android:layout_marginLeft="0dp" android:layout_marginTop="176dp" android:layout_marginEnd="0dp" android:layout_marginRight="0dp" android:layout_marginBottom="195dp" app:srcCompat="@drawable/p1" /> <RelativeLayout android:id="@+id/tab_title" android:layout_width="match_parent" android:layout_height="60dp" android:background="#DCFFC107"> <Button android:id="@+id/txt_zhichu" android:layout_width="50dp" android:layout_height="30dp" android:layout_marginLeft="100dp" android:layout_marginTop="15dp" android:textSize="18sp" android:background="@drawable/zc_bianse" android:textColor="#000000" android:text= "支出" /> <Button android:id="@+id/txt_shouru" android:layout_width="50dp" android:layout_height="30dp" android:layout_marginTop="15dp" android:layout_marginLeft="220dp" android:background="@drawable/zc_bianse" android:textSize="18sp" android:textColor="#000000" android:text= "收入" /> <View android:layout_width="match_parent" android:layout_height="2px" android:background="#E91E63" android:layout_alignParentBottom="true"/> </RelativeLayout> </RelativeLayout>