Blame view

C5/testproject/src/main/res/layout/activity_main2.xml 830 Bytes
fac86401   孙向锦   初始化C5 Vote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?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">
  
      <ScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent">
  
          <TextView
              android:id="@+id/display"
              android:layout_width="match_parent"
              android:layout_height="match_parent" />
  
      </ScrollView>
  
      <Button
          android:id="@+id/clean"
          android:layout_width="100dp"
          android:layout_height="50dp"
          android:layout_alignParentBottom="true"
          android:layout_alignParentRight="true"
          android:layout_marginBottom="20dp"
          android:layout_marginRight="10dp"
          android:text="清除" />
  
  </RelativeLayout>