버튼을 <Button>으로 했더니 foreground 수정은 반영이 되는데 background에 이미지를 넣던 색을 넣던 수정이 안되는 현상이 있었다. 간단하게 태그를 <androidx.appcompat.widget.AppCompatButton>로 수정해서 해결함.

 

    //<Button />
    <androidx.appcompat.widget.AppCompatButton
        android:id="@+id/btn_signin_google"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_margin="16dp"
        android:background="@drawable/btn_google_signin_light_normal_hdpi"
        android:text="@string/signin_google"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/tv_appTitle" />

+ Recent posts