Remove task list cards

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

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

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

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

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

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

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

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

@ -18,9 +18,7 @@
<dimen name="elevation_toolbar">8dp</dimen> <dimen name="elevation_toolbar">8dp</dimen>
<dimen name="elevation_app_bar">4dp</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_refresh_indicator">3dp</dimen>
<dimen name="elevation_padding">3dp</dimen>
<dimen name="widget_padding_compact">6dp</dimen> <dimen name="widget_padding_compact">6dp</dimen>
<dimen name="widget_padding">12dp</dimen> <dimen name="widget_padding">12dp</dimen>

Loading…
Cancel
Save