Skip to content

Commit

Permalink
3311 load more more prominent (#3376)
Browse files Browse the repository at this point in the history
* 3311: Add a zig-zag line to top and bottom of "load more"

* 3311: Remove unneeded extensions

* 3311: Use a simple gradient instead of zigzag line

* 3311: Use a simple gradient drawable (remove custom view)

* 3311: Remove gradient lines
  • Loading branch information
Lakoja authored Feb 27, 2023
1 parent 10f983c commit 6b9db02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/item_status_placeholder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The attributes are set to get a specific behaviour:
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="72dp"
android:background="@color/dividerColorOther"
android:clickable="true"
android:focusable="true">

Expand All @@ -47,4 +48,4 @@ The attributes are set to get a specific behaviour:
android:text="@string/load_more_placeholder_text"
android:textStyle="bold"
android:textSize="?attr/status_text_large" />
</FrameLayout>
</FrameLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/values-night/theme_colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<color name="colorBackgroundAccent">@color/tusky_grey_30</color>
<color name="colorBackgroundHighlight">@color/tusky_grey_50</color>
<color name="dividerColor">@color/tusky_grey_25</color>
<color name="dividerColorOther">@color/tusky_grey_10</color>

<color name="favoriteButtonActiveColor">@color/tusky_orange</color>

Expand All @@ -27,4 +28,4 @@
<color name="botBadgeForeground">@color/white</color>
<color name="botBadgeBackground">@color/tusky_grey_10</color>

</resources>
</resources>
3 changes: 2 additions & 1 deletion app/src/main/res/values/theme_colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<color name="colorBackgroundAccent">@color/tusky_grey_70</color>
<color name="colorBackgroundHighlight">@color/tusky_grey_50</color>
<color name="dividerColor">@color/tusky_grey_80</color>
<color name="dividerColorOther">@color/tusky_grey_90</color>

<color name="favoriteButtonActiveColor">@color/tusky_orange_light</color>

Expand All @@ -27,4 +28,4 @@
<color name="botBadgeForeground">@color/tusky_grey_20</color>
<color name="botBadgeBackground">@color/white</color>

</resources>
</resources>

0 comments on commit 6b9db02

Please sign in to comment.