Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:orientation="vertical">
- <TextView
- android:id="@+id/stopSchedulesItemTransportNumber"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_marginBottom="10dp"
- android:layout_marginEnd="16dp"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginStart="16dp"
- android:layout_marginTop="10dp"
- android:background="@color/transportTypeBus"
- android:gravity="center"
- android:text="1a"
- android:textColor="@android:color/white"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@+id/stopSchedulesItemRouteName"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintDimensionRatio="1:1"/>
- <TextView
- android:id="@+id/stopSchedulesItemRouteName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:layout_marginTop="16dp"
- android:text="Route stop1 - Route stop2"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toRightOf="@+id/stopSchedulesItemTransportNumber"
- app:layout_constraintRight_toLeftOf="@+id/stopSchedulesItemNearestTime"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/stopSchedulesItemNearestTime"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginTop="16dp"
- android:text="12:10"
- android:textColor="@color/transportTypeBus"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement