158 lines
6.3 KiB
XML
158 lines
6.3 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fitsSystemWindows="true"
|
|
android:elevation="0dp">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?attr/actionBarSize"
|
|
app:title="@string/add_feed_label"
|
|
app:navigationContentDescription="@string/toolbar_back_button_content_description"
|
|
app:navigationIcon="?homeAsUpIndicator" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="4dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/searchButton"
|
|
android:layout_width="40dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:contentDescription="@string/search_podcast_hint"
|
|
android:scaleType="center"
|
|
app:srcCompat="@drawable/ic_search" />
|
|
|
|
<EditText
|
|
android:id="@+id/combinedFeedSearchEditText"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:inputType="text"
|
|
android:imeOptions="actionSearch"
|
|
android:importantForAutofill="no"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_marginLeft="0dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="16dp"
|
|
android:hint="@string/search_podcast_hint"
|
|
android:background="@null" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:scrollbars="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/quickFeedDiscovery"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:name="de.danoeh.antennapod.ui.discovery.QuickFeedDiscoveryFragment" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/advanced"
|
|
android:textSize="18sp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:accessibilityHeading="true"
|
|
android:textColor="?android:attr/textColorPrimary" />
|
|
|
|
<TextView
|
|
android:id="@+id/addViaUrlButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/add_podcast_by_url"
|
|
app:drawableStartCompat="@drawable/ic_feed"
|
|
app:drawableLeftCompat="@drawable/ic_feed"
|
|
style="@style/AddPodcastTextView" />
|
|
|
|
<TextView
|
|
android:id="@+id/addLocalFolderButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/add_local_folder"
|
|
app:drawableStartCompat="@drawable/ic_folder"
|
|
app:drawableLeftCompat="@drawable/ic_folder"
|
|
style="@style/AddPodcastTextView" />
|
|
|
|
<TextView
|
|
android:id="@+id/searchItunesButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_itunes_label"
|
|
app:drawableStartCompat="@drawable/ic_search"
|
|
app:drawableLeftCompat="@drawable/ic_search"
|
|
style="@style/AddPodcastTextView" />
|
|
|
|
<TextView
|
|
android:id="@+id/searchFyydButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_fyyd_label"
|
|
app:drawableStartCompat="@drawable/ic_search"
|
|
app:drawableLeftCompat="@drawable/ic_search"
|
|
style="@style/AddPodcastTextView" />
|
|
|
|
<TextView
|
|
android:id="@+id/searchPodcastIndexButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_podcastindex_label"
|
|
app:drawableStartCompat="@drawable/ic_search"
|
|
app:drawableLeftCompat="@drawable/ic_search"
|
|
style="@style/AddPodcastTextView" />
|
|
|
|
<TextView
|
|
android:id="@+id/opmlImportButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/opml_add_podcast_label"
|
|
app:drawableStartCompat="@drawable/ic_download"
|
|
app:drawableLeftCompat="@drawable/ic_download"
|
|
style="@style/AddPodcastTextView" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|