初次提交
This commit is contained in:
BIN
第18章 传感器应用的开发/Sample18_4/res/drawable-hdpi/icon.png
Normal file
BIN
第18章 传感器应用的开发/Sample18_4/res/drawable-hdpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
BIN
第18章 传感器应用的开发/Sample18_4/res/drawable-ldpi/icon.png
Normal file
BIN
第18章 传感器应用的开发/Sample18_4/res/drawable-ldpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
第18章 传感器应用的开发/Sample18_4/res/drawable-mdpi/icon.png
Normal file
BIN
第18章 传感器应用的开发/Sample18_4/res/drawable-mdpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
26
第18章 传感器应用的开发/Sample18_4/res/layout/main.xml
Normal file
26
第18章 传感器应用的开发/Sample18_4/res/layout/main.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
>
|
||||
<TextView
|
||||
android:text="温度传感器"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="22dip"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/temperature"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="22dip"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/info"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18dip"/>
|
||||
|
||||
</LinearLayout>
|
||||
5
第18章 传感器应用的开发/Sample18_4/res/values/strings.xml
Normal file
5
第18章 传感器应用的开发/Sample18_4/res/values/strings.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="hello">Hello World, MyActivity!</string>
|
||||
<string name="app_name">Sample18_4</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user