mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 20:32:08 +01:00
94 lines
No EOL
4.1 KiB
XML
94 lines
No EOL
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
tools:context=".activity.PodSelectionActivity">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
tools:showIn="@layout/podselection__activity">
|
|
|
|
<ListView
|
|
android:id="@+id/podselection__listpods"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/podselection__podupti_notice"
|
|
android:layout_below="@+id/podselection__edit_filter"
|
|
android:choiceMode="singleChoice" />
|
|
|
|
<EditText
|
|
android:id="@+id/podselection__edit_filter"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_toEndOf="@+id/textView"
|
|
android:layout_toLeftOf="@+id/podselection__button_select_pod"
|
|
android:layout_toStartOf="@+id/podselection__button_select_pod"
|
|
android:layout_toRightOf="@+id/textView"
|
|
android:hint="@string/filter_hint"
|
|
android:inputType="textUri|textWebEditText" />
|
|
|
|
<ImageView
|
|
android:id="@+id/podselection__button_select_pod"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/podselection__listpods"
|
|
android:layout_alignEnd="@+id/podselection__listpods"
|
|
android:layout_alignRight="@+id/podselection__listpods"
|
|
android:layout_alignTop="@+id/podselection__edit_filter"
|
|
android:contentDescription="@string/confirm_url"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"
|
|
android:src="@drawable/ic_arrow_forward_black_48px" />
|
|
|
|
<TextView
|
|
android:id="@+id/podselection__podupti_notice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:autoLink="web"
|
|
android:text="@string/podlist_source_note"
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/podselection__listpods"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_marginRight="0dp"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/prefix_https"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |