Skip to content

Commit

Permalink
hzuapps#4 hzuapps#1161 第四次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaojiahao committed May 12, 2018
1 parent 67ecad2 commit 9f5a76e
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
Binary file added soft1614080902319/sy4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions soft1614080902319/实验2/res/layout/activity_2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,83 @@
android:layout_height="match_parent"
tools:context=".Activity_2">

<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="368dp"
android:layout_height="268dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="66dp"
android:text="A n.协定;协议;契约;达成协议;同意,一致" />

<Button
android:id="@+id/button2"
android:layout_width="match_parent"
android:layout_height="66dp"
android:text="B n.家庭,家族,王室;adj.家庭的,家族的,家属的" />

<Button
android:id="@+id/button4"
android:layout_width="match_parent"
android:layout_height="66dp"
android:text="C vt.幸免于;从…中生还;vi.幸存" />

<Button
android:id="@+id/button3"
android:layout_width="match_parent"
android:layout_height="66dp"
android:text="D adj.紧张的,拉紧的;vt.(使)紧张,(使)拉紧;vi.拉紧,变得紧张;n.[语法]时态" />

</LinearLayout>

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:gravity="center_horizontal"
android:text="agreement"
android:textColor="#ff5e8e"
android:textSize="33dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.502"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.095" />

<Button
android:id="@+id/next1"
android:layout_width="88dp"
android:layout_height="48dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="next"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.939" />
</android.support.constraint.ConstraintLayout>
12 changes: 12 additions & 0 deletions soft1614080902319/实验2/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="android:textAllCaps">false</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>

</resources>

0 comments on commit 9f5a76e

Please sign in to comment.