Skip to content

Commit b9dfeda

Browse files
committed
updates
1 parent 163b666 commit b9dfeda

File tree

35 files changed

+205
-76
lines changed

35 files changed

+205
-76
lines changed

com.example.android.rssfeed/AndroidManifest.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,25 @@
77
android:minSdkVersion="16"
88
android:targetSdkVersion="15" />
99

10+
<uses-permission android:name="android.permission.INTERNET">
11+
</uses-permission>
12+
1013
<application
1114
android:icon="@drawable/ic_launcher"
1215
android:label="@string/app_name"
1316
android:theme="@style/AppTheme" >
1417
<activity
1518
android:name=".RssfeedActivity"
16-
android:label="@string/title_activity_rssfeed" >
19+
android:label="@string/title_activity_main" >
1720
<intent-filter>
1821
<action android:name="android.intent.action.MAIN" />
1922

2023
<category android:name="android.intent.category.LAUNCHER" />
2124
</intent-filter>
22-
</activity>
25+
</activity>
2326
<activity
2427
android:name=".DetailActivity"
25-
android:label="Detail" >
28+
android:label="Details" >
2629
</activity>
2730
</application>
2831

801 Bytes
Loading

com.example.android.rssfeed/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# Project target.
1414
target=android-16
15-
android.library.reference.1=../com.example.android.rssfeedlibary
15+
android.library.reference.1=../com.example.android.rssfeedlibrary
67 Bytes
Loading
27 Bytes
Loading
25 Bytes
Loading
80 Bytes
Loading
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3-
android:layout_width="match_parent"
4-
android:layout_height="match_parent"
3+
android:layout_width="fill_parent"
4+
android:layout_height="fill_parent"
55
android:orientation="horizontal" >
66

77
<fragment
88
android:id="@+id/listFragment"
99
android:layout_width="match_parent"
1010
android:layout_height="match_parent"
1111
android:layout_marginTop="?android:attr/actionBarSize"
12-
class="com.example.android.rssfeed.MyListFragment" />
12+
class="com.example.android.rssfeed.MyListFragment" ></fragment>
13+
1314
</LinearLayout>

com.example.android.rssfeed/res/layout/activity_rssfeed.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66

77
<fragment
88
android:id="@+id/listFragment"
9-
android:layout_width="150dip"
9+
android:layout_width="0dp"
10+
android:layout_weight="1"
1011
android:layout_height="match_parent"
1112
android:layout_marginTop="?android:attr/actionBarSize"
1213
class="com.example.android.rssfeed.MyListFragment" ></fragment>
1314

1415
<fragment
1516
android:id="@+id/detailFragment"
16-
android:layout_width="match_parent"
17+
android:layout_width="0dp"
18+
android:layout_weight="2"
1719
android:layout_height="match_parent"
1820
class="com.example.android.rssfeed.DetailFragment" >
1921
<!-- Preview: layout=@layout/details -->

com.example.android.rssfeed/res/layout/fragment_rssitem_detail.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
android:textAppearance="?android:attr/textAppearanceLarge"
1515
android:textSize="30dip" />
1616

17-
</LinearLayout>
17+
</LinearLayout>

0 commit comments

Comments
 (0)