Added Style for TextViews in Add Podcast screen (#4483)
This commit is contained in:
parent
923be5bfdd
commit
31ac0a5322
|
@ -90,84 +90,54 @@
|
||||||
android:id="@+id/btn_add_via_url"
|
android:id="@+id/btn_add_via_url"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/feed"
|
app:drawableStartCompat="?attr/feed"
|
||||||
app:drawableLeftCompat="?attr/feed"
|
app:drawableLeftCompat="?attr/feed"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/add_podcast_by_url"/>
|
android:text="@string/add_podcast_by_url"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/btn_search_itunes"
|
android:id="@+id/btn_search_itunes"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/action_search"
|
app:drawableStartCompat="?attr/action_search"
|
||||||
app:drawableLeftCompat="?attr/action_search"
|
app:drawableLeftCompat="?attr/action_search"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/search_itunes_label"/>
|
android:text="@string/search_itunes_label"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/btn_search_fyyd"
|
android:id="@+id/btn_search_fyyd"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/action_search"
|
app:drawableStartCompat="?attr/action_search"
|
||||||
app:drawableLeftCompat="?attr/action_search"
|
app:drawableLeftCompat="?attr/action_search"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/search_fyyd_label"/>
|
android:text="@string/search_fyyd_label"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/btn_search_gpodder"
|
android:id="@+id/btn_search_gpodder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/action_search"
|
app:drawableStartCompat="?attr/action_search"
|
||||||
app:drawableLeftCompat="?attr/action_search"
|
app:drawableLeftCompat="?attr/action_search"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/browse_gpoddernet_label"/>
|
android:text="@string/browse_gpoddernet_label"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/btn_search_podcastindex"
|
android:id="@+id/btn_search_podcastindex"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/action_search"
|
app:drawableStartCompat="?attr/action_search"
|
||||||
app:drawableLeftCompat="?attr/action_search"
|
app:drawableLeftCompat="?attr/action_search"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/search_podcastindex_label"/>
|
android:text="@string/search_podcastindex_label"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/btn_opml_import"
|
android:id="@+id/btn_opml_import"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
|
||||||
app:drawableStartCompat="?attr/av_download"
|
app:drawableStartCompat="?attr/av_download"
|
||||||
app:drawableLeftCompat="?attr/av_download"
|
app:drawableLeftCompat="?attr/av_download"
|
||||||
android:paddingTop="8dp"
|
style="@style/AddPodcastTextView"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:clickable="true"
|
|
||||||
android:text="@string/opml_import_label"/>
|
android:text="@string/opml_import_label"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
|
@ -306,4 +306,14 @@
|
||||||
<style name="Widget.AntennaPod.ActionBar.Black" parent="Widget.MaterialComponents.Light.ActionBar.Solid">
|
<style name="Widget.AntennaPod.ActionBar.Black" parent="Widget.MaterialComponents.Light.ActionBar.Solid">
|
||||||
<item name="background">@color/black</item>
|
<item name="background">@color/black</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="AddPodcastTextView">
|
||||||
|
<item name="android:drawablePadding">8dp</item>
|
||||||
|
<item name="android:paddingTop">8dp</item>
|
||||||
|
<item name="android:paddingBottom">8dp</item>
|
||||||
|
<item name="android:background">?android:attr/selectableItemBackground</item>
|
||||||
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||||
|
<item name="android:clickable">true</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue