ximsfei / Android-skin-support

Android-skin-support is an easy dynamic skin framework to use for Android, Only one line of code to integrate it. Android 换肤框架, 极低的学习成本, 极好的用户体验. "一行"代码就可以实现换肤, 你值得拥有!!!
MIT License
6.41k stars 1.08k forks source link

插件化换肤布局中的checkbox和TextInputEditText等的style或theme不生效 #472

Open IClient opened 2 years ago

IClient commented 2 years ago

1.插件化换肤后,### Checbox默认颜色以及选中颜色没变,设置了theme也没用 2.还有就是### TextInputEditText的下划线,标签等颜色无法设置。并且设置的login_pwicon图标也不显示。 <com.google.android.material.textfield.TextInputLayout android:id="@+id/login_pw" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" app:passwordToggleEnabled="true" android:padding="10dp" android:theme="@style/myEditText" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/login_username">

        <com.google.android.material.textfield.TextInputEditText
            android:id="@+id/login_pwvalue"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:drawableStart="@mipmap/login_pwicon"
            android:drawableLeft="@mipmap/login_pwicon"
            android:drawablePadding="10dp"
            android:ellipsize="end"
            android:gravity="start|center_vertical"
            android:hint="@string/login_pw"
            android:inputType="textPassword"
            android:textSize="16sp" />

    </com.google.android.material.textfield.TextInputLayout>