OSDN Git Service

Format
authoreagletmt <eagletmt@gmail.com>
Mon, 12 Nov 2012 12:06:42 +0000 (21:06 +0900)
committereagletmt <eagletmt@gmail.com>
Mon, 12 Nov 2012 12:06:42 +0000 (21:06 +0900)
CUTEn/res/layout/lecture.xml

index bd4f95d..f906874 100644 (file)
@@ -1,45 +1,50 @@
 <?xml version="1.0" encoding="utf-8"?>
 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:stretchColumns="*" >
+
+    <TableRow
+        android:id="@+id/tableRowLecture1"
         android:layout_width="match_parent"
-        android:layout_height="match_parent"
-            android:stretchColumns="*" >
+        android:layout_height="wrap_content" >
 
-        <TableRow
-            android:id="@+id/tableRowLecture1"
-            android:layout_width="match_parent"
+        <LinearLayout
+            android:layout_width="wrap_content"
             android:layout_height="wrap_content" >
 
-            <LinearLayout
+            <ImageView
+                android:id="@+id/imageButtonLecture"
                 android:layout_width="wrap_content"
-                android:layout_height="wrap_content" >
-
-                <ImageView
-                    android:id="@+id/imageButtonLecture"
-                    android:layout_width="wrap_content"
-                    android:layout_height="150dp"
-                    android:src="@android:drawable/btn_star" />
-                <Button
-                    android:id="@+id/buttonLecture"
-                    android:layout_width="match_parent"
-                    android:layout_height="150dp" />
-            </LinearLayout>
-        </TableRow>
-        <TableRow
-            android:id="@+id/tableRowLecture2"
+                android:layout_height="150dp"
+                android:src="@android:drawable/btn_star" />
+
+            <Button
+                android:id="@+id/buttonLecture"
+                android:layout_width="match_parent"
+                android:layout_height="150dp" />
+        </LinearLayout>
+    </TableRow>
+
+    <TableRow
+        android:id="@+id/tableRowLecture2"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent" >
+
+        <ScrollView
+            android:id="@+id/scrollViewLecture"
             android:layout_width="match_parent"
             android:layout_height="match_parent" >
-            <ScrollView
-                android:id="@+id/scrollViewLecture"
+
+            <LinearLayout
+                android:id="@+id/linearViewLecture"
                 android:layout_width="match_parent"
-                android:layout_height="match_parent" >
-                <LinearLayout
-                    android:id="@+id/linearViewLecture"
-                       android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
-                    android:orientation="vertical" >
-                  <!-- スクロール中に最初から表示したいものを書く -->
+                android:layout_height="wrap_content"
+                android:orientation="vertical" >
+
+                <!-- スクロール中に最初から表示したいものを書く -->
             </LinearLayout>
-                
-            </ScrollView>
-        </TableRow>
+        </ScrollView>
+    </TableRow>
+
 </TableLayout>
\ No newline at end of file