Skip to content

Commit 914aa4f

Browse files
committed
Update dark theme style and some strings
1 parent 9a05fe2 commit 914aa4f

File tree

8 files changed

+83
-5
lines changed

8 files changed

+83
-5
lines changed

.idea/deploymentTargetSelector.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/other.xml

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/addev/listaspam/MainActivity.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ class MainActivity : AppCompatActivity(), CallLogAdapter.OnItemChangedListener {
111111
val blockedNumbers = getBlockedNumbers(this)
112112
val whitelistNumbers = getWhitelistNumbers(this)
113113

114-
115-
showToast(this, "GETTING CALL LOGS")
116114
val callLogs = getCallLogs(this)
117115

118116
if (callLogAdapter == null) {

app/src/main/res/layout/activity_settings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
android:id="@+id/btn_export"
2525
android:layout_width="wrap_content"
2626
android:layout_height="wrap_content"
27-
android:text="Exportar configuración y listas" />
27+
android:text="@string/export_config" />
2828

2929
<Button
3030
android:id="@+id/btn_import"
3131
android:layout_width="wrap_content"
3232
android:layout_height="wrap_content"
33-
android:text="Importar configuración y listas"
33+
android:text="@string/import_config"
3434
android:layout_marginTop="16dp"
35-
android:layout_marginBottom="16px" />
35+
android:layout_marginBottom="16dp" />
3636

3737
<FrameLayout
3838
android:id="@+id/settings_container"

app/src/main/res/values-es/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,6 @@
7070
<string name="block_international_call">Llamada internacional</string>
7171
<string name="block_already_blocked_number">Número bloqueado</string>
7272
<string name="block_non_contact">No es un contacto</string>
73+
<string name="export_config">Exportar configuración y listas</string>
74+
<string name="import_config">Importar configuración y listas</string>
7375
</resources>

app/src/main/res/values-night/themes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<style name="Base.Theme.ListaSpam" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
44
<!-- Customize your dark theme here. -->
55
<item name="colorPrimary">@color/white</item>
6+
<item name="android:windowBackground">@color/darkBackground</item>
67
</style>
78
<style name="PopupMenuStyle" parent="@style/Widget.AppCompat.PopupMenu">
89
</style>

app/src/main/res/values/colors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<resources>
33
<color name="black">#FF000000</color>
44
<color name="white">#FFFFFFFF</color>
5+
<color name="darkBackground">#212121</color>
56
</resources>

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,6 @@
7171
<string name="block_already_blocked_number">Blocked number</string>
7272
<string name="block_non_contact">Not a contact</string>
7373
<string name="about">About</string>
74+
<string name="export_config">Export settings and lists</string>
75+
<string name="import_config">Import settings and lists</string>
7476
</resources>

0 commit comments

Comments
 (0)