Changeset View
Changeset View
Standalone View
Standalone View
app/src/main/res/layout/include_map_bottom_sheet.xml
| Show All 26 Lines | <TextView | ||||
| app:layout_constraintTop_toTopOf="parent" | app:layout_constraintTop_toTopOf="parent" | ||||
| app:layout_constraintStart_toStartOf="parent" | app:layout_constraintStart_toStartOf="parent" | ||||
| app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | ||||
| android:layout_marginStart="10dp" | android:layout_marginStart="10dp" | ||||
| android:layout_marginEnd="10dp" | android:layout_marginEnd="10dp" | ||||
| android:fontFamily="@font/lato_regular" | android:fontFamily="@font/lato_regular" | ||||
| /> | /> | ||||
| <TextView | <TextView | ||||
| android:id="@+id/stopTitleTextView" | android:id="@+id/stopTitleTextView" | ||||
| android:layout_width="0dp" | android:layout_width="0dp" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:textSize="19sp" | android:textSize="19sp" | ||||
| app:layout_constraintTop_toBottomOf="@id/stopNumberTextView" | app:layout_constraintTop_toBottomOf="@id/stopNumberTextView" | ||||
| app:layout_constraintStart_toStartOf="parent" | app:layout_constraintStart_toStartOf="parent" | ||||
| app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | ||||
| android:layout_marginTop="4dp" | android:layout_marginTop="4dp" | ||||
| android:layout_marginStart="10dp" | android:layout_marginStart="10dp" | ||||
| android:layout_marginEnd="10dp" | android:layout_marginEnd="10dp" | ||||
| android:fontFamily="@font/lato_bold" | android:fontFamily="@font/lato_bold" | ||||
| /> | /> | ||||
| <androidx.constraintlayout.widget.Barrier | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:id="@+id/belowBarrier" | |||||
| app:barrierDirection="bottom" | |||||
| app:constraint_referenced_ids="stopTitleTextView" | |||||
| /> | |||||
| <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" | |||||
| android:orientation="horizontal" | |||||
| app:layout_constraintStart_toStartOf="parent" | |||||
| android:layout_marginStart="10dp" | |||||
| android:layout_marginTop="5dp" | |||||
| app:layout_constraintTop_toBottomOf="@id/stopTitleTextView" | |||||
| android:id="@+id/bottomLinearLayout" | |||||
| app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | |||||
| android:layout_marginEnd="10dp" | |||||
| > | |||||
| <TextView android:layout_width="wrap_content" | |||||
| android:layout_height="wrap_content" | |||||
| android:text="@string/lines" | |||||
| android:layout_marginEnd="1dp" | |||||
| android:id="@+id/linesBottomTextView" | |||||
| android:fontFamily="@font/lato_regular" | |||||
| android:textSize="15sp" | |||||
| /> | |||||
| <TextView | <TextView | ||||
| android:id="@+id/descriptionTextView" | android:id="@+id/descriptionTextView" | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:minHeight="22dp" | android:minHeight="28dp" | ||||
| android:textSize="15sp" | android:textSize="15sp" | ||||
| android:gravity="center_vertical" | android:text="32119" | ||||
| app:layout_constraintTop_toBottomOf="@id/stopTitleTextView" | android:gravity="top" | ||||
| app:layout_constraintStart_toStartOf="parent" | android:layout_alignParentStart="true" | ||||
| app:layout_constraintEnd_toStartOf="@id/vehicleIcon" | android:layout_alignParentTop="true" | ||||
| android:layout_marginTop="6dp" | |||||
| android:layout_marginStart="10dp" | |||||
| android:layout_marginEnd="1dp" | |||||
| android:fontFamily="@font/lato_regular" | android:fontFamily="@font/lato_regular" | ||||
| app:layout_constraintHorizontal_chainStyle="packed" | |||||
| app:layout_constraintHorizontal_bias="0.0" | |||||
| /> | /> | ||||
| <ImageView | <ImageView | ||||
| android:layout_width="33dp" | android:layout_width="35dp" | ||||
| android:layout_height="24dp" | android:layout_height="28dp" | ||||
| android:id="@+id/vehicleIcon" | android:id="@+id/vehicleIcon" | ||||
| android:layout_marginTop="6dp" | |||||
| android:layout_marginEnd="10dp" | |||||
| android:layout_marginStart="0dp" | android:layout_marginStart="0dp" | ||||
| android:src="@drawable/ic_bus_electric_small" | android:src="@drawable/ic_bus_electric_small" | ||||
| app:tint="@color/blue_700" | app:tint="@color/blue_700" | ||||
| app:layout_constraintTop_toBottomOf="@id/stopTitleTextView" | |||||
| app:layout_constraintStart_toEndOf="@id/descriptionTextView" | |||||
| app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | |||||
| /> | |||||
| <androidx.constraintlayout.widget.Barrier | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:id="@+id/belowTextBarrier" | |||||
| app:barrierDirection="bottom" | |||||
| app:constraint_referenced_ids="vehicleIcon,descriptionTextView" | |||||
| /> | /> | ||||
| </LinearLayout> | |||||
| <TextView | <TextView | ||||
| android:id="@+id/extraBottomTextView" | android:id="@+id/extraBottomTextView" | ||||
| android:layout_width="0dp" | android:layout_width="0dp" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:textSize="13sp" | android:textSize="13sp" | ||||
| app:layout_constraintTop_toBottomOf="@id/belowTextBarrier" | app:layout_constraintTop_toBottomOf="@id/bottomLinearLayout" | ||||
| app:layout_constraintStart_toStartOf="parent" | app:layout_constraintStart_toStartOf="parent" | ||||
| app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | app:layout_constraintEnd_toStartOf="@id/arrivalsCardButton" | ||||
| android:layout_marginStart="10dp" | android:layout_marginStart="10dp" | ||||
| android:layout_marginEnd="10dp" | android:layout_marginEnd="10dp" | ||||
| android:layout_marginTop="5dp" | android:layout_marginTop="5dp" | ||||
| android:text="Updated at " | android:text="Updated at " | ||||
| android:fontFamily="@font/lato_regular" | android:fontFamily="@font/lato_regular" | ||||
| android:visibility="gone" | android:visibility="gone" | ||||
| Show All 13 Lines | <androidx.cardview.widget.CardView | ||||
| android:layout_toStartOf="@id/directionsCardButton" | android:layout_toStartOf="@id/directionsCardButton" | ||||
| android:backgroundTint="?android:attr/colorAccent" | android:backgroundTint="?android:attr/colorAccent" | ||||
| android:foreground="?selectableItemBackground"> | android:foreground="?selectableItemBackground"> | ||||
| <ImageView | <ImageView | ||||
| android:layout_width="30sp" | android:layout_width="30sp" | ||||
| android:layout_height="30sp" | android:layout_height="30sp" | ||||
| android:layout_gravity="center" | android:layout_gravity="center" | ||||
| app:tint="?colorOnPrimary" | app:tint="@android:color/white" | ||||
| app:srcCompat="@drawable/ic_baseline_departure_board_24" /> | app:srcCompat="@drawable/ic_baseline_departure_board_24" /> | ||||
| </androidx.cardview.widget.CardView> | </androidx.cardview.widget.CardView> | ||||
| <androidx.cardview.widget.CardView | <androidx.cardview.widget.CardView | ||||
| android:id="@+id/directionsCardButton" | android:id="@+id/directionsCardButton" | ||||
| android:layout_width="50sp" | android:layout_width="50sp" | ||||
| android:layout_height="50sp" | android:layout_height="50sp" | ||||
| Show All 9 Lines | <androidx.cardview.widget.CardView | ||||
| android:backgroundTint="?android:attr/colorAccent" | android:backgroundTint="?android:attr/colorAccent" | ||||
| > | > | ||||
| <ImageView | <ImageView | ||||
| android:id="@+id/rightmostImageView" | android:id="@+id/rightmostImageView" | ||||
| android:layout_width="30sp" | android:layout_width="30sp" | ||||
| android:layout_height="30sp" | android:layout_height="30sp" | ||||
| android:layout_gravity="center" | android:layout_gravity="center" | ||||
| app:tint="@android:color/white" | |||||
| app:srcCompat="@drawable/navigation_right" /> | app:srcCompat="@drawable/navigation_right" /> | ||||
| </androidx.cardview.widget.CardView> | </androidx.cardview.widget.CardView> | ||||
| <!-- Additional details --> | <!-- Additional details --> | ||||
| <!-- Close button --> | <!-- Close button --> | ||||
| Show All 19 Lines | <androidx.constraintlayout.widget.Barrier | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:id="@+id/bottomBarrier" | android:id="@+id/bottomBarrier" | ||||
| app:barrierDirection="bottom" | app:barrierDirection="bottom" | ||||
| app:constraint_referenced_ids="btnClose,extraBottomTextView" | app:constraint_referenced_ids="btnClose,extraBottomTextView" | ||||
| app:layout_constraintBottom_toBottomOf="parent" | app:layout_constraintBottom_toBottomOf="parent" | ||||
| /> | /> | ||||
| </androidx.constraintlayout.widget.ConstraintLayout> | </androidx.constraintlayout.widget.ConstraintLayout> | ||||
| No newline at end of file | No newline at end of file | ||||
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register