Remove strokes from most cards
This commit is contained in:
parent
9a16ab1bd7
commit
2dbaf9595c
@ -48,7 +48,7 @@
|
||||
|
||||
<com.google.android.material.circularreveal.cardview.CircularRevealCardView
|
||||
android:id="@+id/hide_filter"
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
|
@ -37,12 +37,11 @@
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
gone="@{viewModel.skipOptions}"
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/l1"
|
||||
android:layout_marginEnd="@dimen/l1"
|
||||
app:strokeWidth="@{viewModel.step != 0 ? 0f : @dimen/l_125}">
|
||||
android:layout_marginEnd="@dimen/l1" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@ -124,13 +123,12 @@
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/l1"
|
||||
android:layout_marginTop="@dimen/l1"
|
||||
android:layout_marginEnd="@dimen/l1"
|
||||
app:strokeWidth="@{viewModel.step != 1 ? 0f : @dimen/l_125}">
|
||||
android:layout_marginEnd="@dimen/l1" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@ -217,13 +215,12 @@
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/l1"
|
||||
android:layout_marginStart="@dimen/l1"
|
||||
android:layout_marginEnd="@dimen/l1"
|
||||
app:strokeWidth="@{viewModel.step != 0 ? 0f : @dimen/l_125}">
|
||||
android:layout_marginEnd="@dimen/l1" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/release_notes"
|
||||
@ -232,7 +229,10 @@
|
||||
android:layout_margin="15dp"
|
||||
android:textAppearance="@style/AppearanceFoundation.Caption"
|
||||
android:visibility="gone"
|
||||
markdownText="@{viewModel.notes}"/>
|
||||
markdownText="@{viewModel.notes}"
|
||||
tools:visibility="visible"
|
||||
tools:text="@tools:sample/lorem/random"
|
||||
tools:maxLines="5" />
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
|
@ -37,7 +37,8 @@
|
||||
|
||||
<com.google.android.material.circularreveal.cardview.CircularRevealCardView
|
||||
android:id="@+id/log_filter"
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
app:cardBackgroundColor="?colorSurface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="bottom"
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
<com.google.android.material.circularreveal.cardview.CircularRevealCardView
|
||||
android:id="@+id/module_filter"
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
app:cardBackgroundColor="?colorSurface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
@ -18,7 +18,7 @@
|
||||
</data>
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:layout_gravity="center"
|
||||
|
@ -24,7 +24,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
isEnabled="@{!item.removed}"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -17,7 +17,7 @@
|
||||
android:layout_gravity="center">
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="@{item.enabled ? 1f : .5f}"
|
||||
|
@ -18,7 +18,7 @@
|
||||
</data>
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:layout_gravity="center"
|
||||
|
@ -16,12 +16,13 @@
|
||||
</data>
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="@{() -> viewModel.saveTheme(theme)}"
|
||||
app:cardBackgroundColor="@android:color/transparent"
|
||||
app:strokeColor="?colorPrimaryVariant"
|
||||
app:strokeWidth="1.5dp"
|
||||
tools:layout_gravity="center">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
@ -67,7 +68,7 @@
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/theme_card_bottom"
|
||||
style="@style/WidgetFoundation.Card.Variant"
|
||||
style="@style/WidgetFoundation.Card"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/l1"
|
||||
|
@ -29,15 +29,6 @@
|
||||
<item name="cardBackgroundColor">?colorSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetFoundation.Card.Variant">
|
||||
<item name="strokeColor">?colorSurfaceSurfaceVariant</item>
|
||||
<item name="strokeWidth">1.5dp</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetFoundation.Card.Variant.Primary">
|
||||
<item name="strokeColor">?colorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetFoundation.Card.Elevated">
|
||||
<item name="cardBackgroundColor">?colorSurfaceSurfaceVariant</item>
|
||||
<item name="cardCornerRadius">@dimen/l_50</item>
|
||||
|
Loading…
Reference in New Issue
Block a user