* add dummy popup menu * add pager to home fragment * reduce pager sensitivity * remove timelines from discover fragment * add fabs to timelines * change info banner color * add back toolbar functionality * update icons on navigate * handle back press * add lists and hashtags * use tabs * improve timeline title * tweak switcher behavior * fix show new posts button appearance * hide show new posts button on reload * tweak show new posts animations * work around crash theme switch * enable disabling federated timeline Thanks @sk22!
34 lines
1.1 KiB
XML
34 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/discover_info_banner"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:elevation="1dp"
|
|
android:outlineProvider="background"
|
|
android:background="?colorBackgroundLight">
|
|
|
|
<TextView
|
|
android:id="@+id/banner_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:textAppearance="@style/m3_body_large"
|
|
tools:text="@string/trending_posts_info_banner"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/banner_dismiss"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_margin="8dp"
|
|
android:src="@drawable/ic_fluent_dismiss_circle_24_filled"
|
|
android:tint="?android:textColorSecondary"
|
|
android:contentDescription="@string/dismiss"
|
|
android:background="?android:selectableItemBackgroundBorderless"/>
|
|
|
|
</LinearLayout> |