Skip to content

Commit 130126b

Browse files
refactor: Added daily tips to arrays.xml
Enhanced user experience: - Moved the `daily_tips` string array from `strings.xml` to `arrays.xml` for better resource organization.
1 parent e37b824 commit 130126b

File tree

3 files changed

+58
-51
lines changed

3 files changed

+58
-51
lines changed

.idea/workspace.xml

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

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,21 @@
8282
<item>android_studio</item>
8383
<item>about</item>
8484
</string-array>
85+
<string-array name="daily_tips">
86+
<item>Use ConstraintLayout to create responsive UIs.</item>
87+
<item>Leverage ViewBinding for safer UI code.</item>
88+
<item>Implement RecyclerView for smooth scrolling lists.</item>
89+
<item>Use Material Design 3 components for a modern look.</item>
90+
<item>Profile your app regularly to track performance.</item>
91+
<item>Keep layouts organized by extracting reusable components.</item>
92+
<item>Use string resources for all text to simplify localization.</item>
93+
<item>Optimize images with WebP to reduce APK size.</item>
94+
<item>Enable ProGuard to shrink and obfuscate release builds.</item>
95+
<item>Prefer Compose for new UI if targeting modern devices.</item>
96+
<item>Take advantage of LiveData and ViewModel for reactive UIs.</item>
97+
<item>Use WorkManager for reliable background tasks.</item>
98+
<item>Utilize GitHub Actions for automated build checks.</item>
99+
<item>Test your app on different screen sizes with the emulator.</item>
100+
<item>Keep dependencies updated for the latest features and fixes.</item>
101+
</string-array>
85102
</resources>

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -410,22 +410,5 @@
410410
<string name="summary_consent_ad_user_data">Allows sharing user data for ads.</string>
411411
<string name="summary_consent_ad_personalization">Enables personalized ad recommendations.</string>
412412
<string name="tip_of_the_day">Tip of the Day</string>
413-
<string-array name="daily_tips">
414-
<item>Use ConstraintLayout to create responsive UIs.</item>
415-
<item>Leverage ViewBinding for safer UI code.</item>
416-
<item>Implement RecyclerView for smooth scrolling lists.</item>
417-
<item>Use Material Design 3 components for a modern look.</item>
418-
<item>Profile your app regularly to track performance.</item>
419-
<item>Keep layouts organized by extracting reusable components.</item>
420-
<item>Use string resources for all text to simplify localization.</item>
421-
<item>Optimize images with WebP to reduce APK size.</item>
422-
<item>Enable ProGuard to shrink and obfuscate release builds.</item>
423-
<item>Prefer Compose for new UI if targeting modern devices.</item>
424-
<item>Take advantage of LiveData and ViewModel for reactive UIs.</item>
425-
<item>Use WorkManager for reliable background tasks.</item>
426-
<item>Utilize GitHub Actions for automated build checks.</item>
427-
<item>Test your app on different screen sizes with the emulator.</item>
428-
<item>Keep dependencies updated for the latest features and fixes.</item>
429-
</string-array>
430413
<string name="other_apps_title">More apps by the developer</string>
431414
</resources>

0 commit comments

Comments
 (0)