Skip to content

Commit

Permalink
color change
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyamdoong committed Oct 13, 2024
1 parent 8943d77 commit a5994aa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import android.widget.LinearLayout;
import android.widget.TextView;


import androidx.appcompat.app.AppCompatActivity;

public class ConfigurationActivity extends AppCompatActivity {
Expand Down
12 changes: 6 additions & 6 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
android:layout_marginStart="64dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="32dp"
android:background="@drawable/rounded_corner"
android:background="@drawable/rounded_corner2"
android:padding="8dp"
android:textAlignment="textEnd"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
Expand Down Expand Up @@ -61,7 +61,7 @@
android:layout_marginStart="16dp"
android:layout_marginBottom="16dp"
android:layout_weight="4"
android:backgroundTint="#89CC04"
android:backgroundTint="@color/blue"
android:hint="Enter Message"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand All @@ -77,11 +77,11 @@
android:layout_marginBottom="12dp"
android:layout_weight="1"
android:adjustViewBounds="false"
android:background="#89CC04"
android:backgroundTint="#89CC04"
android:background="@color/blue"
android:backgroundTint="@color/blue"
android:hapticFeedbackEnabled="true"
android:src="@android:drawable/ic_menu_send"
android:tint="@color/white"
android:tint="@color/black"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:ignore="UseAppTint" />
Expand All @@ -94,7 +94,7 @@
android:layout_marginBottom="12dp"
android:src="@android:drawable/ic_menu_preferences"
android:background="#00BCD4"
android:backgroundTint="#009688"
android:backgroundTint="#24C5D7"
android:tint="@color/white"
android:hapticFeedbackEnabled="true"
app:layout_constraintBottom_toBottomOf="parent"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.ORTGenAIDemo" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<style name="Theme.ORTGenAIDemo" parent="Theme.AppCompat.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/brat_200</item>
<item name="colorPrimaryVariant">@color/brat_500</item>
<item name="colorPrimary">#809FC1</item>
<item name="colorPrimaryVariant">#5480B4</item>
<item name="colorOnPrimary">@color/black</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/grey_200</item>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
<color name="grey_700">#646564</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="blue">#5480B4FF</color>

</resources>
6 changes: 3 additions & 3 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<!-- Base application theme. -->
<style name="Theme.ORTGenAIDemo" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/brat_200</item>
<item name="colorPrimaryVariant">@color/brat_500</item>
<item name="colorPrimary">#809FC1</item>
<item name="colorPrimaryVariant">#5480B4</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/grey_200</item>
<item name="colorSecondaryVariant">@color/grey_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor">#5480B4</item>
<!-- Customize your theme here. -->
</style>
</resources>

0 comments on commit a5994aa

Please sign in to comment.