Styling for progress bar via tint.

This commit is contained in:
Dennis Guse
2019-09-14 21:50:10 +02:00
parent 6ec78d77a9
commit fa364a150d
11 changed files with 2 additions and 35 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@android:id/background"
android:drawable="@drawable/progress_bg_holo_dark" />
<item android:id="@android:id/secondaryProgress">
<scale
android:drawable="@drawable/progress_secondary_holo_dark"
android:scaleWidth="100%" />
</item>
<item android:id="@android:id/progress">
<scale
android:drawable="@drawable/progress_primary_holo_dark"
android:scaleWidth="100%" />
</item>
</layer-list>
+2 -1
View File
@@ -7,7 +7,8 @@
</style>
<style name="ProgressBarCustom" parent="android:Widget.Holo.ProgressBar.Horizontal">
<item name="android:progressDrawable">@drawable/progress_horizontal_holo_dark</item>
<item name="android:progressTint">@color/holo_orange_dark</item>
<item name="android:indeterminateTint">@color/holo_orange_dark</item>
</style>
<style name="SpinnerCustom" parent="android:Widget.Holo.Spinner">