diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/external_player_fragment.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/feed_item_list_fragment.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/feed_pref_skip_dialog.xml | 78 | ||||
-rw-r--r-- | app/src/main/res/layout/feedinfo.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/nav_listitem.xml | 2 |
5 files changed, 86 insertions, 3 deletions
diff --git a/app/src/main/res/layout/external_player_fragment.xml b/app/src/main/res/layout/external_player_fragment.xml index 7fb1296a9..dd8f7fe40 100644 --- a/app/src/main/res/layout/external_player_fragment.xml +++ b/app/src/main/res/layout/external_player_fragment.xml @@ -27,7 +27,8 @@ android:layout_height="match_parent" android:adjustViewBounds="true" android:cropToPadding="true" - android:scaleType="centerCrop" + android:maxWidth="96dp" + android:scaleType="fitCenter" tools:src="@tools:sample/avatars"/> diff --git a/app/src/main/res/layout/feed_item_list_fragment.xml b/app/src/main/res/layout/feed_item_list_fragment.xml index e607ac216..38496dd4f 100644 --- a/app/src/main/res/layout/feed_item_list_fragment.xml +++ b/app/src/main/res/layout/feed_item_list_fragment.xml @@ -15,6 +15,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:contentScrim="?attr/colorPrimary" + app:scrimAnimationDuration="200" app:layout_scrollFlags="scroll|exitUntilCollapsed"> <ImageView @@ -22,7 +23,7 @@ style="@style/BigBlurryBackground" android:background="@color/image_readability_tint" android:layout_width="match_parent" - android:layout_height="256dp" + android:layout_height="232dp" app:layout_collapseMode="parallax" app:layout_collapseParallaxMultiplier="0.6"/> diff --git a/app/src/main/res/layout/feed_pref_skip_dialog.xml b/app/src/main/res/layout/feed_pref_skip_dialog.xml new file mode 100644 index 000000000..db76a3426 --- /dev/null +++ b/app/src/main/res/layout/feed_pref_skip_dialog.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + <TextView + android:id="@+id/labelSkipIntro" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="24dp" + android:layout_marginRight="24dp" + android:text="@string/pref_feed_skip_intro" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <EditText + android:id="@+id/etxtSkipIntro" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="24dp" + android:autofillHints="@string/pref_feed_skip_intro" + android:cursorVisible="true" + android:focusable="true" + android:focusableInTouchMode="true" + android:inputType="number" + android:maxLength="5" + android:minWidth="150dp" + android:text="30" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_marginRight="24dp" + android:text="@string/time_seconds" /> + + </LinearLayout> + + <TextView + android:id="@+id/labelSkipEnd" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="24dp" + android:layout_marginRight="24dp" + android:text="@string/pref_feed_skip_ending" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <EditText + android:id="@+id/etxtSkipEnd" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="24dp" + android:cursorVisible="true" + android:focusable="true" + android:autofillHints="@string/pref_feed_skip_ending" + android:focusableInTouchMode="true" + android:inputType="number" + android:maxLength="5" + android:minWidth="150dp" + android:text="30" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_marginRight="24dp" + android:text="@string/time_seconds" /> + </LinearLayout> + +</LinearLayout> diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml index e3efa72ce..d2e077be1 100644 --- a/app/src/main/res/layout/feedinfo.xml +++ b/app/src/main/res/layout/feedinfo.xml @@ -15,6 +15,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:contentScrim="?attr/colorPrimary" + app:scrimAnimationDuration="200" app:layout_scrollFlags="scroll|exitUntilCollapsed"> <ImageView @@ -22,7 +23,7 @@ style="@style/BigBlurryBackground" android:background="@color/image_readability_tint" android:layout_width="match_parent" - android:layout_height="256dp" + android:layout_height="232dp" app:layout_collapseMode="parallax" app:layout_collapseParallaxMultiplier="0.6"/> diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml index f03ebc09f..2b7bc5715 100644 --- a/app/src/main/res/layout/nav_listitem.xml +++ b/app/src/main/res/layout/nav_listitem.xml @@ -51,6 +51,8 @@ android:layout_toStartOf="@id/txtvCount" android:layout_marginLeft="@dimen/list_vertical_padding" android:layout_marginStart="@dimen/list_vertical_padding" + android:layout_marginRight="@dimen/list_vertical_padding" + android:layout_marginEnd="@dimen/list_vertical_padding" android:layout_alignWithParentIfMissing="true" android:lines="1" android:text="{fa-exclamation-circle}" |