]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fixed auto-complete pop-up background color for the material layout too
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 7 May 2021 19:24:25 +0000 (22:24 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 7 May 2021 19:24:25 +0000 (22:24 +0300)
app/src/main/res/layout/template_details_account.xml
app/src/main/res/values-night/styles.xml
app/src/main/res/values/styles.xml

index a6c71fa90c589d212f078eabc85cec2b6595fcd1..d91bd577ea6ae4a5488f596f9b8d8eaa48417363 100644 (file)
@@ -73,7 +73,7 @@
         >
         <com.google.android.material.textfield.MaterialAutoCompleteTextView
             android:id="@+id/template_details_account_name"
-            style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
+            style="@style/MoLeMaterialAutoCompleteTextViewStyle"
             android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
index eb1323f60d46e85d35e12e0c81a5711e661e3c14..1489a08cb2918f3b0f0b080cbbadce6aeaa990de 100644 (file)
         <item name="android:popupBackground">#272727</item>
     </style>
 
+    <style name="MoLeMaterialAutoCompleteTextViewStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
+        <item name="android:popupBackground">#272727</item>
+    </style>
+
     <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
         <item name="colorOnPrimary">@android:color/white</item>
         <item name="windowActionBar">false</item>
index 888ccbfed7a585fea149af86873db0a89d5e4225..f6467892b637fe664c9b14990e10839e1d2df286 100644 (file)
@@ -19,6 +19,8 @@
     <!-- Base application theme. -->
     <!-- base hue: 261.2245° -->
     <!-- target primary color: #935FF2 -->
+    <style name="MoLeMaterialAutoCompleteTextViewStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"></style>
+
     <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
         <item name="colorOnPrimary">@android:color/white</item>
         <item name="windowActionBar">false</item>