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

262 lines
9.1 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:app="http://schemas.android.com/apk/res-auto"
2017-04-20 18:23:59 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/llColumnHeader"
2017-04-20 18:23:59 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/btn_bg_ddd"
android:orientation="vertical"
android:paddingBottom="3dp"
2017-04-23 07:42:09 +02:00
android:paddingEnd="12dp"
android:paddingStart="12dp"
android:paddingTop="3dp"
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"
2017-04-27 11:15:14 +02:00
android:textColor="?attr/colorColumnHeaderAcct"
2017-04-23 07:42:09 +02:00
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"
2017-04-27 11:15:14 +02:00
android:textColor="?attr/colorColumnHeaderPageNumber"
2017-04-23 07:42:09 +02:00
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"
2017-04-23 07:42:09 +02:00
android:gravity="center_vertical"
android:orientation="horizontal"
>
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"
2017-04-27 11:15:14 +02:00
android:src="?attr/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"
2017-04-27 11:15:14 +02:00
android:src="?attr/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"
2017-04-27 11:15:14 +02:00
android:src="?attr/btn_close"
/>
</LinearLayout>
2017-04-23 07:42:09 +02:00
2017-04-20 18:23:59 +02:00
</LinearLayout>
<LinearLayout
android:id="@+id/llColumnSetting"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorColumnSettingBackground"
android:orientation="vertical"
android:paddingBottom="3dp"
android:paddingEnd="12dp"
android:paddingStart="12dp"
android:paddingTop="3dp"
>
<CheckBox
android:id="@+id/cbDontCloseColumn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/dont_close_column"
/>
<CheckBox
android:id="@+id/cbWithAttachment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/with_attachment"
/>
2017-04-27 06:56:04 +02:00
<CheckBox
android:id="@+id/cbDontShowBoost"
2017-04-27 06:56:04 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/dont_show_boost"
/>
<CheckBox
android:id="@+id/cbDontShowReply"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/dont_show_reply"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/llRegexFilter"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:labelFor="@+id/etRegexFilter"
android:text="@string/regex_filter"
android:textColor="?attr/colorColumnHeaderPageNumber"
/>
<TextView
android:id="@+id/tvRegexFilterError"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_weight="1"
android:textColor="?attr/colorRegexFilterError"
/>
</LinearLayout>
<EditText
android:id="@+id/etRegexFilter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:scrollHorizontally="true"
android:inputType="text"
/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/notification_delete"
android:id="@+id/btnDeleteNotification"
android:textAllCaps="false"
2017-04-27 06:56:04 +02:00
/>
</LinearLayout>
<RelativeLayout
android:id="@+id/llSearch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorSearchFormBackground"
android:paddingBottom="3dp"
android:paddingEnd="12dp"
android:paddingStart="12dp"
android:paddingTop="3dp"
>
<ImageButton
android:id="@+id/btnSearch"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:background="@drawable/btn_bg_transparent"
android:contentDescription="@string/search"
android:src="?attr/ic_search"
/>
<EditText
android:id="@+id/etSearch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toStartOf="@id/btnSearch"
android:imeOptions="actionSearch"
android:inputType="text"
2017-04-27 11:15:14 +02:00
tools:ignore="LabelFor"/>
<CheckBox
android:id="@+id/cbResolve"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/etSearch"
android:text="@string/resolve_non_local_account"
/>
</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:fastScrollEnabled="true"
2017-04-23 07:42:09 +02:00
android:paddingBottom="64dp"
android:paddingEnd="12dp"
android:paddingStart="12dp"
android:scrollbarStyle="outsideOverlay"
/>
</com.omadahealth.github.swipyrefreshlayout.library.SwipyRefreshLayout>
2017-04-20 18:23:59 +02:00
</LinearLayout>