Blame view

C5/txpad/src/main/res/layout/student.xml 1.46 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content">
  
      <LinearLayout
          android:id="@+id/student_item"
          android:layout_width="150dp"
          android:layout_height="wrap_content"
          android:background="@drawable/input_background"
          android:orientation="vertical">
  
          <TextView
              android:id="@+id/student_name"
              android:layout_width="150dp"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:gravity="center"
              android:text="刘伟"
              android:textSize="@dimen/big_text_p4" />
  
          <TextView
              android:id="@+id/student_present"
              android:layout_width="150dp"
              android:layout_height="wrap_content"
              android:layout_below="@id/student_name"
              android:layout_gravity="center"
              android:gravity="center"
              android:text=""
              android:textSize="@dimen/big_text_p5"
              android:visibility="invisible" />
      </LinearLayout>
  
      <ImageView
          android:id="@+id/delete_student"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_marginLeft="140dp"
          android:background="@drawable/delete_student"
          />
  </RelativeLayout>