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

68 lines
2.2 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"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="12dp"
android:background="#ddd"
>
<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"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:contentDescription="@string/reload"
android:src="@drawable/btn_refresh"
android:layout_gravity="center_vertical"
/>
<ImageButton
android:id="@+id/btnColumnClose"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:contentDescription="@string/close_column"
android:src="@drawable/black_close"
android:layout_gravity="center_vertical"
/>
</LinearLayout>
<TextView
android:id="@+id/tvLoading"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center"
/>
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:paddingBottom="64dp"
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay"
android:fadeScrollbars="false"
/>
</LinearLayout>