[BluetoothChat]update BluetoothChat(tizen_2.1)
authorji.ji <ji.ji@samsung.com>
Mon, 29 Apr 2013 02:14:42 +0000 (11:14 +0900)
committerji.ji <ji.ji@samsung.com>
Mon, 29 Apr 2013 03:27:42 +0000 (12:27 +0900)
Change-Id: I8f78bb36d740a0fbda50e591367e4318e426ba82

config.xml
js/app.js

index 880da2c..7d9c432 100644 (file)
@@ -14,6 +14,6 @@
        <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
        <tizen:privilege name="http://tizen.org/privilege/tizen" />
        <tizen:setting screen-orientation="portrait"
-               context-menu="disable" background-support="enable" encryption="disable"
+               context-menu="disable" background-support="disable" encryption="disable"
                install-location="auto" />
 </widget>
index 114c13d..e2ee7c2 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -77,6 +77,9 @@ var App = null;
                 * Initialisation function
                 */
                init: function App_init() {
+                       var contentHeight = screen.availHeight - $('div[data-role="header"]').outerHeight() - $('div[data-role="footer"]').outerHeight();
+                       $('div[data-role="content"]').css('height',contentHeight);
+
                        this.config = new Config();
                        this.helpers = new Helpers();
                        this.model = new Model();