添加类库项目模板libdebugtemp。
This commit is contained in:
13
libdebugtemp/src/main/AndroidManifest.xml
Normal file
13
libdebugtemp/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="cc.winboll.studio" >
|
||||
|
||||
<application>
|
||||
<activity
|
||||
android:name=".LibraryActivity"
|
||||
android:label="@string/lib_name" >
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package cc.winboll.studio;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
|
||||
public class LibraryActivity extends Activity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.library);
|
||||
}
|
||||
}
|
||||
BIN
libdebugtemp/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
BIN
libdebugtemp/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
libdebugtemp/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
libdebugtemp/src/main/res/drawable-xxhdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
11
libdebugtemp/src/main/res/layout/library.xml
Normal file
11
libdebugtemp/src/main/res/layout/library.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:text="@string/text_libraryactivity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
5
libdebugtemp/src/main/res/values-v21/styles.xml
Normal file
5
libdebugtemp/src/main/res/values-v21/styles.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AppTheme" parent="@android:style/Theme.Material.Light">
|
||||
</style>
|
||||
</resources>
|
||||
8
libdebugtemp/src/main/res/values/strings.xml
Normal file
8
libdebugtemp/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="lib_name">libdebugtemp</string>
|
||||
<string name="hello_world">Hello world!</string>
|
||||
<string name="text_libraryactivity">LibraryActivity</string>
|
||||
|
||||
</resources>
|
||||
5
libdebugtemp/src/main/res/values/styles.xml
Normal file
5
libdebugtemp/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AppTheme" parent="@android:style/Theme.Holo.Light">
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user