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
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
AndroidLabs/app/src/main/res/layout/activity_load_picture_net1414080903217.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,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:fitsSystemWindows="true" | ||
tools:context="edu.hzuapps.androidlabs.homeworks.net1414080903217.Net1414080903217Activity"> | ||
|
||
<android.support.design.widget.AppBarLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:theme="@style/AppTheme.AppBarOverlay"> | ||
|
||
<android.support.v7.widget.Toolbar | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="?attr/actionBarSize" | ||
android:background="?attr/colorPrimary" | ||
app:popupTheme="@style/AppTheme.PopupOverlay" /> | ||
|
||
</android.support.design.widget.AppBarLayout> | ||
|
||
<include layout="@layout/content_load_picture_net1414080903217" /> | ||
|
||
<android.support.design.widget.FloatingActionButton | ||
android:id="@+id/fab" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="bottom|end" | ||
android:layout_margin="@dimen/fab_margin" | ||
app:srcCompat="@android:drawable/ic_dialog_email" /> | ||
|
||
<ListView | ||
android:id="@+id/list_view" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content"></ListView> | ||
|
||
</android.support.design.widget.CoordinatorLayout> |
40 changes: 40 additions & 0 deletions
40
AndroidLabs/app/src/main/res/layout/content_load_picture_net1414080903217.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,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:id="@+id/content_load_picture" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingBottom="16dp" | ||
android:paddingLeft="1dp" | ||
android:paddingRight="1dp" | ||
android:paddingTop="50dp" | ||
app:layout_behavior="@string/appbar_scrolling_view_behavior" | ||
tools:context="edu.hzuapps.androidlabs.homeworks.net1414080903217.Net1414080903217Activity" | ||
tools:showIn="@layout/activity_load_picture_net1414080903217"> | ||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content"> | ||
<TextView | ||
android:id="@+id/text_view" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
</LinearLayout> | ||
|
||
|
||
<ImageView | ||
android:id="@+id/image_view" | ||
android:layout_width="100dp" | ||
android:layout_height="100dp" | ||
|
||
/> | ||
|
||
|
||
</RelativeLayout> | ||
|
||
|
||
|
||
|
||
|
||
|