Initial support for caching updates

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-07-16 16:31:18 +07:00
parent bec1bea05a
commit 8b341c088c
18 changed files with 312 additions and 157 deletions

View File

@@ -28,7 +28,8 @@
android:layout_width="@dimen/icon_size"
android:layout_height="@dimen/icon_size"
android:layout_centerInParent="true"
app:tint="?android:textColorPrimary" />
app:tint="?android:textColorPrimary"
tools:src="@drawable/ic_updates" />
<TextView
android:id="@+id/txt"
@@ -36,7 +37,16 @@
android:layout_height="wrap_content"
android:layout_below="@id/img"
android:layout_centerInParent="true"
android:layout_marginTop="@dimen/margin_small"
android:layout_marginVertical="@dimen/margin_small"
android:textAppearance="@style/TextAppearance.Aurora.Line1"
tools:text="No updates available" />
</RelativeLayout>
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/txt"
android:layout_centerInParent="true"
android:visibility="gone"
tools:text="@string/check_updates" />
</RelativeLayout>

View File

@@ -469,4 +469,7 @@
<!-- LogoutDialog -->
<string name="action_logout_confirmation_title">Log out?</string>
<string name="action_logout_confirmation_message">Are you sure you want to log out?</string>
<!-- UpdatesFragment -->
<string name="check_updates">Check updates</string>
</resources>