Skip to content

Commit

Permalink
Add Custom View Layout (arrival_info_view.xml)
Browse files Browse the repository at this point in the history
  • Loading branch information
parkcheayeon committed Jan 9, 2025
1 parent 14c7e60 commit 04c5cf4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions feature/stopdetail/src/main/res/layout/arrival_info_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
tools:background="?attr/colorPrimary">

<TextView
android:id="@+id/text_info_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:textColor="@android:color/black"
android:textSize="14sp"
tools:text="@string/first_bus" />

<TextView
android:id="@+id/text_arrival_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:textColor="@android:color/black"
android:textSize="14sp"
android:textStyle="bold"
tools:text="22분 38초 후" />

<TextView
android:id="@+id/text_position"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:textColor="@android:color/black"
android:textSize="14sp"
tools:text="11번째 전" />

<TextView
android:id="@+id/text_congestion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:textSize="14sp"
tools:text="매우혼잡" />

</LinearLayout>

0 comments on commit 04c5cf4

Please sign in to comment.