implement followed hashtags list

closes sk22/megalodon#162
This commit is contained in:
sk
2022-12-22 12:51:43 -03:00
committed by LucasGGamerM
parent ba3f6c4f95
commit 4879d74f80
8 changed files with 177 additions and 22 deletions

View File

@@ -0,0 +1,56 @@
<?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:layout_width="match_parent"
android:layout_height="56dp"
android:orientation="horizontal"
android:gravity="center">
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingHorizontal="16dp"
android:drawableTint="?android:textColorSecondary"
android:drawablePadding="16dp"
android:textAppearance="@style/m3_title_medium"
android:fontFamily="sans-serif"
android:singleLine="true"
android:ellipsize="end"
tools:text="List"/>
<CheckBox
android:id="@+id/list_toggle"
android:clickable="false"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:visibility="gone"
android:paddingRight="16dp"/>
<!-- <ImageView-->
<!-- android:id="@+id/edit"-->
<!-- android:layout_width="36dp"-->
<!-- android:layout_height="36dp"-->
<!-- android:layout_marginTop="0dp"-->
<!-- android:layout_marginEnd="6dp"-->
<!-- android:layout_toStartOf="@id/list_toggle"-->
<!-- android:background="?android:selectableItemBackgroundBorderless"-->
<!-- android:scaleType="center"-->
<!-- android:src="@drawable/ic_fluent_edit_24_regular"-->
<!-- android:tint="?android:textColorSecondary" />-->
<!-- <ImageView-->
<!-- android:id="@+id/delete"-->
<!-- android:layout_width="36dp"-->
<!-- android:layout_height="36dp"-->
<!-- android:layout_marginTop="0dp"-->
<!-- android:layout_marginEnd="6dp"-->
<!-- android:layout_toStartOf="@id/edit"-->
<!-- android:background="?android:selectableItemBackgroundBorderless"-->
<!-- android:scaleType="center"-->
<!-- android:src="@drawable/ic_fluent_delete_24_regular"-->
<!-- android:tint="?android:textColorSecondary" />-->
</LinearLayout>