Skip to content

Commit

Permalink
Apply unread count and fab coloring from styles.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ebraminio committed Nov 21, 2021
1 parent e213166 commit 170305b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/bg_circle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="1000dp" />
<solid android:color="@color/color_accent" />
<solid android:color="?attr/colorPrimary" />
</shape>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_feeds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
android:focusable="true"
android:text="@string/import_feeds_from_opml_file"
android:textAppearance="?textAppearanceBody1"
android:textColor="@color/color_accent"
android:textColor="?attr/colorAccent"
android:visibility="gone" />

</LinearLayout>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/list_item_feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
android:paddingEnd="6dp"
android:paddingBottom="2dp"
android:textAppearance="?attr/textAppearanceCaption"
android:textColor="@android:color/white"
android:textColor="?attr/colorOnPrimary"
tools:text="666" />

<FrameLayout
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<style name="BaseAppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">@color/color_primary</item>
<item name="colorOnPrimary">@android:color/white</item>
<item name="colorPrimaryDark">@color/color_primary_dark</item>
<item name="colorSecondary">@color/color_secondary</item>
<item name="colorOnSecondary">@color/color_on_secondary</item>
Expand Down

0 comments on commit 170305b

Please sign in to comment.