mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Show error view in TrendingActivity.
This commit is contained in:
@@ -46,4 +46,30 @@
|
||||
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fetch_trending_search_linear_layout_trending_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="48dp"
|
||||
android:layout_marginBottom="48dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fetch_trending_search_image_view_trending_activity"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fetch_trending_search_text_view_trending_activity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center"
|
||||
android:textSize="?attr/font_default"
|
||||
android:fontFamily="?attr/font_family" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
@@ -1146,4 +1146,8 @@
|
||||
|
||||
<string name="please_wait_image_is_uploading">An image is still being uploaded. Please wait.</string>
|
||||
|
||||
<string name="error_fetch_trending_search">Fetch trending searches failed.\nTap to retry.</string>
|
||||
<string name="error_parse_trending_search">Parse trending searches failed.\nTap to retry.</string>
|
||||
<string name="no_trending_search">No trending searches found.\nTap to retry.</string>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user