mudancas de visual
This commit is contained in:
@@ -9,13 +9,15 @@
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/Theme.VdcScore.AppBarOverlay">
|
||||
android:background="@color/white"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Light"> <!-- Light theme for dark text -->
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:background="@color/white"
|
||||
app:titleTextColor="@color/black"
|
||||
app:popupTheme="@style/Theme.VdcScore.PopupOverlay" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
@@ -37,7 +37,9 @@
|
||||
android:focusable="true"
|
||||
android:foreground="?attr/selectableItemBackground"
|
||||
app:cardCornerRadius="16dp"
|
||||
app:cardElevation="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:strokeColor="@color/divider"
|
||||
app:strokeWidth="1dp"
|
||||
app:cardBackgroundColor="@color/surface_card">
|
||||
|
||||
<LinearLayout
|
||||
@@ -53,7 +55,7 @@
|
||||
android:contentDescription="@string/menu_definicoes"
|
||||
android:padding="4dp"
|
||||
android:src="@android:drawable/ic_menu_manage"
|
||||
app:tint="@color/primary_color"/>
|
||||
app:tint="@color/black"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
@@ -66,7 +68,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Conta"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -92,7 +94,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
app:cardCornerRadius="16dp"
|
||||
app:cardElevation="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:strokeColor="@color/divider"
|
||||
app:strokeWidth="1dp"
|
||||
app:cardBackgroundColor="@color/surface_card">
|
||||
|
||||
<LinearLayout
|
||||
@@ -117,7 +121,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Notificações"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -126,7 +130,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Ativadas"
|
||||
android:textColor="@color/secondary_color"
|
||||
android:textColor="@color/text_secondary"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -159,7 +163,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Modo escuro"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -185,7 +189,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
app:cardCornerRadius="16dp"
|
||||
app:cardElevation="2dp"
|
||||
app:cardElevation="0dp"
|
||||
app:strokeColor="@color/divider"
|
||||
app:strokeWidth="1dp"
|
||||
app:cardBackgroundColor="@color/surface_card">
|
||||
|
||||
<LinearLayout
|
||||
@@ -198,7 +204,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Ajuda e suporte"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -215,7 +221,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:backgroundTint="@color/primary_light"
|
||||
android:backgroundTint="@color/black"
|
||||
android:text="Abrir definições do sistema"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
@@ -18,27 +18,21 @@
|
||||
android:textColor="@color/primary_color"
|
||||
android:layout_marginBottom="24dp" />
|
||||
|
||||
<!-- Table Header Card -->
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="12dp"
|
||||
app:cardElevation="4dp"
|
||||
app:cardBackgroundColor="@color/primary_light"
|
||||
android:layout_marginBottom="8dp">
|
||||
|
||||
<!-- Table Header (Clean) -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="16dp">
|
||||
android:paddingVertical="12dp"
|
||||
android:paddingHorizontal="4dp"
|
||||
android:background="#00000000">
|
||||
|
||||
<TextView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="#"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<TextView
|
||||
@@ -47,7 +41,7 @@
|
||||
android:layout_weight="1"
|
||||
android:text="Clube"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<TextView
|
||||
@@ -56,7 +50,7 @@
|
||||
android:gravity="center"
|
||||
android:text="J"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"
|
||||
android:tooltipText="Jogos" />
|
||||
|
||||
@@ -66,10 +60,15 @@
|
||||
android:gravity="center"
|
||||
android:text="Pts"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"/>
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/divider"
|
||||
android:layout_marginBottom="8dp"/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_standings"
|
||||
|
||||
@@ -1,19 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="4dp"
|
||||
android:layout_marginHorizontal="2dp"
|
||||
app:cardCornerRadius="8dp"
|
||||
app:cardElevation="2dp"
|
||||
app:cardBackgroundColor="@color/surface_card">
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="16dp"
|
||||
android:paddingVertical="16dp"
|
||||
android:paddingHorizontal="4dp"
|
||||
android:gravity="center_vertical"
|
||||
android:background="?attr/selectableItemBackground">
|
||||
|
||||
@@ -23,7 +18,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="1"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/secondary_color"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
@@ -32,9 +27,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Team Name"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="normal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_played"
|
||||
@@ -52,8 +47,13 @@
|
||||
android:gravity="center"
|
||||
android:text="Pts"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textSize="16sp" />
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#F5F5F5"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/nav_header_height"
|
||||
android:background="@color/primary_color"
|
||||
android:gravity="bottom"
|
||||
android:background="@drawable/ic_header_login_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Light">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_marginTop="@dimen/nav_header_vertical_spacing"
|
||||
android:layout_marginTop="20dp"
|
||||
app:cardCornerRadius="40dp"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
app:cardElevation="4dp">
|
||||
@@ -36,16 +36,15 @@
|
||||
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
||||
android:text="@string/nav_header_title"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/black"
|
||||
android:textStyle="bold"
|
||||
android:textSize="18sp"/>
|
||||
android:textSize="20sp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textViewSubtitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nav_header_subtitle"
|
||||
android:textColor="@color/white"
|
||||
android:alpha="0.8"
|
||||
android:textColor="@color/text_secondary"
|
||||
android:textSize="14sp"/>
|
||||
</LinearLayout>
|
||||
@@ -3,25 +3,26 @@
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
|
||||
<!-- Modern Vibrant Palette -->
|
||||
<color name="primary_color">#1A237E</color> <!-- Deep Indigo -->
|
||||
<color name="primary_light">#534BAE</color>
|
||||
<color name="primary_dark">#000051</color>
|
||||
<!-- Minimalist Palette -->
|
||||
<color name="primary_color">#000000</color> <!-- Black -->
|
||||
<color name="primary_light">#404040</color> <!-- Dark Grey -->
|
||||
<color name="primary_dark">#000000</color>
|
||||
|
||||
<color name="secondary_color">#FF4081</color> <!-- Pink Accent -->
|
||||
<color name="secondary_light">#FF79B0</color>
|
||||
<color name="secondary_dark">#C60055</color>
|
||||
<color name="secondary_color">#212121</color> <!-- Dark Grey Accent -->
|
||||
<color name="secondary_light">#484848</color>
|
||||
<color name="secondary_dark">#000000</color>
|
||||
|
||||
<color name="live_indicator">#00E676</color> <!-- Bright Green -->
|
||||
<color name="live_time">#FF1744</color> <!-- Red for time -->
|
||||
<color name="live_indicator">#00E676</color> <!-- Bright Green (Keep for utility) -->
|
||||
<color name="live_time">#FF1744</color> <!-- Red for time (Keep for utility) -->
|
||||
|
||||
<color name="background_light">#F5F6F8</color> <!-- Soft Blue-Grey -->
|
||||
<color name="background_light">#FFFFFF</color> <!-- Pure White Background -->
|
||||
<color name="surface_light">#FFFFFF</color>
|
||||
<color name="surface_card">#FFFFFF</color>
|
||||
<color name="surface_card">#FFFFFF</color> <!-- White Card -->
|
||||
|
||||
<color name="text_primary">#102027</color> <!-- Very dark blue-grey -->
|
||||
<color name="text_secondary">#546E7A</color> <!-- Blue-grey -->
|
||||
<color name="text_primary">#212121</color> <!-- Almost Black -->
|
||||
<color name="text_secondary">#757575</color> <!-- Grey -->
|
||||
<color name="text_on_primary">#FFFFFF</color>
|
||||
|
||||
<color name="divider">#CFD8DC</color>
|
||||
<color name="divider">#EEEEEE</color> <!-- Very light grey divider -->
|
||||
<color name="input_background">#F5F5F5</color> <!-- Light grey for inputs/cards if needed -->
|
||||
</resources>
|
||||
@@ -9,7 +9,8 @@
|
||||
<item name="colorSecondary">@color/secondary_color</item>
|
||||
<item name="colorSecondaryVariant">@color/secondary_dark</item>
|
||||
<item name="colorOnSecondary">@color/white</item>
|
||||
<item name="android:statusBarColor">@color/primary_dark</item>
|
||||
<item name="android:statusBarColor">@color/white</item>
|
||||
<item name="android:windowLightStatusBar">true</item> <!-- Dark icons on white status bar -->
|
||||
<item name="android:textColorPrimary">@color/text_primary</item>
|
||||
<item name="android:textColorSecondary">@color/text_secondary</item>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user