-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Custom View Layout (arrival_info_view.xml)
- Loading branch information
1 parent
14c7e60
commit 04c5cf4
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
feature/stopdetail/src/main/res/layout/arrival_info_view.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |