OSDN Git Service

Eleven: Cleanup all the whitespace
[android-x86/packages-apps-Eleven.git] / res / layout / list_base.xml
index 76e7467..42b85a4 100644 (file)
@@ -1,13 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
   Copyright (C) 2012 Andrew Neal
+  Copyright (C) 2014 The CyanogenMod Project
+
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
+
        http://www.apache.org/licenses/LICENSE-2.0
+
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/list_base_container"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:paddingTop="@dimen/list_preferred_item_padding"
-    android:paddingLeft="@dimen/list_preferred_item_padding"
-    android:paddingRight="@dimen/list_preferred_item_padding">
+    android:layout_height="match_parent">
 
-    <TextView
-        android:id="@+id/empty"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_gravity="center_vertical|center"
-        android:padding="@dimen/list_preferred_item_padding"
-        android:textColor="@color/holo_blue_light"
-        android:textSize="@dimen/text_size_large"
-        android:textStyle="bold"
-        android:visibility="gone" />
+    <include
+        layout="@layout/loading_empty_container" />
 
-    <com.cyngn.eleven.dragdrop.DragSortListView
+    <com.cyanogenmod.eleven.dragdrop.DragSortListView
         android:id="@+id/list_base"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:cacheColorHint="@color/transparent"
         android:drawSelectorOnTop="false"
+        android:divider="@null"
+        android:dividerHeight="0dp"
         android:fadingEdge="vertical"
         android:fastScrollEnabled="true" />
-
-</FrameLayout>
\ No newline at end of file
+</FrameLayout>