Added item divider to alarm item layout

This commit is contained in:
Phillip Hsu 2016-07-08 19:52:12 -07:00
parent 20b5ff2d8a
commit d17f514bd3

View File

@ -1,13 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="?selectableItemBackground">
<RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="@dimen/item_padding_top" android:paddingTop="@dimen/item_padding_top"
android:paddingStart="@dimen/item_padding_start" android:paddingStart="@dimen/item_padding_start"
android:paddingEnd="@dimen/item_padding_end" android:paddingEnd="@dimen/item_padding_end">
android:paddingBottom="@dimen/item_padding_bottom"
android:background="?selectableItemBackground">
<RelativeLayout <RelativeLayout
android:id="@+id/time_layout" android:id="@+id/time_layout"
@ -69,3 +73,11 @@
style="@style/Widget.AppCompat.Button.Colored"/> style="@style/Widget.AppCompat.Button.Colored"/>
</RelativeLayout> </RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:listDivider"
android:layout_marginTop="@dimen/item_margin_between_elements"/>
</LinearLayout>