Skip to content

Commit

Permalink
Layout improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Futsch1 committed Feb 18, 2024
1 parent 2301a98 commit 9164087
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_edit_medicine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
tools:context=".medicine.EditMedicine">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="16dp"
android:orientation="vertical"
android:padding="5dp">

Expand Down Expand Up @@ -52,6 +52,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="8dp"
android:clickable="true"
android:text="@string/add_reminder"
app:icon="@android:drawable/ic_menu_add" />
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/fragment_medicines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
android:id="@+id/medicineList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:scrollbars="vertical">

</androidx.recyclerview.widget.RecyclerView>
Expand All @@ -19,6 +20,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="8dp"
android:clickable="true"
android:contentDescription="@string/add_medicine"
android:text="@string/add_medicine"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/fragment_overview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
android:layout_margin="0dp"
android:orientation="vertical"
tools:context=".overview.OverviewFragment">

<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="8dp"
app:cardCornerRadius="10dp"
app:cardElevation="2dp"
app:contentPadding="10dp">
Expand Down Expand Up @@ -39,7 +39,7 @@
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_margin="5dp"
android:layout_margin="8dp"
android:layout_weight="1"
app:cardCornerRadius="10dp"
app:cardElevation="2dp"
Expand Down

0 comments on commit 9164087

Please sign in to comment.