8767d2ed3d
* Theme refactoring * disable the automatic tinting of surfaces with elevation in dark mode * make the media warning visible again with the dark theme * fix nav bar on api 27+ * use correct color for all media warnings
41 lines
No EOL
1.6 KiB
XML
41 lines
No EOL
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="72dp"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
>
|
|
|
|
<ImageButton
|
|
android:id="@+id/muted_domain_unmute"
|
|
style="@style/TuskyImageButton"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:contentDescription="@string/action_unmute"
|
|
android:padding="4dp"
|
|
app:srcCompat="@drawable/ic_unmute_24dp"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/muted_domain"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
android:gravity="center_vertical"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="?attr/status_text_medium"
|
|
tools:text="instance.domain.tld" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |