Skip to content

Commit

Permalink
feat: add stroke in some cards to consistent design
Browse files Browse the repository at this point in the history
  • Loading branch information
trindadedev13 authored and aikrq committed Dec 24, 2024
1 parent a42ef84 commit 3736042
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
14 changes: 9 additions & 5 deletions app/src/main/res/layout/dialog_project_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="15dp">

<View
android:layout_width="50dp"
android:layout_height="5dp"
Expand Down Expand Up @@ -73,7 +73,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer">
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -106,7 +107,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer">
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -139,7 +141,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer">
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -172,7 +175,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer">
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down
9 changes: 6 additions & 3 deletions app/src/main/res/layout/export_project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
android:layout_margin="8dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:cardElevation="0dp"
app:contentPadding="14dp">
app:contentPadding="14dp"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -137,7 +138,8 @@
android:layout_margin="8dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:cardElevation="0dp"
app:contentPadding="14dp">
app:contentPadding="14dp"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -256,7 +258,8 @@
android:layout_margin="8dp"
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:cardElevation="0dp"
app:contentPadding="14dp">
app:contentPadding="14dp"
app:strokeWidth="0.5dp">

<LinearLayout
android:layout_width="match_parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/item_xml_command.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
android:layout_marginTop="10dp"
android:focusable="true"
android:clickable="true"
app:cardBackgroundColor="?attr/colorSurfaceContainer">
app:cardBackgroundColor="?attr/colorSurfaceContainer"
app:strokeWidth="0.5dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down

0 comments on commit 3736042

Please sign in to comment.