Skip to content

Commit

Permalink
#212 Set menu align vertically
Browse files Browse the repository at this point in the history
  • Loading branch information
wateralsie committed Apr 10, 2024
1 parent e90f662 commit 85a047b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ class MainActivity : KoinNavigationDrawerActivity() {

listOf(
binding.textViewCardDiningMenu0,
binding.textViewCardDiningMenu1,
binding.textViewCardDiningMenu2,
binding.textViewCardDiningMenu3,
binding.textViewCardDiningMenu4,
binding.textViewCardDiningMenu5,
binding.textViewCardDiningMenu6,
binding.textViewCardDiningMenu7,
binding.textViewCardDiningMenu8,
binding.textViewCardDiningMenu1,
binding.textViewCardDiningMenu3,
binding.textViewCardDiningMenu5,
binding.textViewCardDiningMenu7,
binding.textViewCardDiningMenu9
).zip(diningArranged[position].menu).forEach { (textView, menu) ->
textView.text = menu
Expand Down
10 changes: 5 additions & 5 deletions koin/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<TableRow android:paddingBottom="8dp">
<TableRow android:paddingBottom="4dp">

<TextView
android:id="@+id/text_view_card_dining_menu_0"
Expand Down Expand Up @@ -229,7 +229,7 @@

</TableRow>

<TableRow android:paddingBottom="8dp">
<TableRow android:paddingBottom="4dp">

<TextView
android:id="@+id/text_view_card_dining_menu_2"
Expand Down Expand Up @@ -257,7 +257,7 @@

</TableRow>

<TableRow android:paddingBottom="8dp">
<TableRow android:paddingBottom="4dp">

<TextView
android:id="@+id/text_view_card_dining_menu_4"
Expand Down Expand Up @@ -285,7 +285,7 @@

</TableRow>

<TableRow android:paddingBottom="8dp">
<TableRow android:paddingBottom="4dp">

<TextView
android:id="@+id/text_view_card_dining_menu_6"
Expand Down Expand Up @@ -316,7 +316,7 @@
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="8dp">
android:paddingBottom="4dp">

<TextView
android:id="@+id/text_view_card_dining_menu_8"
Expand Down

0 comments on commit 85a047b

Please sign in to comment.