mirror of
				https://github.com/SimpleMobileTools/Simple-Dialer.git
				synced 2025-06-05 21:49:23 +02:00 
			
		
		
		
	Add some margin and align the views
This commit is contained in:
		| @@ -26,6 +26,7 @@ | |||||||
|             android:layout_marginEnd="@dimen/small_margin" |             android:layout_marginEnd="@dimen/small_margin" | ||||||
|             android:padding="@dimen/small_margin" |             android:padding="@dimen/small_margin" | ||||||
|             android:src="@drawable/ic_person_vector" |             android:src="@drawable/ic_person_vector" | ||||||
|  |             app:layout_constraintBottom_toBottomOf="parent" | ||||||
|             app:layout_constraintStart_toStartOf="parent" |             app:layout_constraintStart_toStartOf="parent" | ||||||
|             app:layout_constraintTop_toTopOf="parent" /> |             app:layout_constraintTop_toTopOf="parent" /> | ||||||
|  |  | ||||||
| @@ -33,7 +34,8 @@ | |||||||
|             android:id="@+id/item_recents_name" |             android:id="@+id/item_recents_name" | ||||||
|             android:layout_width="0dp" |             android:layout_width="0dp" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="wrap_content" | ||||||
|             android:layout_marginEnd="0dp" |             android:layout_marginStart="@dimen/small_margin" | ||||||
|  |             android:layout_marginEnd="@dimen/small_margin" | ||||||
|             android:ellipsize="end" |             android:ellipsize="end" | ||||||
|             android:maxLines="1" |             android:maxLines="1" | ||||||
|             android:textSize="@dimen/bigger_text_size" |             android:textSize="@dimen/bigger_text_size" | ||||||
| @@ -44,8 +46,9 @@ | |||||||
|  |  | ||||||
|         <ImageView |         <ImageView | ||||||
|             android:id="@+id/item_recents_sim_image" |             android:id="@+id/item_recents_sim_image" | ||||||
|             android:layout_width="wrap_content" |             android:layout_width="@dimen/activity_margin" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="@dimen/activity_margin" | ||||||
|  |             android:layout_marginStart="@dimen/small_margin" | ||||||
|             android:alpha="0.6" |             android:alpha="0.6" | ||||||
|             android:paddingTop="@dimen/tiny_margin" |             android:paddingTop="@dimen/tiny_margin" | ||||||
|             android:paddingBottom="@dimen/tiny_margin" |             android:paddingBottom="@dimen/tiny_margin" | ||||||
| @@ -53,7 +56,8 @@ | |||||||
|             android:visibility="gone" |             android:visibility="gone" | ||||||
|             app:layout_constraintBottom_toBottomOf="@+id/item_recents_date_time" |             app:layout_constraintBottom_toBottomOf="@+id/item_recents_date_time" | ||||||
|             app:layout_constraintStart_toEndOf="@+id/item_recents_image" |             app:layout_constraintStart_toEndOf="@+id/item_recents_image" | ||||||
|             app:layout_constraintTop_toTopOf="@+id/item_recents_date_time" /> |             app:layout_constraintTop_toTopOf="@+id/item_recents_date_time" | ||||||
|  |             tools:visibility="visible" /> | ||||||
|  |  | ||||||
|         <TextView |         <TextView | ||||||
|             android:id="@+id/item_recents_sim_id" |             android:id="@+id/item_recents_sim_id" | ||||||
| @@ -71,11 +75,10 @@ | |||||||
|  |  | ||||||
|         <ImageView |         <ImageView | ||||||
|             android:id="@+id/item_recents_type" |             android:id="@+id/item_recents_type" | ||||||
|             android:layout_width="wrap_content" |             android:layout_width="@dimen/activity_margin" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="@dimen/activity_margin" | ||||||
|  |             android:layout_marginStart="@dimen/small_margin" | ||||||
|             android:alpha="0.6" |             android:alpha="0.6" | ||||||
|             android:paddingTop="@dimen/one_dp" |  | ||||||
|             android:paddingBottom="@dimen/one_dp" |  | ||||||
|             android:scaleType="fitStart" |             android:scaleType="fitStart" | ||||||
|             android:src="@drawable/ic_incoming_call_vector" |             android:src="@drawable/ic_incoming_call_vector" | ||||||
|             app:layout_constraintBottom_toBottomOf="@+id/item_recents_date_time" |             app:layout_constraintBottom_toBottomOf="@+id/item_recents_date_time" | ||||||
| @@ -86,11 +89,14 @@ | |||||||
|             android:id="@+id/item_recents_date_time" |             android:id="@+id/item_recents_date_time" | ||||||
|             android:layout_width="wrap_content" |             android:layout_width="wrap_content" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="wrap_content" | ||||||
|  |             android:layout_marginStart="@dimen/small_margin" | ||||||
|             android:alpha="0.6" |             android:alpha="0.6" | ||||||
|             android:maxLines="1" |             android:maxLines="1" | ||||||
|             android:textSize="@dimen/normal_text_size" |             android:textSize="@dimen/normal_text_size" | ||||||
|  |             app:layout_constraintBottom_toBottomOf="parent" | ||||||
|  |             app:layout_constraintEnd_toStartOf="@+id/item_recents_duration" | ||||||
|  |             app:layout_constraintHorizontal_bias="0" | ||||||
|             app:layout_constraintStart_toEndOf="@+id/item_recents_type" |             app:layout_constraintStart_toEndOf="@+id/item_recents_type" | ||||||
|             app:layout_constraintTop_toBottomOf="@+id/item_recents_name" |  | ||||||
|             tools:text="0123 456 789" /> |             tools:text="0123 456 789" /> | ||||||
|  |  | ||||||
|         <TextView |         <TextView | ||||||
| @@ -98,7 +104,7 @@ | |||||||
|             android:layout_width="wrap_content" |             android:layout_width="wrap_content" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="wrap_content" | ||||||
|             android:layout_below="@+id/item_recents_name" |             android:layout_below="@+id/item_recents_name" | ||||||
|             android:layout_marginEnd="0dp" |             android:layout_marginEnd="@dimen/small_margin" | ||||||
|             android:alpha="0.6" |             android:alpha="0.6" | ||||||
|             android:gravity="end" |             android:gravity="end" | ||||||
|             android:textSize="@dimen/normal_text_size" |             android:textSize="@dimen/normal_text_size" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user