mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
@@ -28,6 +28,7 @@ import android.view.*
|
||||
import com.google.auto.factory.*
|
||||
import dagger.*
|
||||
import org.isoron.androidbase.activities.*
|
||||
import org.isoron.uhabits.R
|
||||
import org.isoron.uhabits.activities.common.views.*
|
||||
import org.isoron.uhabits.core.models.*
|
||||
|
||||
@@ -37,7 +38,7 @@ class HabitCardListView(
|
||||
@Provided private val adapter: HabitCardListAdapter,
|
||||
@Provided private val cardViewFactory: HabitCardViewFactory,
|
||||
@Provided private val controller: Lazy<HabitCardListController>
|
||||
) : RecyclerView(context) {
|
||||
) : RecyclerView(context, null, R.attr.scrollableRecyclerViewStyle) {
|
||||
|
||||
var checkmarkCount: Int = 0
|
||||
|
||||
|
||||
@@ -132,6 +132,10 @@
|
||||
style="@style/About.Item"
|
||||
android:text="Victor Yu"/>
|
||||
|
||||
<TextView
|
||||
style="@style/About.Item"
|
||||
android:text="Christoph Hennemann"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -54,4 +54,6 @@
|
||||
<attr name="cardBackground" format="reference"/>
|
||||
<attr name="headerBackground" format="reference"/>
|
||||
<attr name="selectedBackground" format="reference"/>
|
||||
|
||||
<attr name="scrollableRecyclerViewStyle" format="reference"/>
|
||||
</resources>
|
||||
@@ -65,6 +65,8 @@
|
||||
<item name="aboutScreenColor">@color/blue_800</item>
|
||||
<item name="widgetShadowAlpha">0.25</item>
|
||||
<item name="widgetBackgroundAlpha">1</item>
|
||||
|
||||
<item name="scrollableRecyclerViewStyle">@style/ScrollableRecyclerViewStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="SmallSpinner">
|
||||
@@ -120,6 +122,8 @@
|
||||
|
||||
<item name="widgetShadowAlpha">0.25</item>
|
||||
<item name="widgetBackgroundAlpha">1</item>
|
||||
|
||||
<item name="scrollableRecyclerViewStyle">@style/ScrollableRecyclerViewStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="AppBaseThemeDark.PureBlack">
|
||||
@@ -254,4 +258,8 @@
|
||||
parent="@style/Theme.AppCompat.Dialog">
|
||||
<item name="windowNoTitle">false</item>
|
||||
</style>
|
||||
|
||||
<style name="ScrollableRecyclerViewStyle" parent="android:Widget">
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user