7fe4c9f317
Most lists in the app use (explicitly or implicitly) platform metrics for dimensions, text size, colour, and so on, possibly via styles. A few don't, inadvertently using the user's setting for status text size Fix these, and simplify code where possible. - Use android attributes for padding and height, for consistent UX. - Remove explicit usage of app:tabTextAppearance, rely on the style. - Remove ListSelectionAdapter and item_picker_list.xml, and adjust TabPreferenceActivity to use an ArrayAdapter with simple_list_item_1.xml - Simplify item_followed_hashtag.xml, consistent with item_list.xml. Fixes https://github.com/tuskyapp/Tusky/issues/3131
19 lines
692 B
XML
19 lines
692 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/textView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:drawablePadding="12dp"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:lines="1"
|
|
android:paddingStart="8dp"
|
|
android:paddingEnd="8dp"
|
|
android:textAppearance="?android:attr/textAppearanceListItemSmall"
|
|
app:drawableStartCompat="@drawable/ic_home_24dp"
|
|
app:drawableTint="?android:attr/textColorSecondary" />
|
|
|
|
|