aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-07-09 21:25:26 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-07-09 21:25:26 +0000
commit6e5eab371265c6959adc4d7ca4d3c0e60573d42b (patch)
tree4955e518bfc2e3f32c9f859bbbf77712f4e45c4e /app/src/main/res
parentcc64d6c49eb87f9c6b35ca4439c279570c4982bc (diff)
downloadinfinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.tar
infinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.tar.gz
infinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.tar.bz2
infinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.tar.lz
infinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.tar.xz
infinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.tar.zst
infinity-for-reddit-6e5eab371265c6959adc4d7ca4d3c0e60573d42b.zip
Continue implementing online custom themes. Fetch OnlineCustomThemeMetadata instead of CustomTheme.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_customize_theme.xml7
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_customize_theme.xml b/app/src/main/res/layout/activity_customize_theme.xml
index 275131c1..fffa5e60 100644
--- a/app/src/main/res/layout/activity_customize_theme.xml
+++ b/app/src/main/res/layout/activity_customize_theme.xml
@@ -41,4 +41,11 @@
app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+ <ProgressBar
+ android:id="@+id/progress_bar_customize_theme_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:visibility="gone" />
+
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f15f2893..cc3a44d7 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -956,6 +956,7 @@
<string name="theme_copied">Copied! Paste and share it to other people.</string>
<string name="copy_theme_faied">Cannot copy the theme configuration</string>
<string name="cannot_find_theme">Cannot find this theme</string>
+ <string name="cannot_download_theme_data">Cannot download theme data</string>
<string name="import_theme">Import Theme</string>
<string name="no_data_in_clipboard">Cannot find data in clipboard</string>
<string name="import_theme_success">Import theme successfully</string>