Changeset View
Changeset View
Standalone View
Standalone View
res/layout/entry_bus_stop.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
android:layout_width="fill_parent" | android:layout_width="fill_parent" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:paddingTop="8dip" | android:paddingTop="8dip" | ||||
android:paddingBottom="8dip" > | android:paddingBottom="8dip" | ||||
android:background="?android:attr/selectableItemBackground" | |||||
> | |||||
<TextView | <TextView | ||||
android:id="@+id/busStopName" | android:id="@+id/busStopName" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginLeft="16sp" | android:layout_marginLeft="16sp" | ||||
android:layout_marginStart="16sp" | android:layout_marginStart="16sp" | ||||
android:layout_marginRight="16sp" | android:layout_marginRight="16sp" | ||||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | <TextView | ||||
android:layout_alignTop="@id/busStopName" | android:layout_alignTop="@id/busStopName" | ||||
android:layout_centerVertical="true" | android:layout_centerVertical="true" | ||||
android:background="@drawable/bus_stop_background" | android:background="@drawable/bus_stop_background" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:textColor="@color/grey_100" | android:textColor="@color/grey_100" | ||||
android:textSize="21sp"/> | android:textSize="21sp"/> | ||||
</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