1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2024-12-22 15:55:35 +00:00

Rounded quote boxes

This commit is contained in:
Corewala 2022-01-15 17:25:42 -05:00
parent bbd613a13b
commit 883e6e4de6

View file

@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.cardview.widget.CardView
android:id="@+id/rounded_image_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cardBackgroundColor="@color/code_background"
app:cardElevation="0dp"
app:cardCornerRadius="@dimen/default_margin_big"
android:layout_marginLeft="@dimen/screen_margin"
android:layout_marginRight="@dimen/screen_margin"
android:layout_marginTop="@dimen/default_margin"
android:layout_marginBottom="@dimen/default_margin">
<androidx.appcompat.widget.AppCompatTextView <androidx.appcompat.widget.AppCompatTextView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gemtext_text_monospace_textview" android:id="@+id/gemtext_text_monospace_textview"
@ -6,13 +23,12 @@
android:textColor="@color/stroke" android:textColor="@color/stroke"
android:layout_marginLeft="@dimen/screen_margin" android:layout_marginLeft="@dimen/screen_margin"
android:layout_marginRight="@dimen/screen_margin" android:layout_marginRight="@dimen/screen_margin"
android:paddingLeft="@dimen/default_margin"
android:paddingRight="@dimen/default_margin"
android:paddingTop="@dimen/default_margin" android:paddingTop="@dimen/default_margin"
android:paddingBottom="@dimen/default_margin" android:paddingBottom="@dimen/default_margin"
android:textStyle="italic" android:textStyle="italic"
android:background="@color/code_background"
android:textIsSelectable="true" android:textIsSelectable="true"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:lineHeight="@dimen/default_line_height"/> android:lineHeight="@dimen/default_line_height"/>
</androidx.cardview.widget.CardView>
</RelativeLayout>