Skip to content

Commit

Permalink
Update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorFigma committed Mar 6, 2024
1 parent 8a7911d commit 53dabb5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
Binary file modified app/src/main/res/drawable/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion app/src/main/res/layout/fragment_portfolio.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".HomeActivity">

Expand All @@ -14,7 +15,8 @@
android:scrollbars="vertical"
android:layout_marginTop="61dp"
android:layout_marginBottom="56dp"
android:layout_marginStart="13dp"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
tools:listitem="@layout/listed_item_portfolio"
android:divider="@android:color/transparent"
android:dividerHeight="10sp" />
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/res/layout/fragment_stocks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".HomeActivity">

Expand All @@ -14,9 +15,10 @@
android:scrollbars="vertical"
android:layout_marginTop="60dp"
android:layout_marginBottom="56dp"
android:layout_marginStart="13dp"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
tools:listitem="@layout/listed_item_stocks"
android:divider="@android:color/transparent"
android:dividerHeight="10sp"/>
android:dividerHeight="10sp" />

</androidx.constraintlayout.widget.ConstraintLayout>
6 changes: 3 additions & 3 deletions app/src/main/res/layout/listed_item_portfolio.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardCornerRadius="20dp"
app:cardElevation="2dp"
android:layout_width="365dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/CardBackground">

Expand All @@ -16,7 +16,7 @@
<TextView
android:id="@+id/portfolioStockCode"
style="@style/TextColor"
android:layout_width="130dp"
android:layout_width="135dp"
android:layout_height="62dp"
android:layout_marginLeft="14dp"
android:gravity="center_vertical"
Expand All @@ -26,7 +26,7 @@
<TextView
android:id="@+id/portfolioStockPrice"
style="@style/TextColor"
android:layout_width="150dp"
android:layout_width="145dp"
android:layout_height="64dp"
android:layout_marginStart="-59dp"
android:layout_marginEnd="8dp"
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/layout/listed_item_stocks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardCornerRadius="20dp"
app:cardElevation="2dp"
android:layout_width="365dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/CardBackground">

Expand All @@ -15,18 +15,18 @@

<TextView
android:id="@+id/stocksStockCode"
android:layout_width="130dp"
style="@style/TextColor"
android:layout_width="135dp"
android:layout_height="62dp"
android:layout_marginLeft="14dp"
android:gravity="center_vertical"
android:text="ABCD56"
style="@style/TextColor"
android:textSize="22sp" />

<TextView
android:id="@+id/stocksStockPrice"
style="@style/TextColor"
android:layout_width="150dp"
android:layout_width="145dp"
android:layout_height="64dp"
android:layout_marginEnd="14dp"
android:layout_toStartOf="@+id/deleteItem"
Expand Down

0 comments on commit 53dabb5

Please sign in to comment.