Blame view

app/src/main/res/layout/activity_main.xml 1.25 KB
e12cc46b8   junsang   basic android app
1
  <?xml version="1.0" encoding="utf-8"?>
a7ab6b18f   junsang   UI modified, read...
2
3
4
5
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
      android:layout_height="match_parent"
e12cc46b8   junsang   basic android app
6
      tools:context=".MainActivity">
a7ab6b18f   junsang   UI modified, read...
7
8
9
10
      <ScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical">
e12cc46b8   junsang   basic android app
11

6d661f0e7   junsang   print pm 2.5 in s...
12
          <RelativeLayout
a7ab6b18f   junsang   UI modified, read...
13
14
15
              android:orientation="horizontal"
              android:layout_width="match_parent"
              android:layout_height="match_parent">
e12cc46b8   junsang   basic android app
16

a7ab6b18f   junsang   UI modified, read...
17
              <ImageView
153d373d0   junsang   can print nearest...
18
                  android:layout_marginTop="250dp"
a7ab6b18f   junsang   UI modified, read...
19
20
21
                  android:layout_height="160dp"
                  android:layout_width="160dp"
                  android:background="@drawable/image1"/>
e12cc46b8   junsang   basic android app
22

a7ab6b18f   junsang   UI modified, read...
23
24
25
26
27
28
29
30
              <TextView
                  android:id="@+id/pm_tv"
                  android:layout_gravity="right"
                  android:gravity="right"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@drawable/chat"
                  android:textSize="20sp" />
e12cc46b8   junsang   basic android app
31

6d661f0e7   junsang   print pm 2.5 in s...
32
          </RelativeLayout>
a7ab6b18f   junsang   UI modified, read...
33
34
35
36
37
  
      </ScrollView>
  
  
  </LinearLayout>