From d20a5a81af4fa88eb26ea9678ecc13a0dd3d64a5 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 18 Mar 2020 15:00:45 -0300 Subject: Fix lint issues and CI dependencies --- .../taler/wallet/history/WalletHistoryFragment.kt | 1 - .../src/main/res/drawable/ic_home_black_24dp.xml | 25 ---------------------- wallet/src/main/res/layout/payment_details.xml | 12 +++++------ wallet/src/main/res/values/dimens.xml | 24 --------------------- 4 files changed, 6 insertions(+), 56 deletions(-) delete mode 100644 wallet/src/main/res/drawable/ic_home_black_24dp.xml delete mode 100644 wallet/src/main/res/values/dimens.xml (limited to 'wallet/src') diff --git a/wallet/src/main/java/net/taler/wallet/history/WalletHistoryFragment.kt b/wallet/src/main/java/net/taler/wallet/history/WalletHistoryFragment.kt index 4f8ab82..45ecf37 100644 --- a/wallet/src/main/java/net/taler/wallet/history/WalletHistoryFragment.kt +++ b/wallet/src/main/java/net/taler/wallet/history/WalletHistoryFragment.kt @@ -31,7 +31,6 @@ import androidx.lifecycle.Observer import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.LinearLayoutManager.VERTICAL -import kotlinx.android.synthetic.main.fragment_show_balance.* import kotlinx.android.synthetic.main.fragment_show_history.* import net.taler.wallet.R import net.taler.wallet.WalletViewModel diff --git a/wallet/src/main/res/drawable/ic_home_black_24dp.xml b/wallet/src/main/res/drawable/ic_home_black_24dp.xml deleted file mode 100644 index ed8aa1e..0000000 --- a/wallet/src/main/res/drawable/ic_home_black_24dp.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/wallet/src/main/res/layout/payment_details.xml b/wallet/src/main/res/layout/payment_details.xml index 60d1d73..50c027a 100644 --- a/wallet/src/main/res/layout/payment_details.xml +++ b/wallet/src/main/res/layout/payment_details.xml @@ -30,7 +30,7 @@ android:id="@+id/errorView" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="@dimen/activity_horizontal_margin" + android:layout_margin="16dp" android:textAlignment="center" android:textColor="@android:color/holo_red_dark" android:textSize="22sp" @@ -47,9 +47,9 @@ android:id="@+id/orderLabelView" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/activity_horizontal_margin" - android:layout_marginTop="@dimen/activity_horizontal_margin" - android:layout_marginEnd="@dimen/activity_horizontal_margin" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="16dp" android:text="@string/payment_label_order_summary" android:textAlignment="center" android:visibility="invisible" @@ -63,7 +63,7 @@ android:id="@+id/orderView" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="@dimen/activity_horizontal_margin" + android:layout_margin="16dp" android:layout_marginTop="16dp" android:textAlignment="center" android:textAppearance="@style/TextAppearance.AppCompat.Headline" @@ -92,7 +92,7 @@ android:id="@+id/productsList" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="@dimen/activity_horizontal_margin" + android:layout_margin="16dp" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/wallet/src/main/res/values/dimens.xml b/wallet/src/main/res/values/dimens.xml deleted file mode 100644 index 2bbc14d..0000000 --- a/wallet/src/main/res/values/dimens.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - 16dp - 16dp - 8dp - 176dp - 16dp - \ No newline at end of file -- cgit v1.2.3