Compare commits

..

No commits in common. "c46c701ff307a75b1195606be02f7275f19b21e9" and "6fae55fdbf49249bb00e1784a5cf5f1c8e480020" have entirely different histories.

8 changed files with 18 additions and 54 deletions

2
.idea/misc.xml generated
View file

@ -7,8 +7,6 @@
<entry key="app/src/main/res/drawable/circle_accent.xml" value="0.288" />
<entry key="app/src/main/res/layout/activity_main.xml" value="0.2838541666666667" />
<entry key="app/src/main/res/layout/activity_settings.xml" value="0.19375" />
<entry key="app/src/main/res/layout/app_list_item.xml" value="0.2838541666666667" />
<entry key="app/src/main/res/layout/fragment_list.xml" value="0.2838541666666667" />
<entry key="app/src/main/res/menu/bottom_navigation.xml" value="0.2828125" />
<entry key="app/src/main/res/menu/main_activity_menu.xml" value="0.2838541666666667" />
</map>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/colorAccent" android:state_checked="true" />
<item android:color="@color/colorTextPrimary" android:state_checked="false" />
<item android:color="@color/black" android:state_checked="false" />
</selector>

View file

@ -24,7 +24,7 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="0dp"
android:textColor="@color/colorTextPrimary"
android:textColor="@color/black"
android:ellipsize="marquee"
app:layout_constraintStart_toEndOf="@id/list_app_icon"
app:layout_constraintTop_toTopOf="parent"
@ -38,7 +38,7 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:textColor="@color/colorTextSecondary"
android:textColor="@color/grey"
android:ellipsize="marquee"
app:layout_constraintStart_toEndOf="@id/list_app_icon"
app:layout_constraintTop_toBottomOf="@id/list_app_title"
@ -50,7 +50,7 @@
android:layout_height="24dp"
android:layout_marginTop="28dp"
android:layout_marginEnd="16dp"
android:textColor="@color/colorPrimary"
android:textColor="@android:color/white"
android:textStyle="bold"
android:background="@drawable/circle_accent"
android:gravity="center"

View file

@ -1,12 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/fragment_swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
@ -16,4 +21,4 @@
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#00100D</color>
<color name="colorAccent">#009688</color>
<color name="colorAccentSetupWizard">#FFC107</color>
<color name="colorNavigationBar">#004D3F</color>
<color name="colorTextPrimary">#EEEEEE</color>
<color name="colorTextSecondary">#CCCCCC</color>
<color name="disabledAppBackground">#004D3F</color>
<color name="selectedAppBackground">#10201D</color>
<color name="selectedAndDisabledAppBackground">#105D4F</color>
</resources>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="AppTheme" parent="AppTheme.Override">
<item name="android:windowLightStatusBar">false</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
</style>
</resources>

View file

@ -4,9 +4,9 @@
<color name="colorAccent">#009688</color>
<color name="colorAccentSetupWizard">#FFC107</color>
<color name="colorNavigationBar">#E0F2F1</color>
<color name="colorTextPrimary">#333333</color>
<color name="colorTextSecondary">#999999</color>
<color name="black">#333333</color>
<color name="grey">#999999</color>
<color name="disabledAppBackground">#E0F2F1</color>
<color name="selectedAppBackground">#E1E9E8</color>
<color name="selectedAppBackground">#EEEEEE</color>
<color name="selectedAndDisabledAppBackground">#CEE1E0</color>
</resources>

View file

@ -1,19 +1,14 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme.Base" parent="Theme.AppCompat.DayNight.NoActionBar">
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimary</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="colorOnPrimary">@color/colorTextPrimary</item>
<item name="windowActionModeOverlay">true</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:colorBackground">@color/colorPrimary</item>
<item name="android:textColor">@color/colorTextPrimary</item>
<item name="android:textColorSecondary">@color/colorTextSecondary</item>
<item name="android:itemBackground">@color/colorPrimary</item>
<item name="android:listViewStyle">@style/ListViewTheme</item>
<item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
</style>
<style name="AppTheme.Override" parent="AppTheme.Base">
@ -24,21 +19,6 @@
<!-- Empty; override from specific styles -->
</style>
<!-- Themes for dialogs and context menus -->
<style name="ListViewTheme" parent="@android:style/Widget.ListView">
<item name="android:background">@color/colorPrimary</item>
</style>
<style name="AlertDialogTheme" parent="Theme.AppCompat.DayNight.Dialog.Alert">
<item name="android:background">@color/colorPrimary</item>
<item name="android:headerBackground">@color/colorPrimary</item>
<item name="android:windowTitleStyle">@style/AlertDialogTitleTextStyle</item>
</style>
<style name="AlertDialogTitleTextStyle" parent="TextAppearance.AppCompat.Title">
<item name="android:background">@color/colorPrimary</item>
</style>
<!-- Theme for ActionBar -->
<!-- Display the text as accent color -->
<style name="ToolbarTheme" parent="ThemeOverlay.AppCompat.ActionBar">