Changeset View
Changeset View
Standalone View
Standalone View
app/src/main/res/layout/fragment_arrivals.xml
| Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | <RelativeLayout | ||||
| <androidx.core.widget.NestedScrollView | <androidx.core.widget.NestedScrollView | ||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:id="@+id/arrivalsScrollView" | android:id="@+id/arrivalsScrollView" | ||||
| android:layout_weight="12" | android:layout_weight="12" | ||||
| > | > | ||||
| <LinearLayout | <LinearLayout | ||||
| android:orientation="vertical" | android:orientation="vertical" | ||||
| android:layout_width="match_parent" android:layout_height="wrap_content"> | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content"> | |||||
| <!-- | |||||
| --> | |||||
| <TextView | <TextView | ||||
| android:id="@+id/howDoesItWorkTextView" | android:id="@+id/howDoesItWorkTextView" | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:layout_marginBottom="16dp" | android:layout_marginBottom="16dp" | ||||
| android:layout_marginEnd="16dp" | android:layout_marginEnd="16dp" | ||||
| android:layout_marginStart="16dip" | android:layout_marginStart="16dip" | ||||
| android:layout_marginTop="10dp" | android:layout_marginTop="10dp" | ||||
| android:text="@string/howDoesItWork" | android:text="@string/howDoesItWork" | ||||
| android:textAppearance="?android:attr/textAppearanceSmall" | android:textAppearance="?android:attr/textAppearanceSmall" | ||||
| android:textColor="@color/blue_500" | android:textColor="@color/blue_500" | ||||
| android:visibility="gone" | android:visibility="gone" | ||||
| /> | /> | ||||
| <Button | <Button | ||||
| android:id="@+id/hideHintButton" | android:id="@+id/hideHintButton" | ||||
| style="?android:attr/buttonStyleSmall" | style="?android:attr/buttonStyleSmall" | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:minWidth="80dp" | android:minWidth="80dp" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:layout_gravity="end" | android:layout_gravity="end" | ||||
| android:layout_marginEnd="20dp" | android:layout_marginEnd="20dp" | ||||
| android:layout_marginStart="20dp" | android:layout_marginStart="20dp" | ||||
| android:layout_marginBottom="10dp" | android:layout_marginBottom="10dp" | ||||
| android:background="@drawable/route_background_bus" | android:background="@drawable/route_background_bus" | ||||
| android:text="@string/hint_button" | android:text="@string/hint_button" | ||||
| android:textColor="@color/grey_100" | android:textColor="@color/grey_100" | ||||
| android:textSize="19sp" | android:textSize="19sp" | ||||
| android:visibility="gone" /> | android:visibility="gone" /> | ||||
| <androidx.cardview.widget.CardView | |||||
| android:id="@+id/alertsCardView" | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| app:cardCornerRadius="5dp" | |||||
| app:cardElevation="0dp" | |||||
| android:layout_marginStart="10dp" | |||||
| android:layout_marginEnd="10dp" | |||||
| android:layout_marginTop="5sp" | |||||
| android:layout_marginBottom="2sp" | |||||
| android:backgroundTint="@color/alerts_color_button" | |||||
| android:foreground="?attr/selectableItemBackground" | |||||
| android:visibility="gone" | |||||
| > | |||||
| <androidx.constraintlayout.widget.ConstraintLayout | |||||
| android:padding="5dp" | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:paddingEnd="10dp" | |||||
| > | |||||
| <View android:layout_width="1dp" | |||||
| android:layout_height="20dp" | |||||
| android:id="@+id/uselessView" | |||||
| app:layout_constraintTop_toTopOf="parent" | |||||
| app:layout_constraintBottom_toBottomOf="parent" | |||||
| app:layout_constraintStart_toStartOf="parent" | |||||
| app:layout_constraintEnd_toStartOf="@id/bubbleImageView" | |||||
| /> | |||||
| <ImageView | |||||
| android:layout_width="35dp" | |||||
| android:layout_height="35dp" | |||||
| app:layout_constraintTop_toTopOf="parent" | |||||
| app:layout_constraintBottom_toBottomOf="parent" | |||||
| app:layout_constraintStart_toEndOf="@id/uselessView" | |||||
| app:layout_constraintEnd_toStartOf="@id/alertShowingTextView" | |||||
| android:src="@drawable/chat_bubble_warning_solid" | |||||
| android:id="@+id/bubbleImageView" | |||||
| android:layout_marginStart="10dp" | |||||
| android:layout_marginTop="5dp" | |||||
| android:layout_marginBottom="5dp" | |||||
| app:tint="@color/white" | |||||
| app:layout_constraintHorizontal_bias="0.0" | |||||
| /> | |||||
| <TextView | |||||
| android:id="@+id/alertShowingTextView" | |||||
| app:layout_constraintTop_toTopOf="parent" | |||||
| app:layout_constraintBottom_toBottomOf="parent" | |||||
| app:layout_constraintStart_toEndOf="@id/bubbleImageView" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:fontFamily="@font/lato_regular" | |||||
| android:text="Ci sono avvisi" | |||||
| android:textColor="@color/white" | |||||
| app:layout_constraintEnd_toEndOf="parent" | |||||
| android:layout_marginStart="10dp" | |||||
| android:layout_marginEnd="10dp" | |||||
| android:textSize="18sp" | |||||
| app:layout_constraintHorizontal_bias="0.0" | |||||
| /> | |||||
| </androidx.constraintlayout.widget.ConstraintLayout> | |||||
| </androidx.cardview.widget.CardView> | |||||
| <androidx.recyclerview.widget.RecyclerView | <androidx.recyclerview.widget.RecyclerView | ||||
| android:id="@+id/arrivalsRecyclerView" | android:id="@+id/arrivalsRecyclerView" | ||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:clickable="true" | android:clickable="true" | ||||
| android:descendantFocusability="blocksDescendants" | android:descendantFocusability="blocksDescendants" | ||||
| android:focusable="true" | android:focusable="true" | ||||
| ▲ Show 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | <RelativeLayout | ||||
| android:layout_marginStart="15dp" | android:layout_marginStart="15dp" | ||||
| android:layout_marginEnd="15dp" | android:layout_marginEnd="15dp" | ||||
| android:layout_marginTop="5dp" | android:layout_marginTop="5dp" | ||||
| /> | /> | ||||
| </LinearLayout> | </LinearLayout> | ||||
| </LinearLayout> | </LinearLayout> | ||||
| </RelativeLayout> | </RelativeLayout> | ||||
| 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