mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
4f0f9b7560
- Bind service when service started using notification resume action. - Use `HttpURLConnection` to download file. - Use progress bar to determine overall progress.
26 lines
800 B
XML
26 lines
800 B
XML
<?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
|
|
android:shape="ring"
|
|
android:thickness="2.5dp"
|
|
android:useLevel="false">
|
|
<solid android:color="#4e4e4e" />
|
|
</shape>
|
|
</item>
|
|
|
|
<item android:id="@android:id/progress">
|
|
<rotate android:fromDegrees="270"
|
|
android:toDegrees="270">
|
|
<shape
|
|
android:shape="ring"
|
|
android:thickness="2.5dp"
|
|
android:useLevel="true">
|
|
<solid android:color="?android:colorAccent" />
|
|
<corners android:radius="20dp" />
|
|
</shape>
|
|
</rotate>
|
|
</item>
|
|
|
|
</layer-list> |