Changeset View
Changeset View
Standalone View
Standalone View
res/layout/fragment_favorites.xml
- This file was added.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||||
xmlns:app="http://schemas.android.com/apk/res-auto" | |||||
xmlns:tools="http://schemas.android.com/tools" | |||||
android:layout_width="match_parent" | |||||
android:layout_height="match_parent" | |||||
android:padding="5dp" | |||||
> | |||||
<ImageView | |||||
android:id="@+id/angeryBusImageView" | |||||
android:layout_width="match_parent" | |||||
android:layout_height="match_parent" | |||||
app:srcCompat="@drawable/ic_angery_bus" | |||||
android:visibility="gone" | |||||
android:contentDescription="Angry Bus Image" | |||||
tools:ignore="HardcodedText" /> | |||||
<TextView | |||||
android:id="@+id/favoriteTipTextView" | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:layout_centerHorizontal="true" | |||||
android:layout_centerVertical="true" | |||||
android:gravity="center" | |||||
android:text="@string/tip_add_favorite" | |||||
android:textAppearance="?android:attr/textAppearanceMedium" | |||||
android:layout_marginLeft="@dimen/activity_horizontal_margin" | |||||
android:layout_marginRight="@dimen/activity_horizontal_margin" | |||||
android:visibility="invisible" /> | |||||
<ListView | |||||
android:id="@+id/favoriteListView" | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:layout_alignParentBottom="true" | |||||
android:layout_alignParentLeft="true" | |||||
android:layout_alignParentStart="true" | |||||
android:layout_alignParentTop="true" /> | |||||
</RelativeLayout> | |||||
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