diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 9a5dc7f..17e9430 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -26,6 +26,7 @@ android:layout_gravity="start" android:layout_marginStart="@dimen/text_margin" android:layout_marginLeft="@dimen/text_margin" + android:layout_marginBottom="@dimen/text_margin" android:paddingTop="@dimen/item_padding" android:text="@string/recent_calls" android:textAlignment="textStart" /> @@ -34,10 +35,6 @@ android:id="@+id/callLogList" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginLeft="@dimen/item_padding" - android:layout_marginTop="@dimen/item_padding" - android:layout_marginRight="@dimen/item_padding" - android:layout_marginBottom="@dimen/item_padding" app:layoutManager="LinearLayoutManager" tools:listitem="@layout/call_log_item" /> \ No newline at end of file diff --git a/app/src/main/res/layout/call_log_item.xml b/app/src/main/res/layout/call_log_item.xml index 61ef59c..927cb39 100644 --- a/app/src/main/res/layout/call_log_item.xml +++ b/app/src/main/res/layout/call_log_item.xml @@ -3,6 +3,10 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginStart="@dimen/text_margin" + android:layout_marginLeft="@dimen/text_margin" + android:layout_marginEnd="@dimen/text_margin" + android:layout_marginRight="@dimen/text_margin" android:background="?attr/selectableItemBackground" android:gravity="center_vertical|start" android:orientation="horizontal"> @@ -11,9 +15,9 @@ android:id="@+id/callTypeIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="1dp" android:layout_marginTop="8dp" android:layout_marginEnd="1dp" + android:layout_marginRight="1dp" android:layout_marginBottom="8dp" android:src="@drawable/ic_call_missed_24dp" /> @@ -51,8 +55,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/text_margin" + android:layout_marginLeft="@dimen/text_margin" android:layout_marginTop="8dp" - android:layout_marginEnd="@dimen/text_margin" android:layout_marginBottom="8dp" android:textAppearance="?attr/textAppearanceListItemSecondary" android:textSize="12sp"