Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IClient opened this issue Mar 21, 2022 · 0 comments

Comments

@IClient
Copy link

IClient commented Mar 21, 2022

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant