Upd: Сделал так, но как можно заставить TextView менять цвет текста в зависимости от того, находится ли LinearLayout в состоянии state_pressed или нет?
Код: Выделить всё
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
android:orientation="vertical"
android:padding="5dp"
style="@android:style/Widget.Button"
android:background="@drawable/signup_background_states">
<TextView
android:id="@+id/authSignupText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/auth_register"
android:textColor="@color/signup_button_text_colors"
android:textSize="@dimen/auth_register"
android:textStyle="bold" />
<TextView
android:id="@+id/authSignupSubtext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/auth_register_subtext"
android:textColor="@color/signup_button_subtext_colors"
android:layout_marginTop="10dp"
android:gravity="center" />
</LinearLayout>