]> www.average.org Git - WhereAmI.git/blobdiff - res/layout/main.xml
tweak layout
[WhereAmI.git] / res / layout / main.xml
index f78b7468230d8ae869fc984ebc60ad6f8ed29b11..2a604b3760cc7dcc08d796547eb7c22563091bb7 100644 (file)
@@ -8,8 +8,8 @@
   <LinearLayout
     android:orientation="horizontal"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:layout_weight="1"
+    android:layout_height="0px"
+    android:layout_weight="2"
   >
     <TextView
       android:id="@+id/time"
@@ -27,7 +27,7 @@
     />
     <TextView
       android:id="@+id/date"
-      android:layout_width="wrap_content
+      android:layout_width="0px
       android:layout_height="match_parent" 
       android:layout_weight="5"
       android:gravity="center"
@@ -43,9 +43,9 @@
   <TextView
     android:id="@+id/location"
     android:layout_width="match_parent" 
-    android:layout_height="match_parent
+    android:layout_height="0px
     android:gravity="center"
-    android:layout_weight="1"
+    android:layout_weight="3"
     android:textColor="#ff000000"
     android:textSize="24sp"
     android:text="location"
@@ -58,9 +58,9 @@
   <TextView
     android:id="@+id/phonecall"
     android:layout_width="match_parent" 
-    android:layout_height="match_parent
+    android:layout_height="0px
     android:gravity="center"
-    android:layout_weight="1"
+    android:layout_weight="3"
     android:textColor="#ff000000"
     android:textSize="24sp"
     android:text="phonecall"
   <TextView
     android:id="@+id/timestamp"
     android:layout_width="match_parent" 
-    android:layout_height="match_parent
+    android:layout_height="0px
     android:gravity="center"
     android:layout_weight="1"
     android:textColor="#ff000000"
-    android:textSize="24sp"
-    android:text="timestamp"
+    android:textSize="18sp"
+    android:text="@string/lasttry"
   />
 </LinearLayout>