• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Android Samples


Commit MetaInfo

Revision0cac28c21fc1ca6a5e1b5007ea947230d45b9a39 (tree)
Zeit2014-06-07 01:40:05
AutorMasahiko, SAWAI <say@user...>
CommiterMasahiko, SAWAI

Log Message

Added some examples

* listview-hello
* listview-fast-scroll

Ändern Zusammenfassung

Diff

--- /dev/null
+++ b/listview-fast-scroll/AndroidManifest.xml
@@ -0,0 +1,21 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<manifest
3+ xmlns:android="http://schemas.android.com/apk/res/android"
4+ package="com.example.hello.android.listview_fast_scroll"
5+ android:versionCode="1"
6+ android:versionName="1.0"
7+>
8+ <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="19" />
9+
10+ <application android:label="@string/app_name">
11+ <activity
12+ android:name="MainActivity"
13+ android:label="@string/app_name"
14+ >
15+ <intent-filter>
16+ <action android:name="android.intent.action.MAIN" />
17+ <category android:name="android.intent.category.LAUNCHER" />
18+ </intent-filter>
19+ </activity>
20+ </application>
21+</manifest>
--- /dev/null
+++ b/listview-fast-scroll/Makefile
@@ -0,0 +1,46 @@
1+
2+all : package
3+
4+#################### build
5+
6+compile :
7+ mvn $@
8+
9+gen :
10+ mvn android:generate-sources
11+
12+package :
13+ mvn $@
14+
15+release :
16+ mvn clean -Prelease package
17+
18+install :
19+ mvn $@
20+
21+deploy :
22+ mvn package android:deploy
23+
24+undeploy :
25+ mvn android:undeploy
26+
27+rebuild :
28+ mvn clean package
29+
30+redeploy :
31+ mvn clean package android:deploy
32+
33+#################### emulator
34+
35+start :
36+ mvn android:emulator-start
37+
38+stop :
39+ mvn android:emulator-stop
40+
41+####################
42+dist :
43+ mvn assembly:assembly
44+
45+clean :
46+ mvn $@
--- /dev/null
+++ b/listview-fast-scroll/README.txt
@@ -0,0 +1,22 @@
1+
2+! listview-fast-scroll
3+
4+ListView のスクロール時にハンドルを出して高速でスクロールできるようにする。
5+ListView 要素の android:fastScrollEnabled 属性を true に設定するだけ。
6+
7+
8+!! ビルドターゲット
9+
10+http://maven-android-plugin-m2site.googlecode.com/svn/plugin-info.html
11+
12+* mvn compile - アプリケーションのコンパイル
13+* mvn package - apk の作成
14+* mvn clean - ビルドファイルの削除
15+* mvn install - maven の local リポジトリにインストール
16+
17+* mvn android:deploy - エミュレータやデバイスにインストール
18+* mvn android:generate-sources
19+
20+* mvn install - アプリケーションのインストール
21+* mvn uninstall - アプリケーションのアンインストール
22+
--- /dev/null
+++ b/listview-fast-scroll/pom.xml
@@ -0,0 +1,142 @@
1+<?xml version="1.0" encoding="UTF-8" ?>
2+<project
3+ xmlns="http://maven.apache.org/POM/4.0.0"
4+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6+>
7+ <modelVersion>4.0.0</modelVersion>
8+ <groupId>com.example.hello</groupId>
9+ <artifactId>listview-fast-scroll</artifactId>
10+ <packaging>apk</packaging>
11+ <version>1.0.0</version>
12+ <name>ListView Fast Scroll</name>
13+ <url>http://www.example.com/</url>
14+
15+ <parent>
16+ <groupId>com.example.hello</groupId>
17+ <artifactId>android-samples</artifactId>
18+ <version>1.0.0</version>
19+ </parent>
20+
21+ <dependencies>
22+
23+ <dependency>
24+ <groupId>android</groupId>
25+ <artifactId>android</artifactId>
26+ <version>1.5_r4</version>
27+ <!--
28+ <version>1.5_r3</version>
29+ <version>1.5_r4</version>
30+ <version>1.6_r2</version>
31+ <version>2.1.2</version>
32+ <version>2.1_r1</version>
33+ <version>2.2.1</version>
34+ <version>2.3.1</version>
35+ <version>2.3.3</version>
36+ <version>4.0.1.2</version>
37+ -->
38+ <scope>provided</scope>
39+ </dependency>
40+
41+ <dependency>
42+ <groupId>junit</groupId>
43+ <artifactId>junit</artifactId>
44+ <scope>test</scope>
45+ </dependency>
46+ </dependencies>
47+
48+ <build>
49+ <sourceDirectory>src</sourceDirectory>
50+
51+ <plugins>
52+ <plugin>
53+ <groupId>com.jayway.maven.plugins.android.generation2</groupId>
54+ <artifactId>android-maven-plugin</artifactId>
55+ <configuration>
56+ <sdk>
57+ <!--<path>${env.ANDROID_HOME}</path>-->
58+ <platform>4</platform>
59+ </sdk>
60+ </configuration>
61+ <extensions>true</extensions>
62+ </plugin>
63+
64+ <!-- mvn compile -->
65+ <plugin>
66+ <groupId>org.apache.maven.plugins</groupId>
67+ <artifactId>maven-compiler-plugin</artifactId>
68+ <configuration>
69+ <source>1.5</source>
70+ <target>1.5</target>
71+ <encoding>UTF-8</encoding>
72+ </configuration>
73+ </plugin>
74+
75+ <!-- mvn assembly:assembly -->
76+ <plugin>
77+ <groupId>org.apache.maven.plugins</groupId>
78+ <artifactId>maven-assembly-plugin</artifactId>
79+ <configuration>
80+ <descriptorRefs>
81+ <!--
82+ <descriptorRef>jar-with-dependencies</descriptorRef>
83+ <descriptorRef>bin</descriptorRef>
84+ <descriptorRef>src</descriptorRef>
85+ -->
86+ <descriptorRef>project</descriptorRef>
87+ </descriptorRefs>
88+ </configuration>
89+ </plugin>
90+
91+ <!-- mvn resources:resources -->
92+ <plugin>
93+ <groupId>org.apache.maven.plugins</groupId>
94+ <artifactId>maven-resources-plugin</artifactId>
95+ <configuration>
96+ <encoding>UTF-8</encoding>
97+ </configuration>
98+ </plugin>
99+
100+ <!-- mvn site -->
101+ <plugin>
102+ <groupId>org.apache.maven.plugins</groupId>
103+ <artifactId>maven-site-plugin</artifactId>
104+ <configuration>
105+ <locales>en</locales>
106+ <inputEncoding>UTF-8</inputEncoding>
107+ <outputEncoding>UTF-8</outputEncoding>
108+
109+ <reportPlugins>
110+ <plugin>
111+ <groupId>org.apache.maven.plugins</groupId>
112+ <artifactId>maven-project-info-reports-plugin</artifactId>
113+ </plugin>
114+
115+ <!-- mvn javadoc:javadoc -->
116+ <plugin>
117+ <groupId>org.apache.maven.plugins</groupId>
118+ <artifactId>maven-javadoc-plugin</artifactId>
119+ <configuration>
120+ <charset>utf-8</charset>
121+ </configuration>
122+ </plugin>
123+ </reportPlugins>
124+ </configuration>
125+ </plugin>
126+
127+ </plugins>
128+
129+ <!-- mvn resources:resources -->
130+ <resources>
131+ <resource>
132+ <directory>res</directory>
133+ <filtering>false</filtering>
134+ <includes>
135+ <include>**/*.properties</include>
136+ </includes>
137+ </resource>
138+ </resources>
139+ </build>
140+
141+
142+</project>
--- /dev/null
+++ b/listview-fast-scroll/res/layout/main_activity.xml
@@ -0,0 +1,10 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<ListView
3+ xmlns:android="http://schemas.android.com/apk/res/android"
4+ android:id="@android:id/list"
5+ android:layout_width="fill_parent"
6+ android:layout_height="fill_parent"
7+ android:entries="@array/names"
8+ android:fastScrollEnabled="true"
9+ android:padding="4dip"
10+/>
--- /dev/null
+++ b/listview-fast-scroll/res/values/arrays_names.xml
@@ -0,0 +1,109 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<resources>
3+ <array name="names">
4+ <item>Alice</item>
5+ <item>Bob</item>
6+ <item>Charlie</item>
7+ <item>David</item>
8+ <item>Eve</item>
9+ <item>Frank</item>
10+ <item>George</item>
11+ <item>Harvey</item>
12+ <item>Ivan</item>
13+ <item>Justin</item>
14+ <item>Kyle</item>
15+ <item>Linda</item>
16+ <item>Matilda</item>
17+ <item>Natalia</item>
18+ <item>Oscar</item>
19+ <item>Pat</item>
20+ <item>Quincy</item>
21+ <item>Rachel</item>
22+ <item>Steave</item>
23+ <item>Trent</item>
24+ <item>Urien</item>
25+ <item>Victor</item>
26+ <item>Walter</item>
27+ <item>Xenia</item>
28+ <item>Yuriya</item>
29+ <item>Zoe</item>
30+ <item>Alice</item>
31+ <item>Bob</item>
32+ <item>Charlie</item>
33+ <item>David</item>
34+ <item>Eve</item>
35+ <item>Frank</item>
36+ <item>George</item>
37+ <item>Harvey</item>
38+ <item>Ivan</item>
39+ <item>Justin</item>
40+ <item>Kyle</item>
41+ <item>Linda</item>
42+ <item>Matilda</item>
43+ <item>Natalia</item>
44+ <item>Oscar</item>
45+ <item>Pat</item>
46+ <item>Quincy</item>
47+ <item>Rachel</item>
48+ <item>Steave</item>
49+ <item>Trent</item>
50+ <item>Urien</item>
51+ <item>Victor</item>
52+ <item>Walter</item>
53+ <item>Xenia</item>
54+ <item>Yuriya</item>
55+ <item>Zoe</item>
56+ <item>Alice</item>
57+ <item>Bob</item>
58+ <item>Charlie</item>
59+ <item>David</item>
60+ <item>Eve</item>
61+ <item>Frank</item>
62+ <item>George</item>
63+ <item>Harvey</item>
64+ <item>Ivan</item>
65+ <item>Justin</item>
66+ <item>Kyle</item>
67+ <item>Linda</item>
68+ <item>Matilda</item>
69+ <item>Natalia</item>
70+ <item>Oscar</item>
71+ <item>Pat</item>
72+ <item>Quincy</item>
73+ <item>Rachel</item>
74+ <item>Steave</item>
75+ <item>Trent</item>
76+ <item>Urien</item>
77+ <item>Victor</item>
78+ <item>Walter</item>
79+ <item>Xenia</item>
80+ <item>Yuriya</item>
81+ <item>Zoe</item>
82+ <item>Alice</item>
83+ <item>Bob</item>
84+ <item>Charlie</item>
85+ <item>David</item>
86+ <item>Eve</item>
87+ <item>Frank</item>
88+ <item>George</item>
89+ <item>Harvey</item>
90+ <item>Ivan</item>
91+ <item>Justin</item>
92+ <item>Kyle</item>
93+ <item>Linda</item>
94+ <item>Matilda</item>
95+ <item>Natalia</item>
96+ <item>Oscar</item>
97+ <item>Pat</item>
98+ <item>Quincy</item>
99+ <item>Rachel</item>
100+ <item>Steave</item>
101+ <item>Trent</item>
102+ <item>Urien</item>
103+ <item>Victor</item>
104+ <item>Walter</item>
105+ <item>Xenia</item>
106+ <item>Yuriya</item>
107+ <item>Zoe</item>
108+ </array>
109+</resources>
--- /dev/null
+++ b/listview-fast-scroll/res/values/strings.xml
@@ -0,0 +1,6 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<resources>
3+ <string name="app_name">ListView Fast Scroll</string>
4+ <string name="user_list">User List</string>
5+ <string name="no_data">NO DATA</string>
6+</resources>
--- /dev/null
+++ b/listview-fast-scroll/src/com/example/hello/android/listview_fast_scroll/MainActivity.java
@@ -0,0 +1,38 @@
1+/*
2+ * The MIT License
3+ *
4+ * Copyright 2014 Masahiko, SAWAI <masahiko.sawai@gmail.com>.
5+ *
6+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7+ * of this software and associated documentation files (the "Software"), to deal
8+ * in the Software without restriction, including without limitation the rights
9+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+ * copies of the Software, and to permit persons to whom the Software is
11+ * furnished to do so, subject to the following conditions:
12+ *
13+ * The above copyright notice and this permission notice shall be included in
14+ * all copies or substantial portions of the Software.
15+ *
16+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+ * THE SOFTWARE.
23+ */
24+package com.example.hello.android.listview_fast_scroll;
25+
26+import android.app.Activity;
27+import android.os.Bundle;
28+
29+public class MainActivity extends Activity
30+{
31+ /** Called when the activity is first created. */
32+ @Override
33+ public void onCreate(Bundle savedInstanceState)
34+ {
35+ super.onCreate(savedInstanceState);
36+ setContentView(R.layout.main_activity);
37+ }
38+}
--- /dev/null
+++ b/listview-hello/AndroidManifest.xml
@@ -0,0 +1,21 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<manifest
3+ xmlns:android="http://schemas.android.com/apk/res/android"
4+ package="com.example.hello.android.listview_hello"
5+ android:versionCode="1"
6+ android:versionName="1.0"
7+>
8+ <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="19" />
9+
10+ <application android:label="@string/app_name">
11+ <activity
12+ android:name="MainActivity"
13+ android:label="@string/app_name"
14+ >
15+ <intent-filter>
16+ <action android:name="android.intent.action.MAIN" />
17+ <category android:name="android.intent.category.LAUNCHER" />
18+ </intent-filter>
19+ </activity>
20+ </application>
21+</manifest>
--- /dev/null
+++ b/listview-hello/Makefile
@@ -0,0 +1,46 @@
1+
2+all : package
3+
4+#################### build
5+
6+compile :
7+ mvn $@
8+
9+gen :
10+ mvn android:generate-sources
11+
12+package :
13+ mvn $@
14+
15+release :
16+ mvn clean -Prelease package
17+
18+install :
19+ mvn $@
20+
21+deploy :
22+ mvn package android:deploy
23+
24+undeploy :
25+ mvn android:undeploy
26+
27+rebuild :
28+ mvn clean package
29+
30+redeploy :
31+ mvn clean package android:deploy
32+
33+#################### emulator
34+
35+start :
36+ mvn android:emulator-start
37+
38+stop :
39+ mvn android:emulator-stop
40+
41+####################
42+dist :
43+ mvn assembly:assembly
44+
45+clean :
46+ mvn $@
--- /dev/null
+++ b/listview-hello/README.txt
@@ -0,0 +1,27 @@
1+! listview-hello
2+
3+リソース内の文字列の配列を ListView で表示するサンプル。
4+
5+!! ListView へのデータの設定
6+
7+最も簡単なデータの設定方法は以下の通り。
8+
9+ * 表示したいデータを文字列配列リソースとして定義
10+ * ListView 要素の entries 属性に定義した文字列配列を設定
11+
12+
13+!! ビルドターゲット
14+
15+http://maven-android-plugin-m2site.googlecode.com/svn/plugin-info.html
16+
17+* mvn compile - アプリケーションのコンパイル
18+* mvn package - apk の作成
19+* mvn clean - ビルドファイルの削除
20+* mvn install - maven の local リポジトリにインストール
21+
22+* mvn android:deploy - エミュレータやデバイスにインストール
23+* mvn android:generate-sources
24+
25+* mvn install - アプリケーションのインストール
26+* mvn uninstall - アプリケーションのアンインストール
27+
--- /dev/null
+++ b/listview-hello/pom.xml
@@ -0,0 +1,142 @@
1+<?xml version="1.0" encoding="UTF-8" ?>
2+<project
3+ xmlns="http://maven.apache.org/POM/4.0.0"
4+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6+>
7+ <modelVersion>4.0.0</modelVersion>
8+ <groupId>com.example.hello</groupId>
9+ <artifactId>listview-hello</artifactId>
10+ <packaging>apk</packaging>
11+ <version>1.0.0</version>
12+ <name>ListView Hello</name>
13+ <url>http://www.example.com/</url>
14+
15+ <parent>
16+ <groupId>com.example.hello</groupId>
17+ <artifactId>android-samples</artifactId>
18+ <version>1.0.0</version>
19+ </parent>
20+
21+ <dependencies>
22+
23+ <dependency>
24+ <groupId>android</groupId>
25+ <artifactId>android</artifactId>
26+ <version>1.5_r4</version>
27+ <!--
28+ <version>1.5_r3</version>
29+ <version>1.5_r4</version>
30+ <version>1.6_r2</version>
31+ <version>2.1.2</version>
32+ <version>2.1_r1</version>
33+ <version>2.2.1</version>
34+ <version>2.3.1</version>
35+ <version>2.3.3</version>
36+ <version>4.0.1.2</version>
37+ -->
38+ <scope>provided</scope>
39+ </dependency>
40+
41+ <dependency>
42+ <groupId>junit</groupId>
43+ <artifactId>junit</artifactId>
44+ <scope>test</scope>
45+ </dependency>
46+ </dependencies>
47+
48+ <build>
49+ <sourceDirectory>src</sourceDirectory>
50+
51+ <plugins>
52+ <plugin>
53+ <groupId>com.jayway.maven.plugins.android.generation2</groupId>
54+ <artifactId>android-maven-plugin</artifactId>
55+ <configuration>
56+ <sdk>
57+ <!--<path>${env.ANDROID_HOME}</path>-->
58+ <platform>4</platform>
59+ </sdk>
60+ </configuration>
61+ <extensions>true</extensions>
62+ </plugin>
63+
64+ <!-- mvn compile -->
65+ <plugin>
66+ <groupId>org.apache.maven.plugins</groupId>
67+ <artifactId>maven-compiler-plugin</artifactId>
68+ <configuration>
69+ <source>1.5</source>
70+ <target>1.5</target>
71+ <encoding>UTF-8</encoding>
72+ </configuration>
73+ </plugin>
74+
75+ <!-- mvn assembly:assembly -->
76+ <plugin>
77+ <groupId>org.apache.maven.plugins</groupId>
78+ <artifactId>maven-assembly-plugin</artifactId>
79+ <configuration>
80+ <descriptorRefs>
81+ <!--
82+ <descriptorRef>jar-with-dependencies</descriptorRef>
83+ <descriptorRef>bin</descriptorRef>
84+ <descriptorRef>src</descriptorRef>
85+ -->
86+ <descriptorRef>project</descriptorRef>
87+ </descriptorRefs>
88+ </configuration>
89+ </plugin>
90+
91+ <!-- mvn resources:resources -->
92+ <plugin>
93+ <groupId>org.apache.maven.plugins</groupId>
94+ <artifactId>maven-resources-plugin</artifactId>
95+ <configuration>
96+ <encoding>UTF-8</encoding>
97+ </configuration>
98+ </plugin>
99+
100+ <!-- mvn site -->
101+ <plugin>
102+ <groupId>org.apache.maven.plugins</groupId>
103+ <artifactId>maven-site-plugin</artifactId>
104+ <configuration>
105+ <locales>en</locales>
106+ <inputEncoding>UTF-8</inputEncoding>
107+ <outputEncoding>UTF-8</outputEncoding>
108+
109+ <reportPlugins>
110+ <plugin>
111+ <groupId>org.apache.maven.plugins</groupId>
112+ <artifactId>maven-project-info-reports-plugin</artifactId>
113+ </plugin>
114+
115+ <!-- mvn javadoc:javadoc -->
116+ <plugin>
117+ <groupId>org.apache.maven.plugins</groupId>
118+ <artifactId>maven-javadoc-plugin</artifactId>
119+ <configuration>
120+ <charset>utf-8</charset>
121+ </configuration>
122+ </plugin>
123+ </reportPlugins>
124+ </configuration>
125+ </plugin>
126+
127+ </plugins>
128+
129+ <!-- mvn resources:resources -->
130+ <resources>
131+ <resource>
132+ <directory>res</directory>
133+ <filtering>false</filtering>
134+ <includes>
135+ <include>**/*.properties</include>
136+ </includes>
137+ </resource>
138+ </resources>
139+ </build>
140+
141+
142+</project>
--- /dev/null
+++ b/listview-hello/res/layout/main_activity.xml
@@ -0,0 +1,9 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<ListView
3+ xmlns:android="http://schemas.android.com/apk/res/android"
4+ android:id="@android:id/list"
5+ android:layout_width="fill_parent"
6+ android:layout_height="fill_parent"
7+ android:entries="@array/names"
8+ android:padding="4dip"
9+/>
\ No newline at end of file
--- /dev/null
+++ b/listview-hello/res/values/arrays_names.xml
@@ -0,0 +1,31 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<resources>
3+ <array name="names">
4+ <item>Alice</item>
5+ <item>Bob</item>
6+ <item>Charlie</item>
7+ <item>David</item>
8+ <item>Eve</item>
9+ <item>Frank</item>
10+ <item>George</item>
11+ <item>Harvey</item>
12+ <item>Ivan</item>
13+ <item>Justin</item>
14+ <item>Kyle</item>
15+ <item>Linda</item>
16+ <item>Matilda</item>
17+ <item>Natalia</item>
18+ <item>Oscar</item>
19+ <item>Pat</item>
20+ <item>Quincy</item>
21+ <item>Rachel</item>
22+ <item>Steave</item>
23+ <item>Trent</item>
24+ <item>Urien</item>
25+ <item>Victor</item>
26+ <item>Walter</item>
27+ <item>Xenia</item>
28+ <item>Yuriya</item>
29+ <item>Zoe</item>
30+ </array>
31+</resources>
--- /dev/null
+++ b/listview-hello/res/values/strings.xml
@@ -0,0 +1,4 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<resources>
3+ <string name="app_name">ListView Hello</string>
4+</resources>
--- /dev/null
+++ b/listview-hello/src/com/example/hello/android/listview_hello/MainActivity.java
@@ -0,0 +1,38 @@
1+/*
2+ * The MIT License
3+ *
4+ * Copyright 2014 Masahiko, SAWAI <masahiko.sawai@gmail.com>.
5+ *
6+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7+ * of this software and associated documentation files (the "Software"), to deal
8+ * in the Software without restriction, including without limitation the rights
9+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+ * copies of the Software, and to permit persons to whom the Software is
11+ * furnished to do so, subject to the following conditions:
12+ *
13+ * The above copyright notice and this permission notice shall be included in
14+ * all copies or substantial portions of the Software.
15+ *
16+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+ * THE SOFTWARE.
23+ */
24+package com.example.hello.android.listview_hello;
25+
26+import android.app.Activity;
27+import android.os.Bundle;
28+
29+public class MainActivity extends Activity
30+{
31+
32+ @Override
33+ protected void onCreate(Bundle savedInstanceState)
34+ {
35+ super.onCreate(savedInstanceState);
36+ setContentView(R.layout.main_activity);
37+ }
38+}
--- a/pom.xml
+++ b/pom.xml
@@ -74,12 +74,12 @@
7474 <module>imageview-zoom</module>
7575 <module>intent-service-hello</module>
7676
77-
7877 <module>layer-system-overlay</module>
7978 <module>layout-framelayout-hello</module>
8079 <module>layout-tablelayout-hello</module>
8180 <module>layout-tablelayout-stripe-style</module>
8281 <module>listview-hello</module>
82+ <module>listview-fast-scroll</module>
8383
8484 <module>markdown-viewer</module>
8585