fix(extended-footer): readd visibility indicator

This commit is contained in:
LucasGGamerM
2024-03-03 11:43:13 -03:00
parent 7de58a5e35
commit 193ef88814
2 changed files with 26 additions and 156 deletions

View File

@@ -17,6 +17,21 @@
android:verticalGap="8dp"
android:clipToPadding="false">
<ImageView
android:id="@+id/visibility"
android:layout_height="20dp"
android:layout_width="20dp"
android:src="@drawable/ic_fluent_earth_20_regular"
android:tint="?colorM3Secondary" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/m3_label_large"
android:textColor="?colorM3Secondary"
android:importantForAccessibility="no"
android:text="·"/>
<TextView
android:id="@+id/time"
android:layout_width="wrap_content"
@@ -137,123 +152,4 @@
</org.joinmastodon.android.ui.views.WrappingLinearLayout>
</LinearLayout>
<!--TODO: merge things here too-->
<!--<?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:orientation="vertical"-->
<!-- android:padding="8dp"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:background="@drawable/bg_m3_surface3">-->
<!-- <org.joinmastodon.android.ui.views.AutoOrientationLinearLayout-->
<!-- android:id="@+id/button_bar"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content">-->
<!-- <LinearLayout-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content">-->
<!-- <Button-->
<!-- android:id="@+id/reblogs"-->
<!-- style="@style/Widget.Mastodon.M3.Button.Text.Icon"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:paddingStart="8dp"-->
<!-- android:paddingEnd="12dp"-->
<!-- android:minHeight="48dp"-->
<!-- android:textColor="?colorM3OnSurfaceVariant"-->
<!-- android:fontFamily="sans-serif"-->
<!-- android:drawableStart="@drawable/ic_fluent_arrow_repeat_all_20_regular"-->
<!-- android:drawablePadding="8dp"-->
<!-- android:drawableTint="?colorM3OnSurfaceVariant"-->
<!-- tools:text="4 reblogs"/>-->
<!-- <Button-->
<!-- android:id="@+id/favorites"-->
<!-- style="@style/Widget.Mastodon.M3.Button.Text.Icon"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:paddingStart="8dp"-->
<!-- android:paddingEnd="12dp"-->
<!-- android:minHeight="48dp"-->
<!-- android:textColor="?colorM3OnSurfaceVariant"-->
<!-- android:fontFamily="sans-serif"-->
<!-- android:drawableStart="@drawable/ic_fluent_star_20_regular"-->
<!-- android:drawablePadding="8dp"-->
<!-- android:drawableTint="?colorM3OnSurfaceVariant"-->
<!-- tools:text="12 favorites"/>-->
<!-- </LinearLayout>-->
<!-- <Button-->
<!-- android:id="@+id/edit_history"-->
<!-- style="@style/Widget.Mastodon.M3.Button.Text.Icon"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:paddingStart="8dp"-->
<!-- android:paddingEnd="12dp"-->
<!-- android:minHeight="48dp"-->
<!-- android:textColor="?colorM3OnSurfaceVariant"-->
<!-- android:fontFamily="sans-serif"-->
<!-- android:drawableStart="@drawable/ic_fluent_history_20_regular"-->
<!-- android:drawablePadding="8dp"-->
<!-- android:drawableTint="?colorM3OnSurfaceVariant"-->
<!-- tools:text="Dec 12, 2021, 12:42 PM"/>-->
<!-- </org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>-->
<!-- <LinearLayout-->
<!-- android:orientation="horizontal"-->
<!-- android:gravity="start|center"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginHorizontal="8dp"-->
<!-- android:minHeight="48dp">-->
<!-- <ImageView-->
<!-- android:id="@+id/visibility"-->
<!-- android:layout_height="20dp"-->
<!-- android:layout_width="20dp"-->
<!-- android:src="@drawable/ic_fluent_earth_20_regular"-->
<!-- android:tint="?colorM3OnSurfaceVariant" />-->
<!-- <TextView-->
<!-- android:id="@+id/timestamp"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginLeft="8dp"-->
<!-- android:minHeight="20dp"-->
<!-- android:gravity="center_vertical"-->
<!-- android:textSize="14sp"-->
<!-- android:textColor="?android:textColorSecondary"-->
<!-- tools:text="Dec 12, 2021, 12:42 PM via "/>-->
<!-- <Button-->
<!-- android:id="@+id/application_name"-->
<!-- style="@style/Widget.Mastodon.M3.Button.Text"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:layout_marginStart="-12dp"-->
<!-- android:paddingStart="12dp"-->
<!-- android:paddingEnd="12dp"-->
<!-- android:padding="0dp"-->
<!-- android:minWidth="0dp"-->
<!-- android:minHeight="48dp"-->
<!-- android:textColor="?colorM3OnSurfaceVariant"-->
<!-- android:fontFamily="sans-serif"-->
<!-- android:singleLine="true"-->
<!-- android:ellipsize="end"-->
<!-- tools:text="Megalodon"/>-->
<!-- </LinearLayout>-->
<!--</LinearLayout>-->
</LinearLayout>