Skip to content
Snippets Groups Projects
Unverified Commit 383f8180 authored by harambasicluka's avatar harambasicluka Committed by GitHub
Browse files

grey background & removed light button elevation (#216)


Co-authored-by: default avatarmarcmuschko <marc.muschko@sap.com>
parent 823f7f3e
No related branches found
No related tags found
No related merge requests found
...@@ -109,11 +109,9 @@ ...@@ -109,11 +109,9 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/risk_details_body" android:id="@+id/risk_details_body"
style="@style/greyBodyBackground"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_large"
android:background="@color/colorGreyLight"
android:padding="@dimen/spacing_normal"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/risk_details_behavior_wrapper"> app:layout_constraintTop_toBottomOf="@id/risk_details_behavior_wrapper">
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
<style name="buttonLight" parent="@style/button"> <style name="buttonLight" parent="@style/button">
<item name="android:backgroundTint">@color/button_light</item> <item name="android:backgroundTint">@color/button_light</item>
<item name="android:stateListAnimator">@null</item>
</style> </style>
<style name="buttonIcon"> <style name="buttonIcon">
...@@ -133,6 +134,18 @@ ...@@ -133,6 +134,18 @@
</style> </style>
<!-- ####################################
Grey Body Background
###################################### -->
<style name="greyBodyBackground">
<item name="android:layout_marginTop">@dimen/spacing_large</item>
<item name="android:background">@color/colorSurface2</item>
<item name="android:paddingStart">@dimen/guideline_start</item>
<item name="android:paddingTop">@dimen/spacing_normal</item>
<item name="android:paddingEnd">@dimen/guideline_end</item>
<item name="android:paddingBottom">@dimen/spacing_normal</item>
</style>
<!-- #################################### <!-- ####################################
Text Text
###################################### --> ###################################### -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment