Changeset View
Changeset View
Standalone View
Standalone View
res/layout/activity_refresh_list.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
---|---|---|---|---|---|
2 | <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | xmlns:tools="http://schemas.android.com/tools" | 3 | xmlns:tools="http://schemas.android.com/tools" | ||
4 | android:id="@+id/refresh_list_layout" | 4 | android:id="@+id/refresh_list_layout" | ||
5 | android:layout_width="match_parent" | 5 | android:layout_width="match_parent" | ||
6 | android:layout_height="match_parent"> | 6 | android:layout_height="match_parent"> | ||
7 | 7 | | |||
8 | <ListView android:layout_width="match_parent" | 8 | <ListView | ||
9 | android:id="@+id/listView1" | ||||
10 | android:layout_width="match_parent" | ||||
9 | android:layout_height="match_parent" | 11 | android:layout_height="match_parent" | ||
12 | android:addStatesFromChildren="true" | ||||
13 | android:orientation="vertical" | ||||
10 | android:paddingLeft="16dip" | 14 | android:paddingLeft="16dip" | ||
11 | android:paddingRight="16dip" | 15 | android:paddingRight="16dip" | ||
12 | tools:context=".MainActivity" | 16 | tools:context=".MainActivity" /> | ||
13 | android:id="@+id/listView1" | | |||
14 | android:addStatesFromChildren="true" | | |||
15 | android:orientation="vertical"/> | | |||
16 | 17 | | |||
17 | </android.support.v4.widget.SwipeRefreshLayout> | 18 | </android.support.v4.widget.SwipeRefreshLayout> | ||
18 | No newline at end of file | 19 | No newline at end of file |