Fix deprecated fill_parent attributes (#5302)
This commit is contained in:
parent
bc59d50804
commit
e06c885573
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -7,7 +8,7 @@
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:id="@+id/radio_filter_group"
|
android:id="@+id/radio_filter_group"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
@ -22,19 +23,21 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/episode_filters_exclude" />
|
android:text="@string/episode_filters_exclude" />
|
||||||
|
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/etxtEpisodeFilterText"
|
android:id="@+id/etxtEpisodeFilterText"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:lines="8"
|
android:cursorVisible="true"
|
||||||
android:minLines="1"
|
|
||||||
android:maxLines="20"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
android:hint="@string/episode_filters_hint"
|
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:focusableInTouchMode="true"
|
android:focusableInTouchMode="true"
|
||||||
android:cursorVisible="true" />
|
android:hint="@string/episode_filters_hint"
|
||||||
|
android:lines="8"
|
||||||
|
android:maxLines="20"
|
||||||
|
android:minLines="1"
|
||||||
|
android:scrollbars="vertical" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -2,32 +2,32 @@
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
xmlns:squareImageView="http://schemas.android.com/apk/de.danoeh.antennapod"
|
xmlns:squareImageView="http://schemas.android.com/apk/de.danoeh.antennapod"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:foreground="?attr/selectableItemBackground">
|
android:foreground="?attr/selectableItemBackground">
|
||||||
|
|
||||||
<de.danoeh.antennapod.ui.common.SquareImageView
|
<de.danoeh.antennapod.ui.common.SquareImageView
|
||||||
android:id="@+id/imgvCover"
|
android:id="@+id/imgvCover"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:scaleType="fitCenter"
|
|
||||||
android:background="@color/non_square_icon_background"
|
android:background="@color/non_square_icon_background"
|
||||||
tools:src="@mipmap/ic_launcher_round"
|
android:scaleType="fitCenter"
|
||||||
squareImageView:direction="width"/>
|
squareImageView:direction="width"
|
||||||
|
tools:src="@mipmap/ic_launcher_round" />
|
||||||
|
|
||||||
<com.joanzapata.iconify.widget.IconTextView
|
<com.joanzapata.iconify.widget.IconTextView
|
||||||
android:id="@+id/txtvTitle"
|
android:id="@+id/txtvTitle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/non_square_icon_background"
|
|
||||||
android:layout_alignLeft="@+id/imgvCover"
|
|
||||||
android:layout_alignRight="@+id/imgvCover"
|
|
||||||
android:layout_alignStart="@+id/imgvCover"
|
android:layout_alignStart="@+id/imgvCover"
|
||||||
android:layout_alignEnd="@+id/imgvCover"
|
android:layout_alignLeft="@+id/imgvCover"
|
||||||
android:layout_alignTop="@+id/imgvCover"
|
android:layout_alignTop="@+id/imgvCover"
|
||||||
|
android:layout_alignEnd="@+id/imgvCover"
|
||||||
|
android:layout_alignRight="@+id/imgvCover"
|
||||||
android:layout_alignBottom="@+id/imgvCover"
|
android:layout_alignBottom="@+id/imgvCover"
|
||||||
|
android:background="@color/non_square_icon_background"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
@ -37,12 +37,13 @@
|
||||||
android:id="@+id/triangleCountView"
|
android:id="@+id/triangleCountView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_alignParentEnd="true"
|
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
app:backgroundColor="?attr/colorSecondary"
|
app:backgroundColor="?attr/colorSecondary"
|
||||||
app:corner="rightTop"
|
app:corner="rightTop"
|
||||||
app:primaryText="Test"
|
app:primaryText="Test"
|
||||||
app:primaryTextColor="?attr/colorOnSecondary"
|
app:primaryTextColor="?attr/colorOnSecondary"
|
||||||
app:primaryTextSize="12sp" />
|
app:primaryTextSize="12sp" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
Loading…
Reference in New Issue