mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
Fix layout of unit converter grid
This commit is contained in:
@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<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:layout_height="@dimen/unit_type_size"
|
||||||
android:id="@+id/unit_background"
|
android:id="@+id/unit_background"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
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:background="@drawable/unit_type_background"
|
||||||
android:padding="@dimen/normal_margin"
|
android:padding="@dimen/normal_margin"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
@ -26,6 +26,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
android:textAlignment="center"
|
||||||
tools:text="Temperature" />
|
tools:text="Temperature" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -9,6 +9,6 @@
|
|||||||
<dimen name="formula_text_size">20sp</dimen>
|
<dimen name="formula_text_size">20sp</dimen>
|
||||||
<dimen name="display_text_size">40sp</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>
|
<dimen name="unit_symbol_size">64dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
Reference in New Issue
Block a user