Skip to content

Commit

Permalink
Styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGuidarini committed Aug 4, 2022
1 parent 4fb9452 commit b31344c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,24 @@
android:id="@+id/navButtonLeft"
android:layout_width="45dp"
android:layout_height="45dp"
android:background="@android:drawable/ic_media_play"
android:background="@drawable/abc_vector_test"
android:onClick="onLeftClick"
android:rotation="180"
android:layout_alignParentStart="true"/>
android:layout_alignParentStart="true" />

<Button
android:id="@+id/todayButton"
android:layout_width="45dp"
android:layout_height="45dp"
android:background="@android:drawable/ic_menu_today"
android:onClick="onTodayClick"
android:layout_centerInParent="true"/>
android:layout_centerInParent="true" />

<Button
android:id="@+id/navButtonRight"
android:layout_width="45dp"
android:layout_height="45dp"
android:background="@android:drawable/ic_media_play"
android:background="@drawable/abc_vector_test"
android:rotation="180"
android:onClick="onRightClick"
android:gravity="end"
android:layout_alignParentEnd="true" />
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<!-- Base application theme. -->
<style name="Theme.MedicationTracker" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorPrimary">#ACADAF</item>
<item name="colorPrimaryVariant">#4A5BB6</item>
<item name="colorOnPrimary">@color/black</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorSecondary">#7A7DC6</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor" tools:targetApi="l">#2F0270</item>
<!-- Customize your theme here. -->
</style>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="colorButtonNormal">@color/black</item>
</style>
</resources>

0 comments on commit b31344c

Please sign in to comment.