replacing bottom margin with padding at the event list widget

This commit is contained in:
tibbi
2019-05-04 20:36:36 +02:00
parent be4a7e0c31
commit 43baadd28a
3 changed files with 11 additions and 11 deletions

View File

@@ -5,18 +5,18 @@
android:id="@+id/event_item_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin">
android:paddingBottom="@dimen/medium_margin">
<ImageView
android:id="@+id/event_item_color_bar"
android:layout_width="@dimen/event_color_bar_width"
android:layout_height="match_parent"
android:layout_alignBottom="@+id/event_item_end"
android:layout_alignTop="@+id/event_item_start"
android:layout_alignBottom="@+id/event_item_end"
android:layout_marginEnd="@dimen/small_margin"
android:background="@drawable/event_list_color_bar"
android:paddingBottom="@dimen/tiny_margin"
android:paddingTop="@dimen/tiny_margin"/>
android:paddingTop="@dimen/tiny_margin"
android:paddingBottom="@dimen/tiny_margin"/>
<TextView
android:id="@+id/event_item_start"

View File

@@ -5,7 +5,7 @@
android:id="@+id/event_item_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin">
android:paddingBottom="@dimen/medium_margin">
<ImageView
android:id="@+id/event_item_color_bar"

View File

@@ -9,8 +9,8 @@
android:id="@+id/widget_event_list_today"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/widget_event_new_event"
android:layout_alignTop="@+id/widget_event_new_event"
android:layout_alignBottom="@+id/widget_event_new_event"
android:layout_toStartOf="@+id/widget_event_new_event"
android:ellipsize="end"
android:gravity="center_vertical"
@@ -24,12 +24,12 @@
style="@style/ArrowStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:paddingBottom="@dimen/small_margin"
android:layout_alignParentEnd="true"
android:paddingStart="@dimen/medium_margin"
android:paddingEnd="@dimen/medium_margin"
android:paddingTop="@dimen/medium_margin"
android:paddingEnd="@dimen/medium_margin"
android:paddingBottom="@dimen/small_margin"
android:scaleType="fitCenter"
android:src="@drawable/ic_plus"/>
@@ -40,8 +40,8 @@
android:layout_below="@+id/widget_event_new_event"
android:clipToPadding="false"
android:divider="@null"
android:paddingBottom="@dimen/small_margin"
android:paddingStart="@dimen/medium_margin"/>
android:paddingStart="@dimen/medium_margin"
android:paddingBottom="@dimen/small_margin"/>
<TextView
android:id="@+id/widget_event_list_empty"