widgets: rework button appearance

Further rework the button layout to be alike to other modern widgets.

This changeset transforms the play button into a FAB-ish thing,
makes spacing coherent between the uses of each layout, and adds
spacers to make the buttons layout in a more appealing way.
This commit is contained in:
OxygenCobalt
2022-07-01 12:25:59 -06:00
parent e883336b04
commit e41645ee28
73 changed files with 407 additions and 341 deletions
+5 -5
View File
@@ -2,10 +2,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?attr/colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M0,18V16.425Q0,15.325 1.113,14.662Q2.225,14 4,14Q4.325,14 4.625,14.012Q4.925,14.025 5.2,14.075Q4.85,14.575 4.675,15.15Q4.5,15.725 4.5,16.375V18ZM6,18V16.375Q6,14.75 7.663,13.75Q9.325,12.75 12,12.75Q14.7,12.75 16.35,13.75Q18,14.75 18,16.375V18ZM19.5,18V16.375Q19.5,15.725 19.337,15.15Q19.175,14.575 18.85,14.075Q19.125,14.025 19.413,14.012Q19.7,14 20,14Q21.8,14 22.9,14.662Q24,15.325 24,16.425V18ZM12,14.75Q10.575,14.75 9.45,15.125Q8.325,15.5 8.125,16H15.9Q15.675,15.5 14.562,15.125Q13.45,14.75 12,14.75ZM4,13Q3.175,13 2.588,12.412Q2,11.825 2,11Q2,10.15 2.588,9.575Q3.175,9 4,9Q4.85,9 5.425,9.575Q6,10.15 6,11Q6,11.825 5.425,12.412Q4.85,13 4,13ZM20,13Q19.175,13 18.587,12.412Q18,11.825 18,11Q18,10.15 18.587,9.575Q19.175,9 20,9Q20.85,9 21.425,9.575Q22,10.15 22,11Q22,11.825 21.425,12.412Q20.85,13 20,13ZM12,12Q10.75,12 9.875,11.125Q9,10.25 9,9Q9,7.725 9.875,6.862Q10.75,6 12,6Q13.275,6 14.137,6.862Q15,7.725 15,9Q15,10.25 14.137,11.125Q13.275,12 12,12ZM12,8Q11.575,8 11.288,8.287Q11,8.575 11,9Q11,9.425 11.288,9.712Q11.575,10 12,10Q12.425,10 12.713,9.712Q13,9.425 13,9Q13,8.575 12.713,8.287Q12.425,8 12,8ZM12,16Q12,16 12,16Q12,16 12,16Q12,16 12,16Q12,16 12,16ZM12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Z"/>
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M0,18V16.425Q0,15.325 1.113,14.662Q2.225,14 4,14Q4.325,14 4.625,14.012Q4.925,14.025 5.2,14.075Q4.85,14.575 4.675,15.15Q4.5,15.725 4.5,16.375V18ZM6,18V16.375Q6,14.75 7.663,13.75Q9.325,12.75 12,12.75Q14.7,12.75 16.35,13.75Q18,14.75 18,16.375V18ZM19.5,18V16.375Q19.5,15.725 19.337,15.15Q19.175,14.575 18.85,14.075Q19.125,14.025 19.413,14.012Q19.7,14 20,14Q21.8,14 22.9,14.662Q24,15.325 24,16.425V18ZM12,14.75Q10.575,14.75 9.45,15.125Q8.325,15.5 8.125,16H15.9Q15.675,15.5 14.562,15.125Q13.45,14.75 12,14.75ZM4,13Q3.175,13 2.588,12.412Q2,11.825 2,11Q2,10.15 2.588,9.575Q3.175,9 4,9Q4.85,9 5.425,9.575Q6,10.15 6,11Q6,11.825 5.425,12.412Q4.85,13 4,13ZM20,13Q19.175,13 18.587,12.412Q18,11.825 18,11Q18,10.15 18.587,9.575Q19.175,9 20,9Q20.85,9 21.425,9.575Q22,10.15 22,11Q22,11.825 21.425,12.412Q20.85,13 20,13ZM12,12Q10.75,12 9.875,11.125Q9,10.25 9,9Q9,7.725 9.875,6.862Q10.75,6 12,6Q13.275,6 14.137,6.862Q15,7.725 15,9Q15,10.25 14.137,11.125Q13.275,12 12,12ZM12,8Q11.575,8 11.288,8.287Q11,8.575 11,9Q11,9.425 11.288,9.712Q11.575,10 12,10Q12.425,10 12.713,9.712Q13,9.425 13,9Q13,8.575 12.713,8.287Q12.425,8 12,8ZM12,16Q12,16 12,16Q12,16 12,16Q12,16 12,16Q12,16 12,16ZM12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Q12,9 12,9Z" />
</vector>