123456789101112131415161718192021 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:orientation="horizontal"
- android:background="@android:color/darker_gray"
- android:gravity="center"
- android:padding="20dp"
- android:layout_height="match_parent">
- <TextView
- android:layout_width="wrap_content"
- android:id="@+id/tvToast"
- android:text="Toast"
- android:textSize="35sp"
- android:textColor="#fff"
- android:layout_height="wrap_content"/>
- </LinearLayout>
- </LinearLayout>
|