();
+ News news1 = new News();
+ news1.setTitle("Succeed in College as a Learning Disabled Student");
+ news1.setContent("College freshmen will soon learn to live with a"
+ +"roommate, adjust to a new social scene and survive less-than-stellar"
+ +"dining hall food. Students with learning disabilities will face these"
+ +"transitions while also grappling with a few more hurdles.");
+ newsList.add(news1);
+ News news2 = new News();
+ news2.setTitle("Google Android exec poached by China's Xiaomi");
+ news2.setContent("China's Xiaomi has poached a key Google executive"+
+ "involved in the tech giant's Android phones, in a move seen as a coup"+
+ " for the rapidly growing Chinese smartphone maker.");
+ newsList.add(news2);
+ return newsList;
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/hunnu/sj/raise_money/dummy/DummyContent.java b/app/src/main/java/hunnu/sj/raise_money/dummy/DummyContent.java
new file mode 100644
index 0000000..01e2250
--- /dev/null
+++ b/app/src/main/java/hunnu/sj/raise_money/dummy/DummyContent.java
@@ -0,0 +1,72 @@
+package hunnu.sj.raise_money.dummy;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Helper class for providing sample content for user interfaces created by
+ * Android template wizards.
+ *
+ * TODO: Replace all uses of this class before publishing your app.
+ */
+public class DummyContent {
+
+ /**
+ * An array of sample (dummy) items.
+ */
+ public static final List ITEMS = new ArrayList();
+
+ /**
+ * A map of sample (dummy) items, by ID.
+ */
+ public static final Map ITEM_MAP = new HashMap();
+
+ private static final int COUNT = 25;
+
+ static {
+ // Add some sample items.
+ for (int i = 1; i <= COUNT; i++) {
+ addItem(createDummyItem(i));
+ }
+ }
+
+ private static void addItem(DummyItem item) {
+ ITEMS.add(item);
+ ITEM_MAP.put(item.id, item);
+ }
+
+ private static DummyItem createDummyItem(int position) {
+ return new DummyItem(String.valueOf(position), "Item " + position, makeDetails(position));
+ }
+
+ private static String makeDetails(int position) {
+ StringBuilder builder = new StringBuilder();
+ builder.append("Details about Item: ").append(position);
+ for (int i = 0; i < position; i++) {
+ builder.append("\nMore details information here.");
+ }
+ return builder.toString();
+ }
+
+ /**
+ * A dummy item representing a piece of content.
+ */
+ public static class DummyItem {
+ public final String id;
+ public final String content;
+ public final String details;
+
+ public DummyItem(String id, String content, String details) {
+ this.id = id;
+ this.content = content;
+ this.details = details;
+ }
+
+ @Override
+ public String toString() {
+ return content;
+ }
+ }
+}
diff --git a/app/src/main/res/layout/activity_news_content.xml b/app/src/main/res/layout/activity_news_content.xml
new file mode 100644
index 0000000..e0b7450
--- /dev/null
+++ b/app/src/main/res/layout/activity_news_content.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/content_main.xml b/app/src/main/res/layout/content_main.xml
index 04b67fd..175e74d 100644
--- a/app/src/main/res/layout/content_main.xml
+++ b/app/src/main/res/layout/content_main.xml
@@ -17,4 +17,10 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/mobile_navigation" />
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_news_content.xml b/app/src/main/res/layout/fragment_news_content.xml
new file mode 100644
index 0000000..14904ba
--- /dev/null
+++ b/app/src/main/res/layout/fragment_news_content.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_news_title.xml b/app/src/main/res/layout/fragment_news_title.xml
new file mode 100644
index 0000000..a003c77
--- /dev/null
+++ b/app/src/main/res/layout/fragment_news_title.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/news_content.xml b/app/src/main/res/layout/news_content.xml
new file mode 100644
index 0000000..848cbf6
--- /dev/null
+++ b/app/src/main/res/layout/news_content.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/news_item.xml b/app/src/main/res/layout/news_item.xml
new file mode 100644
index 0000000..7fa254e
--- /dev/null
+++ b/app/src/main/res/layout/news_item.xml
@@ -0,0 +1,17 @@
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 4ab4520..4639294 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -5,4 +5,5 @@
8dp
176dp
16dp
+ 16dp
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b4ef3f2..3e41eed 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -18,4 +18,7 @@
HeadPortrait
申请帮助
onUploadPic
+
+
+ Hello blank fragment