Remove task list cards

pull/1722/head
Alex Baker 3 years ago
parent 08ff146320
commit 7338dc3f30

@ -37,7 +37,6 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:elevation="@dimen/elevation_task_list" />
android:layout_height="match_parent" />
</LinearLayout>

@ -1,19 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:overScrollMode="never"
android:scrollbars="none"
app:elevation="@dimen/elevation_task_list" />
android:scrollbars="none" />
<LinearLayout
android:id="@+id/new_subtasks"

@ -42,7 +42,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="@dimen/elevation_task_list"
android:orientation="horizontal">
<FrameLayout

@ -1,14 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="1px"
app:cardBackgroundColor="?android:colorBackground"
app:cardCornerRadius="0dp"
app:cardElevation="?attr/card_elevation"
app:cardPreventCornerOverlap="false">
android:background="?android:colorBackground"
android:layout_height="wrap_content">
<RelativeLayout xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/rowBody"
@ -100,4 +96,4 @@
android:visibility="?attr/horizontal_divider_visibility"
android:layout_gravity="bottom" />
</com.google.android.material.card.MaterialCardView>
</FrameLayout>

@ -10,8 +10,7 @@
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="@dimen/elevation_task_list">
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="wrap_content"

@ -13,7 +13,6 @@
android:layout_height="match_parent"
android:paddingBottom="@dimen/task_list_footer_height"
android:clipToPadding="false"
android:elevation="@dimen/elevation_task_list"
android:scrollbars="vertical"/>
</org.tasks.ui.DraggableSwipeRefreshLayout>

@ -5,6 +5,5 @@
<item name="android:elevation" tools:ignore="NewApi">@dimen/elevation_refresh_indicator</item>
<item name="android:clipToPadding">false</item>
<item name="android:paddingStart">0dp</item>
<item name="android:paddingEnd">@dimen/elevation_padding</item>
</style>
</resources>

@ -18,9 +18,7 @@
<dimen name="elevation_toolbar">8dp</dimen>
<dimen name="elevation_app_bar">4dp</dimen>
<dimen name="elevation_task_list">2dp</dimen>
<dimen name="elevation_refresh_indicator">3dp</dimen>
<dimen name="elevation_padding">3dp</dimen>
<dimen name="widget_padding_compact">6dp</dimen>
<dimen name="widget_padding">12dp</dimen>

Loading…
Cancel
Save