Revert "Bugfix #2948 Dynamic height for action buttons"

This commit is contained in:
Milos Kozak 2023-10-21 11:13:04 +02:00 committed by GitHub
parent 2b89a78102
commit 3feabe29d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,23 +34,22 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/active_profile" android:id="@+id/active_profile"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_gravity="end" android:layout_gravity="end"
android:layout_marginEnd="4dp" android:layout_marginEnd="5dp"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical|center_horizontal" android:gravity="center_vertical|center_horizontal"
android:hint="active profile" android:hint="active profile"
android:text="Profile" android:text="Profile"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
app:icon="@drawable/ic_ribbon_profile" app:icon="@drawable/ic_ribbon_profile"
android:singleLine="false"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/temp_target" android:id="@+id/temp_target"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_gravity="end" android:layout_gravity="end"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical|center_horizontal" android:gravity="center_vertical|center_horizontal"
@ -58,7 +57,6 @@
android:text="@string/value_unavailable_short" android:text="@string/value_unavailable_short"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
app:icon="@drawable/ic_crosstarget" app:icon="@drawable/ic_crosstarget"
android:singleLine="false"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
</LinearLayout> </LinearLayout>
@ -70,7 +68,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="4dp" android:layout_marginStart="4dp"
android:layout_marginEnd="4dp" android:layout_marginEnd="4dp"
android:layout_marginTop="0dp" android:layout_marginTop="1dp"
app:cardCornerRadius="4dp" app:cardCornerRadius="4dp"
app:contentPadding="2dp" app:contentPadding="2dp"
app:cardElevation="2dp" app:cardElevation="2dp"