Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
Loukious committed Oct 28, 2023
1 parent e7139a9 commit 043c585
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 38 deletions.
27 changes: 1 addition & 26 deletions app/src/main/res/layout/layout_translate_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,7 @@
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<!-- <EditText-->
<!-- android:layout_below="@+id/text_source_language_sent"-->
<!-- android:layout_alignParentStart="true"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_gravity="center"-->
<!-- android:id="@+id/edit_source_language_sent"-->
<!-- android:minEms="2"-->
<!-- android:maxEms="5"-->
<!-- android:inputType="textVisiblePassword"-->
<!-- android:digits="abcdefghijklmnopqrstuvwxyz-"-->
<!-- android:hint="auto"-->
<!-- tools:ignore="HardcodedText" />-->

<TextView
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
Expand All @@ -138,19 +126,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<!-- <EditText-->
<!-- android:layout_below="@+id/text_target_language_sent"-->
<!-- android:layout_alignParentEnd="true"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_gravity="center"-->
<!-- android:id="@+id/edit_target_language_sent"-->
<!-- android:inputType="textVisiblePassword"-->
<!-- android:digits="abcdefghijklmnopqrstuvwxyz-"-->
<!-- android:minEms="2"-->
<!-- android:maxEms="5"/>-->


</RelativeLayout>

<Switch
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/row_hookstate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:layout_height="32dp"
style="@style/ButtonReset"
android:src="@drawable/baseline_refresh_24"
app:tint="@android:color/tab_indicator_text"
app:tint="?attr/colorOnSurface"
android:gravity="center_vertical|center_horizontal"
android:background="?selectableItemBackgroundBorderless"
app:layout_constraintRight_toRightOf="parent"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<!-- Base application theme. -->
<style name="Base.AppTheme" parent="Base.AppTheme.Night" />
<style name="AppTheme" parent="AppTheme.Night" />
<style name="Base.AppTheme" parent="Theme.Material3.DayNight" />
<style name="AppTheme" parent="Theme.Material3.DayNight" />
</resources>
5 changes: 2 additions & 3 deletions app/src/main/res/values-v23/themes.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<resources>

<style name="AppTheme" parent="Base.AppTheme">
<style name="AppTheme" parent="Theme.Material3.DayNight">
<!-- Transparent system bars for edge-to-edge. -->
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">?attr/isLightTheme</item>
</style>
</resources>
</resources>
20 changes: 16 additions & 4 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background_color">#FDFDFD</color>

<!-- Primary and secondary colors -->
<color name="colorPrimary">#6200EE</color>
<color name="colorPrimaryDark">#3700B3</color>
<color name="colorAccent">#03DAC5</color>
<color name="colorPrimaryContainer">#3700B3</color>
<color name="colorSecondary">#03DAC5</color>
<color name="colorSecondaryContainer">#018786</color>

<!-- On colors -->
<color name="colorOnPrimary">#FFFFFF</color>
<color name="colorOnSecondary">#000000</color>
<color name="colorOnSurface">#3a3a3a</color>
<color name="colorOnBackground">#000000</color>

<!-- Additional colors -->
<color name="colorSurface">#FFFFFF</color>
<color name="colorError">#B00020</color>
<color name="colorOnError">#FFFFFF</color>

<color name="colorSemiTransparentOverlay">#80000000</color>
</resources>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="ButtonReset" parent="Widget.AppCompat.ImageButton">
<style name="ButtonReset" parent="Widget.Material3.MaterialTimePicker.ImageButton">
<item name="cornerRadius">16dp</item>
</style>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
<item name="colorDarkOverlay">#66000000</item>
</style>

<style name="AppTheme" parent="Base.AppTheme" />
<style name="AppTheme" parent="Theme.Material3.DayNight" />
</resources>

0 comments on commit 043c585

Please sign in to comment.