Fixed minor RTL issues

This commit is contained in:
Viktor De Pasquale 2019-12-06 20:53:22 +01:00
parent eae4eff92f
commit 85a350b6c8
4 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp" android:width="24dp"
android:height="24dp" android:height="24dp"
android:autoMirrored="true"
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path

View File

@ -113,6 +113,7 @@
android:hint="@string/hide_filter_hint" android:hint="@string/hide_filter_hint"
android:inputType="textUri" android:inputType="textUri"
android:minHeight="36dp" android:minHeight="36dp"
android:gravity="start|center_vertical"
android:paddingStart="0dp" android:paddingStart="0dp"
android:paddingEnd="@dimen/l1" android:paddingEnd="@dimen/l1"
android:singleLine="true" android:singleLine="true"

View File

@ -29,6 +29,7 @@
app:layout_constraintEnd_toStartOf="@+id/developer_more" app:layout_constraintEnd_toStartOf="@+id/developer_more"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:srcCompat="@{item.icon}" app:srcCompat="@{item.icon}"
app:tint="?colorOnPrimary" app:tint="?colorOnPrimary"
tools:srcCompat="@drawable/ic_paypal" /> tools:srcCompat="@drawable/ic_paypal" />
@ -37,6 +38,7 @@
android:id="@+id/developer_more" android:id="@+id/developer_more"
style="@style/WidgetFoundation.Image.Small" style="@style/WidgetFoundation.Image.Small"
android:layout_height="14sp" android:layout_height="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/developer_link" app:layout_constraintBottom_toBottomOf="@+id/developer_link"
app:layout_constraintStart_toEndOf="@+id/developer_link" app:layout_constraintStart_toEndOf="@+id/developer_link"
app:layout_constraintTop_toTopOf="@+id/developer_link" app:layout_constraintTop_toTopOf="@+id/developer_link"

View File

@ -148,10 +148,11 @@
style="@style/WidgetFoundation.Icon" style="@style/WidgetFoundation.Icon"
isEnabled="@{item.isEnabled}" isEnabled="@{item.isEnabled}"
isSelected="@{item.isExpanded}" isSelected="@{item.isExpanded}"
android:layout_gravity="top|end" android:layout_gravity="top|right"
android:onClick="@{(view) -> item.toggle(view)}" android:onClick="@{(view) -> item.toggle(view)}"
android:rotation="@{item.isExpanded ? 225 : 180}" android:rotation="@{item.isExpanded ? 225 : 180}"
app:srcCompat="@drawable/ic_more_collapse" /> app:srcCompat="@drawable/ic_more_collapse"
tools:ignore="RtlHardcoded" />
</com.google.android.material.card.MaterialCardView> </com.google.android.material.card.MaterialCardView>