Merge pull request #286 from Naveen3Singh/disable_rtl

Disable RTL in calculator view
This commit is contained in:
Tibor Kaputa 2022-09-19 14:28:17 +02:00 committed by GitHub
commit 61a6d84ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -30,6 +30,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hapticFeedbackEnabled="true"
android:layoutDirection="ltr"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">

View File

@ -12,15 +12,17 @@
<TextView
android:id="@+id/item_formula"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/medium_margin"
android:alpha="0.6"
android:ellipsize="end"
android:maxLines="1"
android:paddingStart="@dimen/small_margin"
android:paddingEnd="@dimen/small_margin"
android:textDirection="ltr"
android:textSize="@dimen/bigger_text_size"
tools:text="2 + 2" />
tools:text="4 + 2" />
<TextView
android:id="@+id/item_result"
@ -31,7 +33,9 @@
android:ellipsize="end"
android:maxLines="1"
android:paddingStart="@dimen/small_margin"
android:paddingEnd="@dimen/small_margin"
android:textDirection="ltr"
android:textSize="@dimen/big_text_size"
tools:text="4" />
tools:text="-42" />
</RelativeLayout>

View File

@ -5,6 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hapticFeedbackEnabled="true"
android:layoutDirection="ltr"
android:orientation="vertical"
tools:ignore="HardcodedText">