forked from hzuapps/android-labs-2017
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74e3547
commit 724bc93
Showing
5 changed files
with
149 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions
55
AndroidLabs/app/src/main/res/layout/activity_net1414080903109_add.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<LinearLayout | ||
android:layout_marginTop="10dp" | ||
android:background="#ffffff" | ||
android:padding="10dp" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
<TextView | ||
android:textSize="18sp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="节日名字:"/> | ||
|
||
<EditText | ||
android:id="@+id/et_add_name" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
</LinearLayout> | ||
<LinearLayout | ||
android:layout_marginTop="1dp" | ||
android:background="#ffffff" | ||
android:padding="10dp" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
<TextView | ||
android:textSize="18sp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="日期:"/> | ||
|
||
<EditText | ||
android:id="@+id/et_add_age" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
</LinearLayout> | ||
|
||
|
||
<Button | ||
android:id="@+id/bt_add" | ||
android:background="@color/colorPrimary" | ||
android:textColor="#ffffff" | ||
android:text="添 加" | ||
android:layout_width="match_parent" | ||
android:layout_margin="20dp" | ||
android:layout_height="wrap_content" /> | ||
|
||
|
||
</LinearLayout> |
11 changes: 11 additions & 0 deletions
11
AndroidLabs/app/src/main/res/layout/activity_net1414080903109_list.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<ListView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:id="@+id/lv"/> | ||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
AndroidLabs/app/src/main/res/layout/item_net1414080903109.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:padding="15dp"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
<TextView | ||
android:textSize="16sp" | ||
android:text="节日名称:" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
<TextView | ||
android:textSize="16sp" | ||
android:layout_weight="1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/tv_item_name"/> | ||
</LinearLayout> | ||
<LinearLayout | ||
android:layout_marginTop="10dp" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
<TextView | ||
android:textSize="16sp" | ||
android:text="节日时间:" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
<TextView | ||
android:textSize="16sp" | ||
android:layout_weight="1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/tv_item_occur"/> | ||
</LinearLayout> | ||
|
||
<TextView | ||
android:layout_marginTop="10dp" | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:background="#33000000"/> | ||
|
||
|
||
</LinearLayout> |