}
else {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) holder.row
- .setBackgroundColor(rm.getColor(R.color.drawer_background, ctx.getTheme()));
- else holder.row.setBackgroundColor(rm.getColor(R.color.drawer_background));
+ .setBackgroundColor(rm.getColor(R.color.table_row_odd_bg, ctx
+ .getTheme()));
+ else holder.row.setBackgroundColor(rm.getColor(R.color.table_row_odd_bg));
}
holder.row.setTag(R.id.POS, position);
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2018 Damyan Ivanov.
+ ~ This file is part of Mobile-Ledger.
+ ~ Mobile-Ledger is free software: you can distribute it and/or modify it
+ ~ under the term of the GNU General Public License as published by
+ ~ the Free Software Foundation, either version 3 of the License, or
+ ~ (at your opinion), any later version.
+ ~
+ ~ Mobile-Ledger is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU General Public License terms for details.
+ ~
+ ~ You should have received a copy of the GNU General Public License
+ ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
+ -->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <gradient
+ android:startColor="#80000000"
+ android:endColor="#00000000"
+ android:angle="270"
+ />
+</shape>
\ No newline at end of file
android:text="TextView" />
</LinearLayout>
+ <View
+ android:id="@+id/view"
+ android:layout_width="0dp"
+ android:layout_height="6dp"
+ android:background="@drawable/drop_shadow"
+ app:layout_constraintTop_toBottomOf="@+id/last_update_row" />
+
<ProgressBar
android:id="@+id/transaction_progress_bar"
style="?android:attr/progressBarStyleHorizontal"
<color name="colorAccent">#4db6ac</color>
<color name="table_row_even_bg">#289d29b1</color>
<color name="drawer_background">#ffffffff</color>
+ <color name="table_row_odd_bg">#28fae0ff</color>
</resources>