diff --git a/HW5/res/layout/activity_detailed_tweet.xml b/HW5/res/layout/activity_detailed_tweet.xml
index 437563f..c17d7ff 100644
--- a/HW5/res/layout/activity_detailed_tweet.xml
+++ b/HW5/res/layout/activity_detailed_tweet.xml
@@ -1,60 +1,79 @@
-
-
+ android:layout_weight="1"
+ android:orientation="vertical" >
-
+
+
+
+
+
+
+ android:orientation="vertical" >
-
+
+
+
+
+
+
+
+
+ android:layout_gravity="bottom"
+ android:orientation="vertical" >
-
+
-
+
-
-
-
+
diff --git a/HW5/res/layout/activity_main.xml b/HW5/res/layout/activity_main.xml
index 49c610f..b155ba0 100644
--- a/HW5/res/layout/activity_main.xml
+++ b/HW5/res/layout/activity_main.xml
@@ -25,16 +25,17 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:text="View Saved News"
- android:onClick="onViewSaved" />
+ android:onClick="onViewSaved"
+ android:text="@string/view_saved_news_button" />
+ android:onClick="onClearSaved"
+ android:text="@string/clear_saved_news_button" />
+
diff --git a/HW5/res/layout/news_site.xml b/HW5/res/layout/news_site.xml
index e8126ba..0726574 100644
--- a/HW5/res/layout/news_site.xml
+++ b/HW5/res/layout/news_site.xml
@@ -10,7 +10,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:padding="15dp"
- android:text="Large Text"
+ android:text="@string/default_text"
android:textAppearance="?android:attr/textAppearanceLarge" />
diff --git a/HW5/res/layout/saved_tweets_list.xml b/HW5/res/layout/saved_tweets_list.xml
index 05c9bb7..131ab71 100644
--- a/HW5/res/layout/saved_tweets_list.xml
+++ b/HW5/res/layout/saved_tweets_list.xml
@@ -22,7 +22,7 @@
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/imgProfileImage"
android:padding="5dp"
- android:text="TextView" />
+ android:text="@string/default_text" />
+ android:text="@string/default_text" />
+ android:text="@string/default_text" />
+ android:text="@string/default_text" />
TweetsListActivity
DetailedTweetActivity
SavedNewsActivity
+ View Saved News
+ Clear Saved News
+ Default
+ Back
diff --git a/HW5/src/edu/uncc/itcs4180/hw5/MainActivity.java b/HW5/src/edu/uncc/itcs4180/hw5/MainActivity.java
index b2a9140..9ff4047 100644
--- a/HW5/src/edu/uncc/itcs4180/hw5/MainActivity.java
+++ b/HW5/src/edu/uncc/itcs4180/hw5/MainActivity.java
@@ -54,6 +54,7 @@ public class MainActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
+ getActionBar().setTitle("My News Tweets!");
dm = new DataManager(this);
//dm.saveTweet(new SavedTweet(0, "apple", "Stuff about an apple", "00:00:12", ""));