some code changes

This commit is contained in:
Thomas 2023-01-26 15:57:03 +01:00
parent b94c08d029
commit 3d1d9534be
8 changed files with 24 additions and 24 deletions

View file

@ -61,8 +61,8 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/account_action"
style="@style/Widget.Material3.Button.OutlinedButton.Icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="10dp"
android:contentDescription="@string/action_follow"

View file

@ -15,6 +15,7 @@
see <http://www.gnu.org/licenses>.
-->
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -59,10 +60,10 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/more_actions"
style="@style/Widget.Material3.Button.OutlinedButton.Icon"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center"
android:contentDescription="@string/display_more"
android:src="@drawable/ic_baseline_more_vert_24" />
app:icon="@drawable/ic_baseline_more_vert_24" />
</androidx.appcompat.widget.LinearLayoutCompat>

View file

@ -87,14 +87,13 @@
app:layout_constraintEnd_toStartOf="@id/more_actions"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
<com.google.android.material.button.MaterialButton
android:id="@+id/more_actions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.Material3.Button.OutlinedButton.Icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center_horizontal"
android:gravity="end"
android:text=""
app:drawableTopCompat="@drawable/ic_baseline_more_vert_24"
app:icon="@drawable/ic_baseline_more_vert_24"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/comment_date" />

View file

@ -9,7 +9,7 @@
android:clickable="true"
android:focusable="true">
<RadioButton
<com.google.android.material.radiobutton.MaterialRadioButton
android:id="@+id/radio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -17,7 +17,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"

View file

@ -9,7 +9,7 @@
android:clickable="true"
android:focusable="true">
<ImageView
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/menu_icon"
android:layout_width="24dp"
android:layout_height="24dp"
@ -19,7 +19,7 @@
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />
<TextView
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"

View file

@ -74,14 +74,14 @@
app:layout_constraintStart_toStartOf="@+id/preview_title"
app:layout_constraintTop_toBottomOf="@+id/preview_visibility" />
<ImageButton
<com.google.android.material.button.MaterialButton
android:id="@+id/playlist_more"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
style="@style/Widget.Material3.Button.OutlinedButton.Icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginStart="10dp"
android:contentDescription="@string/display_more"
android:src="@drawable/ic_baseline_more_vert_24"
app:icon="@drawable/ic_baseline_more_vert_24"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -122,7 +122,7 @@
android:drawablePadding="2dp"
android:gravity="center_vertical"
android:text="@string/delete"
android:textColor="?colorAccent"
android:textColor="?colorPrimary"
android:visibility="gone" />

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Button xmlns:android="http://schemas.android.com/apk/res/android"
<com.google.android.material.button.MaterialButton xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/set_preview"
style="@style/Widget.AppCompat.Button.Colored"
style="@style/Widget.Material3.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"