fedilab-Android-App/app/src/main/res/layout/include_reactions.xml

56 lines
2.1 KiB
XML
Raw Normal View History

2020-03-11 11:28:04 +01:00
<?xml version="1.0" encoding="utf-8"?>
2020-03-11 12:35:14 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/status_reactions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-05-16 20:00:45 +02:00
android:layout_gravity="center"
2020-03-11 12:35:14 +01:00
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:orientation="horizontal"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent">
2020-05-16 20:00:45 +02:00
2020-03-11 12:35:14 +01:00
<LinearLayout
android:layout_width="wrap_content"
2020-05-16 20:00:45 +02:00
android:layout_height="wrap_content"
android:visibility="gone">
2020-03-11 12:35:14 +01:00
<app.fedilab.android.helper.MastalabAutoCompleteTextView
android:id="@+id/fake_edittext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-07-24 19:52:36 +02:00
android:importantForAutofill="noExcludeDescendants"
2020-03-11 12:35:14 +01:00
android:inputType="text" />
</LinearLayout>
2020-03-11 11:28:04 +01:00
2020-03-11 12:35:14 +01:00
<ImageView
android:id="@+id/status_add_reaction"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginEnd="10dp"
2020-05-16 20:00:45 +02:00
android:contentDescription="@string/add_reaction"
android:src="@drawable/ic_add"
2020-03-11 12:35:14 +01:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
2020-05-16 20:00:45 +02:00
app:tint="?attr/iconColor" />
2020-03-11 12:35:14 +01:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/reactions_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
2020-05-16 20:00:45 +02:00
android:layout_weight="1" />
2020-03-11 12:35:14 +01:00
<ImageView
android:id="@+id/status_add_custom_emoji"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginStart="10dp"
2020-05-16 20:00:45 +02:00
android:contentDescription="@string/add_reaction"
android:src="@drawable/ic_insert_emoticon"
2020-03-11 12:35:14 +01:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
2020-05-16 20:00:45 +02:00
app:tint="?attr/iconColor" />
2020-03-11 12:35:14 +01:00
</LinearLayout>