fix: add close to banner

This commit is contained in:
0x330a 2023-06-28 16:19:45 +10:00
parent 6c55f170ea
commit 1a10718d47

View File

@ -99,19 +99,33 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
<FrameLayout
tools:visibility="visible"
android:visibility="gone"
android:textColor="?message_sent_text_color"
android:background="?colorAccent"
android:id="@+id/configOutdatedView"
android:textSize="9sp"
android:paddingVertical="4dp"
android:paddingHorizontal="64dp"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/activity_home_outdated_client_config"
/>
android:layout_height="wrap_content">
<TextView
android:layout_gravity="center"
android:textColor="?message_sent_text_color"
android:background="?colorAccent"
android:textSize="9sp"
android:paddingVertical="4dp"
android:paddingHorizontal="64dp"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/activity_home_outdated_client_config"
/>
<ImageView
android:layout_margin="@dimen/small_spacing"
android:layout_gravity="center_vertical|right"
android:layout_width="12dp"
android:layout_height="12dp"
android:scaleType="centerInside"
android:src="@drawable/ic_x"
app:tint="@color/black" />
</FrameLayout>
</LinearLayout>