Added iOS colours for user customisation, "No internet available" snackbar now tinted red

This commit is contained in:
Deniz Düzgören
2019-08-06 11:56:44 +02:00
parent 6ed3257ca1
commit f9cac0b123
7 changed files with 187 additions and 8 deletions
@@ -122,4 +122,122 @@
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/pureWhite"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgPureWhite"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/salmon"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgSalmon"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/tangerine"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgTangerine"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/banana"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgBanana"
app:cornerRadius="16dp"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/flora"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgFlora"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/spindrift"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgSpindrift"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/sky"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgSky"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/orchid"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgOrchid"
app:cornerRadius="16dp"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/lavender"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgLavender"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/carnation"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgCarnation"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/brown2"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgBrown2"
app:cornerRadius="16dp"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:id="@+id/pureBlack"
android:layout_margin="8dp"
android:layout_weight="1"
android:backgroundTint="@color/bgPureBlack"
app:cornerRadius="16dp"/>
</TableRow>
<!-- R.color.bgPureWhite, R.color.bgSalmon, R.color.bgTangerine, R.color.bgBanana, R.color.bgFlora, R.color.bgSpindrift,-->
<!-- R.color.bgSky, R.color.bgOrchid, R.color.bgLavender, R.color.bgCarnation, R.color.bgLavender, R.color.bgCarnation,-->
<!-- R.color.bgBrown2, R.color.bgPureBlack)-->
</TableLayout>
+13
View File
@@ -19,5 +19,18 @@
<color name="bgBrown">#442F1B</color>
<color name="bgGrey">#3C3F43</color>
<color name="bgSalmon">#7F3E3C</color>
<color name="bgTangerine">#7F4900</color>
<color name="bgBanana">#7F7D3C</color> <!-- hmm -->
<color name="bgFlora">#397C3C</color>
<color name="bgSpindrift">#397D6A</color>
<color name="bgSky">#3A6A7F</color>
<color name="bgOrchid">#3C407F</color>
<color name="bgLavender">#6B417F</color>
<color name="bgCarnation">#7F446B</color>
<color name="bgBrown2">#554633</color>
<color name="colorError">#CF6679</color>
<color name="colorSplashLogo">@color/colorText</color>
</resources>
+18
View File
@@ -22,6 +22,24 @@
<color name="bgBrown">#E6C9A8</color>
<color name="bgGrey">#BDBDBD</color>
<color name="bgPureWhite">#FFFFFF</color>
<color name="bgSalmon">#FF7E79</color>
<color name="bgTangerine">#FF9300</color>
<color name="bgBanana">#FFFC79</color>
<color name="bgFlora">#73FA79</color>
<color name="bgSpindrift">#73FCD6</color>
<color name="bgSky">#76D6FF</color>
<color name="bgOrchid">#7A81FF</color>
<color name="bgLavender">#D783FF</color>
<color name="bgCarnation">#FF8AD8</color>
<color name="bgBrown2">#AC8E68</color>
<color name="bgPureBlack">#000000</color>
<color name="colorTextDark">#212121</color>
<color name="colorTextLight">#e0e0e0</color>
<color name="colorError">#B00020</color>
<color name="mtrl_textinput_default_box_stroke_color" tools:override="true">#757575</color>
<color name="colorSplashLogo">@color/colorAccent</color>