replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / service / notification / examples / android / NotiProviderExample / app / src / main / res / layout / activity_main.xml
old mode 100644 (file)
new mode 100755 (executable)
index d109ae4..036ab7f
@@ -7,8 +7,12 @@
     android:paddingLeft="@dimen/activity_horizontal_margin"\r
     android:paddingRight="@dimen/activity_horizontal_margin"\r
     android:paddingTop="@dimen/activity_vertical_margin"\r
-    tools:context="com.sec.notificationexample.MainActivity">\r
+    tools:context=".MainActivity">\r
 \r
+    <ScrollView\r
+        android:layout_width="match_parent"\r
+        android:layout_height="wrap_content"\r
+        android:fillViewport="true">\r
     <LinearLayout\r
         android:layout_width="match_parent"\r
         android:layout_height="wrap_content"\r
 \r
             </RadioGroup>\r
         </LinearLayout>\r
+        <LinearLayout\r
+            android:layout_width="match_parent"\r
+            android:layout_height="wrap_content"\r
+            android:paddingLeft="5dp"\r
+            android:paddingRight="5dp"\r
+            android:orientation="horizontal"\r
+            android:weightSum="1">\r
+\r
+            <Button\r
+                android:layout_height="wrap_content"\r
+                android:layout_width="100dp"\r
+                android:id="@+id/signup"\r
+                android:text="Sign Up"/>\r
+\r
+            <Button\r
+                android:layout_height="wrap_content"\r
+                android:layout_width="100dp"\r
+                android:id="@+id/signin"\r
+                android:text="Sign In" />\r
+            <Button\r
+                android:layout_height="wrap_content"\r
+                android:layout_width="100dp"\r
+                android:id="@+id/signout"\r
+                android:text="Sign Out" />\r
+        </LinearLayout>\r
+        <LinearLayout\r
+            android:layout_width="match_parent"\r
+            android:layout_height="wrap_content"\r
+            android:paddingLeft="5dp"\r
+            android:paddingRight="5dp"\r
+            android:orientation="horizontal"\r
+            android:weightSum="1">\r
 \r
+            <Button\r
+                android:layout_height="wrap_content"\r
+                android:layout_width="150dp"\r
+                android:id="@+id/remoteService"\r
+                android:text="Enable Remote Service"/>\r
+\r
+            <Button\r
+                android:layout_height="wrap_content"\r
+                android:layout_width="150dp"\r
+                android:id="@+id/subscribeMQService"\r
+                android:text="Subscribe MQ Service" />\r
+        </LinearLayout>\r
         <LinearLayout\r
             android:layout_width="match_parent"\r
             android:layout_height="wrap_content"\r
         </ScrollView>\r
 \r
     </LinearLayout>\r
-\r
+    </ScrollView>\r
 </RelativeLayout>\r