Skip to content

Commit 97c581c

Browse files
committed
sameline
1 parent 5ffeec3 commit 97c581c

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

onebusaway-android/src/main/res/layout/arrivals_list_item.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,15 @@
9999

100100
<include
101101
android:id="@+id/car_count"
102-
layout="@layout/arrivals_list_tv_template_style_a_status_small"
102+
layout="@layout/arrivals_list_tv_template_style_a_status_smallest"
103103
android:layout_width="wrap_content"
104104
android:layout_height="wrap_content"
105105
android:layout_marginStart="5dp"
106106
android:layout_marginLeft="5dp"
107107
app:layout_constraintTop_toTopOf="@id/status"
108108
app:layout_constraintBottom_toBottomOf="@id/status"
109-
app:layout_constraintStart_toEndOf="@+id/status" />
109+
app:layout_constraintStart_toEndOf="@+id/status"
110+
app_layout_constraintEnd_toEndOf="@+id/time"/>
110111

111112
<include
112113
android:id="@+id/occupancy"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="fill_parent"
4+
android:layout_height="wrap_content"
5+
android:gravity="center"
6+
android:paddingLeft="5dp"
7+
android:paddingRight="5dp"
8+
android:paddingTop="2dp"
9+
android:paddingBottom="2dp"
10+
android:text="12 min delay"
11+
android:id="@+id/status3"
12+
style="@style/ArrivalsListStatusSmallStyleA"
13+
android:layout_span="2"
14+
android:layout_alignParentRight="true"
15+
android:background="@drawable/round_corners_style_b_status"/>

onebusaway-android/src/main/res/values/dimens.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262

6363
<!-- Arrivals Style B -->
6464
<dimen name="arrival_style_b_status_min_width">77dp</dimen>
65+
<dimen name="arrival_style_b_status_min_width_small">60dp</dimen>
6566

6667
<!-- Trip details - transit stop and line -->
6768
<dimen name="trip_details_transit_line_width">3dp</dimen>

0 commit comments

Comments
 (0)