Split the project into a library and sample app

This commit is contained in:
Alexandros Schillings
2014-03-11 17:08:17 +00:00
parent cad6427b49
commit cb6e9db082
59 changed files with 200 additions and 38 deletions
+7
View File
@@ -0,0 +1,7 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Bluetooth LE Scanner</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="off">Off</string>
<string name="on">On</string>
<string name="not_supported">Not supported</string>
<string name="supported">Supported</string>
<string name="no_data">No data</string>
<string name="unknown_device">Unknown Device</string>
<!-- Menu items -->
<string name="menu_connect">Connect</string>
<string name="menu_disconnect">Disconnect</string>
<string name="menu_scan">Scan</string>
<string name="menu_stop">Stop</string>
</resources>
+20
View File
@@ -0,0 +1,20 @@
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>