summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-05-05 17:22:25 -0700
committerAndrew Lee <anwlee@google.com>2015-05-05 17:24:39 -0700
commit573c2d564a4e105f6e35dbb59a68a54b59a4d962 (patch)
tree1c8998feea6ba5e8a530d5df4d400e9c1df8358f /res
parent5e6431ec9df6cb62cab970c0b46618be3570c2f7 (diff)
Fix vertical padding on call log fragment.
Spacing still needs to be tweaked for the margins, but that will be done with other redline tweak things. Bug: 20664464 Change-Id: I874418a6a9661c34afbcd772744fa8d31ac7baa3
Diffstat (limited to 'res')
-rw-r--r--res/layout/call_log_fragment.xml5
-rw-r--r--res/values/dimens.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/res/layout/call_log_fragment.xml b/res/layout/call_log_fragment.xml
index cee6af15e..a5a307207 100644
--- a/res/layout/call_log_fragment.xml
+++ b/res/layout/call_log_fragment.xml
@@ -41,14 +41,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_dialer_call_log"
- android:padding="8dp" />
+ android:paddingStart="@dimen/call_log_horizontal_margin"
+ android:paddingEnd="@dimen/call_log_horizontal_margin" />
<include
android:id="@+id/empty_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
layout="@layout/empty_list_view"
- android:visibility="gone"/>
+ android:visibility="gone" />
</FrameLayout>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index b9b3aa587..d4a36cfb1 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -22,6 +22,7 @@
<dimen name="remove_text_size">16dp</dimen>
<!-- Call Log -->
+ <dimen name="call_log_horizontal_margin">8dp</dimen>
<dimen name="call_log_call_action_size">32dp</dimen>
<dimen name="call_log_call_action_width">54dp</dimen>
<dimen name="call_log_icon_margin">4dp</dimen>