item_contact_grid.xml improved

This commit is contained in:
merkost
2023-07-13 23:04:14 +10:00
parent b825eb686c
commit fe2f2e03ce
2 changed files with 7 additions and 4 deletions

View File

@@ -13,18 +13,19 @@
<com.simplemobiletools.commons.views.MySquareImageView
android:id="@+id/item_contact_image"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/small_margin"
android:adjustViewBounds="true"
android:padding="@dimen/tiny_margin"
android:paddingStart="@dimen/normal_margin"
android:paddingHorizontal="@dimen/normal_margin"
android:paddingTop="@dimen/medium_margin"
android:paddingEnd="@dimen/normal_margin"
android:src="@drawable/ic_person_vector"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_max="@dimen/grid_view_image_size" />
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/item_contact_name"

View File

@@ -10,6 +10,8 @@
<dimen name="caller_name_text_size">34sp</dimen>
<dimen name="call_status_text_size">20sp</dimen>
<dimen name="grid_view_image_size">100dp</dimen>
<!-- keep these 2 values in dp to avoid scaling -->
<dimen name="dialpad_text_size">28dp</dimen>
<dimen name="dialpad_letters_text_size">12dp</dimen>