mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-05 12:01:35 +00:00
Fix comments input color in dark black theme. Fixes austinhuang0131/barinsta#1062
This commit is contained in:
parent
6df5bc056c
commit
c0fb6e3a50
4 changed files with 21 additions and 17 deletions
|
|
@ -31,7 +31,8 @@
|
|||
app:counterMaxLength="2200"
|
||||
app:endIconDrawable="@drawable/ic_round_send_24"
|
||||
app:endIconMode="custom"
|
||||
app:startIconDrawable="@drawable/ic_close_24">
|
||||
app:startIconDrawable="@drawable/ic_close_24"
|
||||
tools:visibility="visible">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/commentText"
|
||||
|
|
@ -41,7 +42,8 @@
|
|||
android:inputType="textMultiLine"
|
||||
android:maxLength="2200"
|
||||
android:maxLines="10"
|
||||
android:scrollHorizontally="false" />
|
||||
android:scrollHorizontally="false"
|
||||
tools:text="test" />
|
||||
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
|
@ -260,4 +260,14 @@
|
|||
<style name="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox.Light.Barinsta" parent="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox">
|
||||
<item name="colorPrimary">@color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dark.Black" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox.Dark.Black</item>
|
||||
<item name="hintTextColor">@color/white</item>
|
||||
<item name="boxStrokeColor">@color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox.Dark.Black" parent="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox">
|
||||
<item name="colorPrimary">@color/white</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@
|
|||
<item name="dmOutgoingBgColor">@color/deep_purple_400</item>
|
||||
<item name="dmDateHeaderBgColor">@color/deep_purple_600</item>
|
||||
<item name="tabStyle">@style/Widget.MaterialComponents.TabLayout.Dark.Black</item>
|
||||
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dark.Black</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dark.MaterialDark" parent="AppTheme.Dark">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue