Fix layout of unit converter grid

This commit is contained in:
Ensar Sarajčić 2023-09-13 15:57:05 +02:00
parent 8a77d256ea
commit d056d6781c
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="@dimen/unit_type_size"
android:layout_width="match_parent"
android:layout_height="@dimen/unit_type_size"
android:id="@+id/unit_background"
xmlns:tools="http://schemas.android.com/tools"
android:layout_marginTop="@dimen/small_margin"
android:layout_margin="@dimen/small_margin"
android:background="@drawable/unit_type_background"
android:padding="@dimen/normal_margin"
android:gravity="center"
@ -26,6 +26,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textAlignment="center"
tools:text="Temperature" />
</LinearLayout>

View File

@ -9,6 +9,6 @@
<dimen name="formula_text_size">20sp</dimen>
<dimen name="display_text_size">40sp</dimen>
<dimen name="unit_type_size">128dp</dimen>
<dimen name="unit_type_size">100dp</dimen>
<dimen name="unit_symbol_size">64dp</dimen>
</resources>