Skip to content

Commit

Permalink
FIxed patreon item progress bar for pre-lollipop devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Str4tocaster committed Oct 5, 2017
1 parent e44d5ca commit 918b758
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions xabber/src/main/res/xml-v21/progress_bar_patreon_style.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >

<item android:id="@android:id/background">
<shape>
<corners android:radius="2dip" />
<solid android:color="?attr/patreon_progress_background_color" />
</shape>
</item>

<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="2dip" />
<solid android:color="@color/patreon_coral" />
</shape>
</clip>
</item>

</layer-list>
2 changes: 1 addition & 1 deletion xabber/src/main/res/xml/progress_bar_patreon_style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<item android:id="@android:id/background">
<shape>
<corners android:radius="2dip" />
<solid android:color="?attr/patreon_progress_background_color" />
<solid android:color="#FFD8D8D8" />
</shape>
</item>

Expand Down

0 comments on commit 918b758

Please sign in to comment.