SubwayTooter-Android-App/app/src/main/res/layout/page_column.xml

194 lines
6.8 KiB
XML
Raw Normal View History

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:orientation="vertical"
2017-04-23 07:42:09 +02:00
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:paddingTop="3dp"
android:paddingBottom="3dp"
android:id="@+id/llColumnHeader"
android:background="@drawable/btn_bg_ddd"
2017-04-20 18:23:59 +02:00
>
2017-04-23 07:42:09 +02:00
<LinearLayout
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
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="0dp"
android:orientation="horizontal"
2017-04-23 07:42:09 +02:00
android:gravity="center_vertical"
>
2017-04-20 18:23:59 +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/btnColumnSetting"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="2dp"
android:background="@drawable/btn_bg_transparent"
android:contentDescription="@string/setting"
android:src="@drawable/ic_tune"
/>
<ImageButton
android:id="@+id/btnColumnReload"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="2dp"
android:background="@drawable/btn_bg_transparent"
android:contentDescription="@string/reload"
android:src="@drawable/btn_refresh"
/>
<ImageButton
android:id="@+id/btnColumnClose"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="2dp"
android:background="@drawable/btn_bg_transparent"
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>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:paddingTop="3dp"
android:paddingBottom="3dp"
android:background="#ccc"
android:id="@+id/llColumnSetting"
>
<CheckBox
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/with_attachment"
android:id="@+id/cbWithAttachment"
/>
2017-04-20 18:23:59 +02:00
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:paddingTop="3dp"
android:paddingBottom="3dp"
android:background="#bee6ff"
android:id="@+id/llSearch"
>
<ImageButton
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/btn_bg_transparent"
android:src="@drawable/ic_search"
android:contentDescription="@string/search"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:id="@+id/btnSearch"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toStartOf="@id/btnSearch"
android:inputType="text"
android:id="@+id/etSearch"
android:imeOptions="actionSearch"
/>
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/etSearch"
android:text="@string/resolve_non_local_account"
android:id="@+id/cbResolve"
/>
</RelativeLayout>
2017-04-20 18:23:59 +02:00
<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"
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>