【发布时间】:2020-09-22 04:46:07
【问题描述】:
我需要更改颜色,但我不知道该怎么做。你能帮帮我吗?
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/contraseña"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="440dp"
android:layout_marginEnd="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Contraseña"
android:inputType="textPersonName" />
</com.google.android.material.textfield.TextInputLayout>
我想把灰色改成白色。
【问题讨论】:
-
你想换什么颜色?
-
我想把边框和提示文字改成白色
标签: android android-studio android-layout