| | |
| | | |
| | | |
| | | <!-- 快递/财务切换区域 --> |
| | | <LinearLayout |
| | | <FrameLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="8dp" |
| | | android:layout_marginTop="8dp" |
| | | android:layout_marginHorizontal="8dp" |
| | | android:orientation="horizontal"> |
| | | android:layout_marginHorizontal="8dp"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tabExpress" |
| | | android:layout_width="0dp" |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="快递" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | android:layout_marginEnd="30dp" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tabFinance" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="还款" |
| | | android:textSize="14sp" /> |
| | | <com.example.firstapp.view.UnderlineTextView |
| | | android:id="@+id/tabExpress" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="快递" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tabIncome" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="收入" |
| | | android:textSize="14sp" /> |
| | | <com.example.firstapp.view.UnderlineTextView |
| | | android:id="@+id/tabFinance" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="还款" |
| | | android:textSize="14sp" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tabFlight" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="航班" |
| | | android:textSize="14sp" /> |
| | | <com.example.firstapp.view.UnderlineTextView |
| | | android:id="@+id/tabIncome" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="收入" |
| | | android:textSize="14sp" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tabTrain" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="火车票" |
| | | android:textSize="14sp" /> |
| | | <com.example.firstapp.view.UnderlineTextView |
| | | android:id="@+id/tabFlight" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="航班" |
| | | android:textSize="14sp" /> |
| | | |
| | | <com.example.firstapp.view.UnderlineTextView |
| | | android:id="@+id/tabTrain" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:padding="6dp" |
| | | android:text="火车票" |
| | | android:textSize="14sp" /> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <ImageButton |
| | | android:id="@+id/categoryButton" |
| | | android:layout_width="28dp" |
| | | android:layout_height="28dp" |
| | | android:layout_gravity="center_vertical" |
| | | android:layout_marginStart="2dp" |
| | | android:layout_marginEnd="2dp" |
| | | android:layout_gravity="center_vertical|end" |
| | | android:background="?attr/selectableItemBackgroundBorderless" |
| | | android:contentDescription="分类设置" |
| | | android:padding="4dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/home_add" /> |
| | | |
| | | </LinearLayout> |
| | | </FrameLayout> |
| | | |
| | | <!-- 内容区域 --> |
| | | <FrameLayout |