Fix outer margins in log view

This commit is contained in:
xynngh 2020-05-07 18:35:44 +04:00
parent 6bd09c89c2
commit c056f7becc
2 changed files with 7 additions and 6 deletions

View File

@ -26,6 +26,7 @@
android:layout_gravity="start" android:layout_gravity="start"
android:layout_marginStart="@dimen/text_margin" android:layout_marginStart="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin" android:layout_marginLeft="@dimen/text_margin"
android:layout_marginBottom="@dimen/text_margin"
android:paddingTop="@dimen/item_padding" android:paddingTop="@dimen/item_padding"
android:text="@string/recent_calls" android:text="@string/recent_calls"
android:textAlignment="textStart" /> android:textAlignment="textStart" />
@ -34,10 +35,6 @@
android:id="@+id/callLogList" android:id="@+id/callLogList"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="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" app:layoutManager="LinearLayoutManager"
tools:listitem="@layout/call_log_item" /> tools:listitem="@layout/call_log_item" />
</LinearLayout> </LinearLayout>

View File

@ -3,6 +3,10 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" 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:background="?attr/selectableItemBackground"
android:gravity="center_vertical|start" android:gravity="center_vertical|start"
android:orientation="horizontal"> android:orientation="horizontal">
@ -11,9 +15,9 @@
android:id="@+id/callTypeIcon" android:id="@+id/callTypeIcon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginEnd="1dp" android:layout_marginEnd="1dp"
android:layout_marginRight="1dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:src="@drawable/ic_call_missed_24dp" /> android:src="@drawable/ic_call_missed_24dp" />
@ -51,8 +55,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/text_margin" android:layout_marginStart="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:textAppearance="?attr/textAppearanceListItemSecondary" android:textAppearance="?attr/textAppearanceListItemSecondary"
android:textSize="12sp" android:textSize="12sp"