You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/res/layout/list_habits.xml

61 lines
2.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:dslv="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff" >
<com.mobeta.android.dslv.DragSortListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@color/windowBackground"
android:dividerHeight="1dp"
dslv:drag_enabled="true"
dslv:drag_handle_id="@drawable/habits_header_check"
dslv:drag_start_mode="onMove"
dslv:float_alpha="0.5"
dslv:sort_enabled="true"
dslv:track_drag_sort="false"
dslv:use_default_controller="true"
android:paddingTop="42dp"
android:background="@color/windowBackground"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="#f0f0f0"
android:elevation="2dp"
android:paddingRight="4dp" >
<TextView
android:id="@+id/tvStarHeader"
android:layout_width="36dp"
android:layout_height="42dp"
android:layout_marginTop="0dp"
android:gravity="center"
android:paddingTop="1dp" />
<TextView
android:id="@+id/tvNameHeader"
android:layout_width="0dp"
android:layout_height="42dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingBottom="6dp"
android:paddingLeft="0dp"
android:paddingRight="6dp"
android:paddingTop="6dp"
android:text="" />
<LinearLayout
android:id="@+id/llButtonsHeader"
android:layout_width="wrap_content"
android:layout_height="42dp"
android:orientation="horizontal" >
</LinearLayout>
</LinearLayout>
</RelativeLayout>