Use animated circular design for gesture control (brightness and volume)
-Previous version used emojis for brightness and volume icons, which may be inconsistent across devices and do not fit well with other parts of UI (Frankly, previous version was more informative than eye-candy) -This commit replaces old version with circular progress bar that shows current value (before conversion). Gesture mode (volume/brightness) is indicated by icon that changes between (4/3) modes according to current value -Text information about current value was removed, because with progress bar present it does not add any real value to UI.
This commit is contained in:
parent
a817d8cbf9
commit
bf05ff6048
11 changed files with 239 additions and 87 deletions
12
app/src/main/res/drawable/progress_circular_white.xml
Normal file
12
app/src/main/res/drawable/progress_circular_white.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="-90"
|
||||
android:toDegrees="-90">
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:innerRadiusRatio="2.25"
|
||||
android:shape="ring"
|
||||
android:thicknessRatio="17.75"
|
||||
android:useLevel="true">
|
||||
<solid android:color="@android:color/white" />
|
||||
</shape>
|
||||
</rotate>
|
||||
Loading…
Add table
Add a link
Reference in a new issue