Changeset View
Changeset View
Standalone View
Standalone View
app/src/main/res/layout/item_stop_nearby_card.xml
- This file was moved from app/src/main/res/layout/stop_card.xml.
| Show All 20 Lines | <RelativeLayout | ||||
| <TextView | <TextView | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:text="Title" | android:text="Title" | ||||
| android:id="@+id/stop_nameText" | android:id="@+id/stop_nameText" | ||||
| style="@style/TextAppearance.AppCompat.Medium" | style="@style/TextAppearance.AppCompat.Medium" | ||||
| android:layout_alignParentLeft="true" | android:layout_alignParentLeft="true" | ||||
| android:layout_alignParentStart="true" android:paddingLeft="6dp" | android:layout_alignParentStart="true" | ||||
| android:textColor="@color/primary_material_dark" android:layout_marginBottom="6dp" | android:paddingLeft="6dp" | ||||
| android:textSize="20sp" | |||||
| android:textColor="?android:textColorPrimary" | |||||
| android:layout_marginBottom="6dp" | |||||
| android:layout_marginTop="6dp" android:layout_marginLeft="6dp" | android:layout_marginTop="6dp" android:layout_marginLeft="6dp" | ||||
| android:layout_marginStart="6dp" android:layout_marginRight="6dp" android:layout_marginEnd="6dp"/> | android:layout_marginStart="6dp" android:layout_marginRight="6dp" android:layout_marginEnd="6dp"/> | ||||
| <TextView | <TextView | ||||
| android:id="@+id/stop_numberText" | android:id="@+id/stop_numberText" | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:text="stopNumber" | android:text="stopNumber" | ||||
| android:textSize="16sp" | android:textSize="18sp" | ||||
| android:layout_below="@id/stop_nameText" | android:layout_below="@id/stop_nameText" | ||||
| android:textIsSelectable="true" android:layout_marginTop="6dp" | android:textIsSelectable="true" android:layout_marginTop="6dp" | ||||
| android:textColor="@color/orange_700" | android:textColor="?colorPrimaryDark" | ||||
| android:layout_marginStart="12dp" android:layout_marginEnd="8dp" | android:layout_marginStart="12dp" android:layout_marginEnd="8dp" | ||||
| android:layout_marginBottom="8dp"/> | android:layout_marginBottom="8dp"/> | ||||
| <TextView | <TextView | ||||
| android:text="200m" | android:text="200m" | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:layout_marginEnd="6dp" | android:layout_marginEnd="6dp" | ||||
| android:layout_marginStart="10dp" | android:layout_marginStart="10dp" | ||||
| android:minWidth="50dp" | android:minWidth="50dp" | ||||
| android:textSize="16sp" | android:textSize="16sp" | ||||
| android:id="@+id/stop_distanceTextView" android:layout_toEndOf="@+id/stop_numberText" | android:id="@+id/stop_distanceTextView" | ||||
| android:layout_toEndOf="@+id/stop_numberText" | |||||
| android:layout_toRightOf="@id/stop_numberText" | android:layout_toRightOf="@id/stop_numberText" | ||||
| android:layout_alignTop="@+id/stop_numberText" | android:layout_alignTop="@+id/stop_numberText" | ||||
| /> | /> | ||||
| <!-- | <!-- | ||||
| <LinearLayout | <LinearLayout | ||||
| android:orientation="horizontal" | android:orientation="horizontal" | ||||
| android:layout_width="fill_parent" | android:layout_width="fill_parent" | ||||
| Show All 35 Lines | <RelativeLayout | ||||
| android:layout_marginTop="10dp" | android:layout_marginTop="10dp" | ||||
| android:layout_marginLeft="5dp" android:layout_margin="3dp"/> | android:layout_marginLeft="5dp" android:layout_margin="3dp"/> | ||||
| </LinearLayout> | </LinearLayout> | ||||
| --> | --> | ||||
| </RelativeLayout> | </RelativeLayout> | ||||
| <TextView | <TextView | ||||
| android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:text="" | android:text="1,2,3,4" | ||||
| android:id="@+id/stop_linesText" | android:id="@+id/stop_linesText" | ||||
| android:layout_toRightOf="@+id/stop_distanceTextView" | android:layout_toRightOf="@+id/stop_distanceTextView" | ||||
| android:minWidth="80dp" | android:minWidth="80dp" | ||||
| android:layout_alignParentRight="true" | android:layout_alignParentRight="true" | ||||
| android:layout_alignParentEnd="true" android:layout_alignBottom="@+id/stop_distanceTextView" | android:layout_alignParentEnd="true" android:layout_alignBottom="@+id/stop_distanceTextView" | ||||
| android:layout_alignTop="@+id/stop_nameText" | android:layout_alignTop="@+id/stop_nameText" | ||||
| android:nestedScrollingEnabled="true" | android:nestedScrollingEnabled="true" | ||||
| android:gravity="center_horizontal|center" | android:gravity="center_horizontal|center" | ||||
| android:textColor="@color/blue_700" android:textSize="14sp" android:layout_weight="1" | android:textColor="@color/lines_nearby_color" | ||||
| android:fontFamily="@font/nevermind_compact" | |||||
| android:textSize="16sp" | |||||
| android:layout_weight="1" | |||||
| android:padding="5dp" android:maxWidth="100sp" android:layout_gravity="center_vertical|end" | android:padding="5dp" android:maxWidth="100sp" android:layout_gravity="center_vertical|end" | ||||
| android:layout_marginRight="5dp"/> | android:layout_marginRight="5dp"/> | ||||
| </LinearLayout> | </LinearLayout> | ||||
| </androidx.cardview.widget.CardView> | </androidx.cardview.widget.CardView> | ||||
| 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