Fix some issues

This commit is contained in:
Thomas 2022-11-30 16:07:12 +01:00
parent d10549ddd1
commit 506f5fcf49
3 changed files with 17 additions and 6 deletions

View File

@ -4,9 +4,9 @@
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path
android:fillColor="?attr/colorAccent" android:fillColor="?attr/colorControlNormal"
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2z" /> android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2z" />
<path <path
android:fillColor="?attr/backgroundColor" android:fillColor="?attr/colorPrimary"
android:pathData="M10,16.5v-9l6,4.5 -6,4.5z" /> android:pathData="M10,16.5v-9l6,4.5 -6,4.5z" />
</vector> </vector>

View File

@ -30,13 +30,15 @@
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp" android:layout_height="48dp"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:padding="6dp" android:padding="0dp"
app:icon="@drawable/ic_compose_attachment_play"
app:iconGravity="textStart"
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:src="@drawable/ic_compose_attachment_play" app:iconPadding="0dp"
app:layout_constraintBottom_toBottomOf="@id/preview" app:layout_constraintBottom_toBottomOf="@id/preview"
app:layout_constraintEnd_toEndOf="@id/preview" app:layout_constraintEnd_toEndOf="@id/preview"
app:layout_constraintStart_toStartOf="@id/preview" app:layout_constraintStart_toStartOf="@id/preview"
app:layout_constraintTop_toTopOf="@id/preview" /> app:layout_constraintTop_toTopOf="@id/preview" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/edit_preview" android:id="@+id/edit_preview"
@ -44,6 +46,9 @@
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="36dp" android:layout_height="36dp"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:padding="0dp"
app:iconGravity="textStart"
app:iconPadding="0dp"
android:backgroundTint="@color/editColor" android:backgroundTint="@color/editColor"
app:icon="@drawable/ic_baseline_mode_edit_24" app:icon="@drawable/ic_baseline_mode_edit_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -51,6 +56,9 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/button_remove" android:id="@+id/button_remove"
android:padding="0dp"
app:iconGravity="textStart"
app:iconPadding="0dp"
style="@style/Widget.Material3.Button.Icon" style="@style/Widget.Material3.Button.Icon"
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="36dp" android:layout_height="36dp"

View File

@ -162,6 +162,7 @@
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp" android:layout_height="48dp"
app:icon="@drawable/ic_compose_attach" app:icon="@drawable/ic_compose_attach"
android:padding="0dp"
app:iconGravity="textStart" app:iconGravity="textStart"
app:iconPadding="0dp" /> app:iconPadding="0dp" />
@ -172,6 +173,7 @@
android:layout_height="48dp" android:layout_height="48dp"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
app:icon="@drawable/ic_compose_sensitive" app:icon="@drawable/ic_compose_sensitive"
android:padding="0dp"
app:iconGravity="textStart" app:iconGravity="textStart"
app:iconPadding="0dp" /> app:iconPadding="0dp" />
@ -181,6 +183,7 @@
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp" android:layout_height="48dp"
app:icon="@drawable/ic_compose_visibility_public" app:icon="@drawable/ic_compose_visibility_public"
android:padding="0dp"
app:iconGravity="textStart" app:iconGravity="textStart"
app:iconPadding="0dp" /> app:iconPadding="0dp" />