2021-12-02 18:11:34 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-01-17 23:45:45 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2021-12-02 18:11:34 +00:00
|
|
|
|
2022-01-17 23:45:45 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/gemtext_text_link"
|
|
|
|
android:textColor="@color/stroke"
|
|
|
|
android:textSize="@dimen/default_text_size"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:drawableEnd="@drawable/vector_photo"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:layout_marginLeft="@dimen/screen_margin"
|
|
|
|
android:layout_marginRight="@dimen/screen_margin"
|
|
|
|
tools:text="an image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"/>
|
2021-12-02 18:11:34 +00:00
|
|
|
|
2022-01-13 01:42:36 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/rounded_image_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-01-13 02:06:18 +00:00
|
|
|
app:cardCornerRadius="@dimen/default_margin_big"
|
2022-01-13 01:42:36 +00:00
|
|
|
android:layout_marginLeft="@dimen/screen_margin"
|
|
|
|
android:layout_marginRight="@dimen/screen_margin"
|
|
|
|
android:layout_marginTop="@dimen/default_margin"
|
|
|
|
android:layout_marginBottom="@dimen/default_margin"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_below="@+id/gemtext_text_link">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/gemtext_inline_image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:adjustViewBounds="true"/>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
2022-01-17 23:45:45 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/gemtext_link_button"
|
|
|
|
android:textColor="@color/stroke"
|
|
|
|
android:textSize="@dimen/default_text_size"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:drawableEnd="@drawable/vector_photo"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:layout_marginLeft="@dimen/screen_margin"
|
|
|
|
android:layout_marginRight="@dimen/screen_margin"
|
|
|
|
android:padding="@dimen/accessibility_button_padding"
|
|
|
|
app:cornerRadius="@dimen/default_margin_big"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
tools:text="an image"
|
|
|
|
android:backgroundTint="@color/accessibility_button_background"
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_above="@id/rounded_image_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
2021-12-02 18:11:34 +00:00
|
|
|
</RelativeLayout>
|