wrap_content
设置TextView的宽度和高度为 wrap_content,则其大小会自动适应文本。
textSize
设置字体大小
textColor
设置字体颜色
<TextView android:text="Excited for the gift you'll surprise me with." android:background="@android:color/darker_gray" android:textSize="27sp" android:layout_width="wrap_content" android:layout_height="wrap_content" />