|
|
|
@ -20,88 +20,65 @@
|
|
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListStyle">
|
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
|
<item name="android:layout_height">match_parent</item>
|
|
|
|
|
<item name="android:divider">@color/windowBackground</item>
|
|
|
|
|
<item name="android:dividerHeight">1dp</item>
|
|
|
|
|
<item name="android:paddingTop">42dp</item>
|
|
|
|
|
<item name="android:background">@color/windowBackground</item>
|
|
|
|
|
<style name="ListHabits">
|
|
|
|
|
<item name="android:background">@color/transparent</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style name="habitsListHeaderBasicStyle">
|
|
|
|
|
<style name="ListHabits.Header">
|
|
|
|
|
<item name="android:background">@drawable/habits_list_header_background</item>
|
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
|
<item name="android:layout_alignParentTop">true</item>
|
|
|
|
|
<item name="android:paddingRight">4dp</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListHeaderStyle" parent="habitsListHeaderBasicStyle">
|
|
|
|
|
<item name="android:background">@drawable/habits_list_header_background</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListStarStyle">
|
|
|
|
|
<style name="ListHabits.Star">
|
|
|
|
|
<item name="android:paddingTop">2dp</item>
|
|
|
|
|
<item name="android:layout_width">30dp</item>
|
|
|
|
|
<item name="android:layout_height">match_parent</item>
|
|
|
|
|
<item name="android:layout_marginTop">0dp</item>
|
|
|
|
|
<item name="android:gravity">center</item>
|
|
|
|
|
<item name="android:paddingTop">1dp</item>
|
|
|
|
|
<item name="android:textSize">16sp</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListNameStyle">
|
|
|
|
|
<style name="ListHabits.Label">
|
|
|
|
|
<item name="android:layout_width">0dp</item>
|
|
|
|
|
<item name="android:layout_weight">1</item>
|
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
|
<item name="android:gravity">center_vertical</item>
|
|
|
|
|
<item name="android:paddingBottom">6dp</item>
|
|
|
|
|
<item name="android:paddingLeft">0dp</item>
|
|
|
|
|
<item name="android:paddingRight">6dp</item>
|
|
|
|
|
<item name="android:paddingTop">10dp</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListButtonsPanelStyle">
|
|
|
|
|
<style name="ListHabits.CheckmarkPanel">
|
|
|
|
|
<item name="android:layout_width">wrap_content</item>
|
|
|
|
|
<item name="android:layout_height">42dp</item>
|
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
|
<item name="android:gravity">center</item>
|
|
|
|
|
<item name="android:orientation">horizontal</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListItemStyle">
|
|
|
|
|
<style name="ListHabits.Item">
|
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
|
<item name="android:background">@color/windowBackground</item>
|
|
|
|
|
<item name="android:background">@color/transparent</item>
|
|
|
|
|
<item name="android:clipToPadding">false</item>
|
|
|
|
|
<item name="android:orientation">horizontal</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListItemInnerPanelStyle" parent="cardStyle">
|
|
|
|
|
<style name="ListHabits.HabitCard" parent="Card">
|
|
|
|
|
<item name="android:orientation">horizontal</item>
|
|
|
|
|
<item name="android:padding">3dp</item>
|
|
|
|
|
<item name="android:padding">0dp</item>
|
|
|
|
|
<item name="android:gravity">center_vertical</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListCheckBasicStyle">
|
|
|
|
|
<style name="ListHabits.CheckmarkCommon">
|
|
|
|
|
<item name="android:focusable">false</item>
|
|
|
|
|
<item name="android:minHeight">@dimen/check_square_size</item>
|
|
|
|
|
<item name="android:minWidth">@dimen/check_square_size</item>
|
|
|
|
|
<item name="android:minHeight">@dimen/checkmarkHeight</item>
|
|
|
|
|
<item name="android:width">@dimen/checkmarkWidth</item>
|
|
|
|
|
<item name="android:gravity">center</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListCheckStyle" parent="habitsListCheckBasicStyle">
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="habitsListHeaderCheckStyle" parent="habitsListCheckStyle">
|
|
|
|
|
<item name="android:layout_width">42dp</item>
|
|
|
|
|
<item name="android:layout_height">match_parent</item>
|
|
|
|
|
<item name="android:background">@color/transparent</item>
|
|
|
|
|
<item name="android:focusable">false</item>
|
|
|
|
|
<item name="android:textSize">10sp</item>
|
|
|
|
|
<item name="android:textColor">#606060</item>
|
|
|
|
|
<style name="ListHabits.Checkmark" parent="ListHabits.CheckmarkCommon">
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style name="habitsListEmptyStyle">
|
|
|
|
|
<style name="ListHabits.EmptyState">
|
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
|
<item name="android:gravity">center</item>
|
|
|
|
|