Color Material

This commit is contained in:
androiddevkkotlin 2020-11-13 16:08:42 +02:00
parent 2531c61108
commit 130469d811
4 changed files with 8 additions and 4 deletions

View file

@ -40,9 +40,9 @@
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/message_field"
android:layout_width="match_parent"
android:background = "?attr/background_field"
android:layout_height="wrap_content"
android:imeOptions="actionDone"
android:background = "#E5E5E5"
android:paddingTop = "@dimen/empty_state_image_margin_bottom"/>
</com.google.android.material.textfield.TextInputLayout>
@ -62,9 +62,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="actionDone"
android:text="osmand"
android:background = "#E5E5E5"
android:paddingTop = "@dimen/empty_state_image_margin_bottom"/>
android:background = "?attr/background_field"
android:text="osmand" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>

View file

@ -138,6 +138,7 @@
<attr name="btn_radio_button_right" format="reference"/>
<attr name="btn_radio_button_center" format="reference"/>
<attr name="bg_dash_line" format="reference"/>
<attr name="background_field" format="reference"/>
</declare-styleable>
<declare-styleable name="PagerSlidingTabStrip">

View file

@ -477,5 +477,7 @@
<color name="switch_button_active_stroke_dark">#80D28521</color>
<color name="empty_hint_bg">#80000000</color>
<color name="input_layout_bg_color">#4DCCCCCC</color>
<color name="background_field_light">#14000000</color>
<color name="background_field_dark">#0DFFFFFF</color>
</resources>

View file

@ -245,6 +245,7 @@
<item name="btn_radio_button_center">@drawable/radio_button_center_light</item>
<item name="checkboxStyle">@style/CheckboxStyle</item>
<item name="radioButtonStyle">@style/RadioButtonStyle</item>
<item name="background_field">@color/background_field_light</item>
</style>
<style name="ToolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
@ -539,6 +540,7 @@
<item name="btn_radio_button_center">@drawable/radio_button_center_dark</item>
<item name="checkboxStyle">@style/CheckboxStyle</item>
<item name="radioButtonStyle">@style/RadioButtonStyle</item>
<item name="background_field">@color/background_field_dark</item>
</style>
<style name="FreeVersionBanner" parent="OsmandDarkTheme">