2017-04-20 18:23:59 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-04-23 07:42:09 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-04-20 18:23:59 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#ddd"
|
2017-04-21 14:45:40 +02:00
|
|
|
android:orientation="vertical"
|
2017-04-23 07:42:09 +02:00
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:paddingTop="6dp"
|
|
|
|
android:paddingBottom="6dp"
|
2017-04-20 18:23:59 +02:00
|
|
|
>
|
|
|
|
|
2017-04-23 07:42:09 +02:00
|
|
|
<LinearLayout
|
2017-04-21 14:45:40 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-04-20 18:23:59 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-23 07:42:09 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvColumnContext"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textColor="#888"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="tvColumnContext"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvColumnIndex"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textColor="#888"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="col 6/12"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2017-04-20 18:23:59 +02:00
|
|
|
|
2017-04-21 14:45:40 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-04-23 07:42:09 +02:00
|
|
|
android:layout_marginTop="6dp"
|
2017-04-21 14:45:40 +02:00
|
|
|
android:orientation="horizontal"
|
2017-04-23 07:42:09 +02:00
|
|
|
android:gravity="center_vertical"
|
2017-04-21 14:45:40 +02:00
|
|
|
>
|
2017-04-20 18:23:59 +02:00
|
|
|
|
2017-04-21 14:45:40 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvColumnName"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
tools:text="tvColumnName"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/btnColumnReload"
|
2017-04-22 16:45:26 +02:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2017-04-21 14:45:40 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginStart="8dp"
|
2017-04-22 16:45:26 +02:00
|
|
|
android:background="@drawable/btn_bg_transparent"
|
2017-04-21 14:45:40 +02:00
|
|
|
android:contentDescription="@string/reload"
|
|
|
|
android:src="@drawable/btn_refresh"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/btnColumnClose"
|
2017-04-22 16:45:26 +02:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2017-04-21 14:45:40 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginStart="8dp"
|
2017-04-22 16:45:26 +02:00
|
|
|
android:background="@drawable/btn_bg_transparent"
|
2017-04-21 14:45:40 +02:00
|
|
|
android:contentDescription="@string/close_column"
|
|
|
|
android:src="@drawable/black_close"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2017-04-23 07:42:09 +02:00
|
|
|
|
|
|
|
|
2017-04-20 18:23:59 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvLoading"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
|
|
|
/>
|
|
|
|
|
2017-04-23 07:42:09 +02:00
|
|
|
<com.omadahealth.github.swipyrefreshlayout.library.SwipyRefreshLayout
|
|
|
|
android:id="@+id/swipyRefreshLayout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:srl_direction="both">
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/listView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:fadeScrollbars="false"
|
|
|
|
android:paddingBottom="64dp"
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
2017-04-23 18:19:39 +02:00
|
|
|
android:fastScrollEnabled="true"
|
2017-04-23 07:42:09 +02:00
|
|
|
/>
|
|
|
|
|
|
|
|
</com.omadahealth.github.swipyrefreshlayout.library.SwipyRefreshLayout>
|
|
|
|
|
2017-04-20 18:23:59 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|