Skip to content

Commit 2ed6819

Browse files
committed
Make channel groups button sizes larger
1 parent ea875c5 commit 2ed6819

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

app/src/main/res/layout/subscription_groups_header.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
5-
android:layout_height="wrap_content"
6-
android:paddingLeft="16dp"
7-
android:paddingTop="12dp"
8-
android:paddingRight="16dp"
9-
android:paddingBottom="12dp">
5+
android:layout_height="wrap_content">
106

117
<org.schabi.newpipe.views.NewPipeTextView
128
android:id="@+id/header_title"
@@ -17,24 +13,29 @@
1713
android:gravity="start|center_vertical"
1814
android:maxLines="2"
1915
android:minHeight="24dp"
16+
android:paddingHorizontal="16dp"
17+
android:paddingVertical="12dp"
2018
android:textColor="?android:attr/textColorPrimary"
2119
android:textSize="16sp"
2220
android:textStyle="bold"
2321
tools:text="Header" />
2422

2523
<ImageButton
2624
android:id="@+id/header_toggle_view_mode"
27-
android:layout_width="24dp"
28-
android:layout_height="24dp"
29-
android:layout_marginStart="16dp"
25+
android:layout_width="48dp"
26+
android:layout_height="48dp"
3027
android:background="?attr/selectableItemBackgroundBorderless"
28+
android:contentDescription="@string/list_view_mode"
29+
android:padding="8dp"
3130
tools:src="@drawable/ic_apps" />
3231

3332
<ImageButton
3433
android:id="@+id/header_sort"
35-
android:layout_width="24dp"
36-
android:layout_height="24dp"
37-
android:layout_marginStart="16dp"
34+
android:layout_width="48dp"
35+
android:layout_height="48dp"
36+
android:layout_marginEnd="4dp"
3837
android:background="?attr/selectableItemBackgroundBorderless"
38+
android:contentDescription="@string/sort"
39+
android:padding="8dp"
3940
android:src="@drawable/ic_sort" />
4041
</LinearLayout>

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,4 +751,5 @@
751751
<string name="unknown_quality">Unknown quality</string>
752752
<string name="feed_toggle_show_future_items">Show future items</string>
753753
<string name="feed_toggle_hide_future_items">Hide future items</string>
754+
<string name="sort">Sort</string>
754755
</resources>

0 commit comments

Comments
 (0)