make the list item selection marker stretch through the whole screen width

This commit is contained in:
tibbi 2017-12-01 20:39:38 +01:00
parent 9a6ee91180
commit 87c2e5b7bd
5 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,8 @@
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:foreground="@drawable/selector">
android:foreground="@drawable/selector"
android:paddingLeft="@dimen/activity_margin">
<RelativeLayout
android:id="@+id/event_item_holder"

View File

@ -8,7 +8,8 @@
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:foreground="@drawable/selector">
android:foreground="@drawable/selector"
android:paddingLeft="@dimen/activity_margin">
<RelativeLayout
android:id="@+id/event_item_holder"

View File

@ -8,6 +8,7 @@
android:drawablePadding="1dp"
android:drawableTop="@drawable/divider_width"
android:focusable="false"
android:paddingLeft="@dimen/activity_margin"
android:paddingTop="@dimen/medium_margin"
android:textSize="@dimen/normal_text_size"
android:textStyle="bold"/>

View File

@ -15,7 +15,6 @@
android:layout_below="@+id/top_value"
android:clipToPadding="false"
android:overScrollMode="never"
android:paddingLeft="@dimen/activity_margin"
app:layoutManager="android.support.v7.widget.LinearLayoutManager"/>
</RelativeLayout>

View File

@ -11,7 +11,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingLeft="@dimen/activity_margin"
android:paddingTop="@dimen/medium_margin"
android:scrollbars="vertical"
android:visibility="gone"