Your Name 6 anni fa
parent
commit
8ddbe046e8
1 ha cambiato i file con 12 aggiunte e 11 eliminazioni
  1. 12 11
      app/src/main/res/layout/activity_bill.xml

+ 12 - 11
app/src/main/res/layout/activity_bill.xml

@@ -25,11 +25,13 @@
25 25
         android:layout_marginTop="@dimen/len_8"
26 26
         android:layout_width="match_parent"
27 27
         android:orientation="horizontal"
28
-        android:layout_marginStart="@dimen/len_48"
29
-        android:layout_marginEnd="@dimen/len_48"
30 28
         android:paddingBottom="@dimen/len_16"
31 29
         android:layout_height="wrap_content">
32
-
30
+        <LinearLayout
31
+            android:layout_width="0dp"
32
+            android:layout_weight="1"
33
+            android:gravity="center"
34
+            android:layout_height="wrap_content">
33 35
         <TextView
34 36
         android:layout_width="wrap_content"
35 37
         android:textSize="@dimen/font_12"
@@ -45,20 +47,18 @@
45 47
             android:maxLines="1"
46 48
             android:text="5000.00"
47 49
             />
48
-        <Space
49
-            android:layout_width="0dp"
50
-            android:layout_height="wrap_content"
51
-            android:layout_weight="1"/>
50
+        </LinearLayout>
52 51
         <View
53 52
             android:layout_width="1px"
54 53
             android:layout_height="match_parent"
55 54
             android:background="@color/first_text"
56 55
             android:layout_gravity="center"
57 56
             />
58
-        <Space
59
-            android:layout_width="0dp"
60
-            android:layout_height="wrap_content"
61
-            android:layout_weight="1"/>
57
+     <LinearLayout
58
+         android:layout_width="0dp"
59
+         android:layout_weight="1"
60
+         android:gravity="center"
61
+         android:layout_height="wrap_content">
62 62
         <TextView
63 63
             android:layout_width="wrap_content"
64 64
             android:layout_height="wrap_content"
@@ -74,6 +74,7 @@
74 74
             android:layout_height="wrap_content"
75 75
             android:text="7710.00"
76 76
             />
77
+     </LinearLayout>
77 78
     </LinearLayout>
78 79
     <include layout="@layout/item_billl_layout"></include>
79 80
 <android.support.v7.widget.RecyclerView