Browse Source

fixed child divider color in recordsoverview

Julien Clauter 10 years ago
parent
commit
26e5782029

+ 1 - 1
res/layout/expandable_section_header.xml

@@ -5,7 +5,7 @@
     android:layout_height="wrap_content"
     android:orientation="vertical"
     android:padding="8dp"
-    android:background="#d9d9d9">
+    android:background="#ffffff">
 
 
     <TextView

+ 6 - 3
res/layout/fragment_record_list.xml

@@ -2,6 +2,7 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:background="@android:color/transparent"
     >
 
             <ExpandableListView
@@ -14,11 +15,13 @@
                 android:layout_alignParentTop="true"
                 android:layout_marginLeft="0dp"
                 android:layout_marginTop="0dp"
-                android:background="#F2F2F2"
+                android:background="@android:color/transparent"
                 android:choiceMode="singleChoice"
                 android:divider="@android:color/transparent"
-                android:dividerHeight="10dp"
-                android:padding="5dp" >
+                android:dividerHeight="5dp"
+                android:padding="5dp"
+                android:headerDividersEnabled="false"
+                android:childDivider="@android:color/transparent">
 
     </ExpandableListView>
 

+ 1 - 1
res/layout/record_list_item.xml

@@ -2,7 +2,7 @@
 
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
-    android:layout_height="wrap_content"
+    android:layout_height="match_parent"
     android:padding="5dp"
     android:baselineAligned="false"
     android:background="@drawable/panel_bg">