forked from hzuapps/android-labs
-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
d9a2814
commit 4655377
Showing
11 changed files
with
564 additions
and
0 deletions.
There are no files selected for viewing
454 changes: 454 additions & 0 deletions
454
...in/java/edu/hzuapps/androidworks/homeworks/net1314080903110/Net1314080903110Activity.java
Large diffs are not rendered by default.
Oops, something went wrong.
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,110 @@ | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="edu.hzuapps.androidworks.homeworks.net1314080903110.Net1314080903110Activity" > | ||
|
||
<ImageView | ||
android:id="@+id/iv" | ||
android:layout_width="300dp" | ||
android:layout_height="300dp" | ||
android:layout_centerHorizontal="true" | ||
android:layout_centerVertical="true" | ||
android:src="@drawable/wheel" /> | ||
|
||
<TextView | ||
android:id="@+id/tv1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignLeft="@+id/iv" | ||
android:layout_alignTop="@+id/iv" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginTop="46dp" | ||
android:text="TextView1" /> | ||
|
||
<TextView | ||
android:id="@+id/tv2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBaseline="@+id/tv1" | ||
android:layout_alignBottom="@+id/tv1" | ||
android:layout_centerHorizontal="true" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBaseline="@+id/tv2" | ||
android:layout_alignBottom="@+id/tv2" | ||
android:layout_alignRight="@+id/iv" | ||
android:layout_marginRight="25dp" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv4" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignLeft="@+id/tv3" | ||
android:layout_centerVertical="true" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv9" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignLeft="@+id/tv2" | ||
android:layout_centerVertical="true" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv5" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBaseline="@+id/tv6" | ||
android:layout_alignBottom="@+id/tv6" | ||
android:layout_alignLeft="@+id/tv4" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv7" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBottom="@+id/iv" | ||
android:layout_alignLeft="@+id/tv8" | ||
android:layout_marginBottom="30dp" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv6" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBaseline="@+id/tv7" | ||
android:layout_alignBottom="@+id/tv7" | ||
android:layout_alignLeft="@+id/tv9" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv8" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignLeft="@+id/tv1" | ||
android:layout_centerVertical="true" | ||
android:text="TextView" /> | ||
|
||
<TextView | ||
android:id="@+id/tv" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentTop="true" | ||
android:layout_marginTop="14dp" | ||
android:textColor="#ff0000" | ||
android:textSize="20dp" | ||
android:text="TextView" /> | ||
|
||
</RelativeLayout> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.