Commit 7d0ccb2c by Paktalin

Changed color scheme

parent 5ccfc374
......@@ -33,6 +33,7 @@ class MainActivity : AppCompatActivity() {
setContentView(R.layout.activity_main)
FirestoreManager.vocabularyId = getSavedVocabularyId(this@MainActivity)
swipeRefresh.setOnRefreshListener { refreshVocabulary() }
swipeRefresh.setColorSchemeResources(R.color.colorAccent)
hideKeyboard()
setUpNavigationView()
extractVocabularyData()
......
......@@ -50,7 +50,6 @@ class EditWordFragment : WordFragment() {
private fun setWordItemData() {
word.setText(wordItem.pojo.word)
translation.setText(wordItem.pojo.translation)
editable_word.setBackgroundColor(ContextCompat.getColor(mainActivity, R.color.green_highlight))
}
private fun setFocusOnWord() {
......
......@@ -115,7 +115,7 @@
android:background="@android:color/transparent"
android:fontFamily="@font/neucha"
android:textSize="@dimen/button_text_size"
android:textColor="@color/sheet_color"
android:textColor="@color/colorPrimary"
app:layout_constraintBottom_toBottomOf="@+id/btnLogIn"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnLogIn"
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
<color name="colorPrimary">#D34E21</color>
<color name="colorPrimaryDark">#AD401C</color>
<color name="colorAccent">#D34E21</color>
<color name="sheet_color">#FAFAFA</color>
<color name="green_highlight">#69B578</color>
<color name="text_color">#000F55</color>
<color name="background_color">#66330E</color>
<!--D34E21-->
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment