mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Set post layout for subreddit and user posts individually.
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="?attr/font_12"
|
||||
android:textSize="?attr/font_10"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBGColor="@color/backgroundColorPrimaryDark"
|
||||
app:lib_setRoundedBorderColor="@color/backgroundColorPrimaryDark"
|
||||
@@ -128,7 +128,7 @@
|
||||
android:padding="4dp"
|
||||
android:text="@string/spoiler"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="?attr/font_12"
|
||||
android:textSize="?attr/font_10"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBGColor="@color/spoilerBackgroundColor"
|
||||
@@ -143,7 +143,7 @@
|
||||
android:padding="4dp"
|
||||
android:text="@string/nsfw"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="?attr/font_12"
|
||||
android:textSize="?attr/font_10"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBGColor="@color/colorAccent"
|
||||
@@ -158,7 +158,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:padding="4dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="?attr/font_12"
|
||||
android:textSize="?attr/font_10"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBGColor="@color/flairBackgroundColor"
|
||||
|
@@ -4,6 +4,7 @@
|
||||
|
||||
<declare-styleable name="FontStyle">
|
||||
<attr name="font_default" format="dimension"/>
|
||||
<attr name="font_10" format="dimension" />
|
||||
<attr name="font_12" format="dimension"/>
|
||||
<attr name="font_16" format="dimension"/>
|
||||
<attr name="font_18" format="dimension"/>
|
||||
|
@@ -95,6 +95,7 @@
|
||||
|
||||
<style name="FontStyle.Small">
|
||||
<item name="font_default">12sp</item>
|
||||
<item name="font_10">10sp</item>
|
||||
<item name="font_12">12sp</item>
|
||||
<item name="font_16">14sp</item>
|
||||
<item name="font_18">16sp</item>
|
||||
@@ -103,6 +104,7 @@
|
||||
|
||||
<style name="FontStyle.Normal">
|
||||
<item name="font_default">14sp</item>
|
||||
<item name="font_10">10sp</item>
|
||||
<item name="font_12">12sp</item>
|
||||
<item name="font_16">16sp</item>
|
||||
<item name="font_18">18sp</item>
|
||||
@@ -111,6 +113,7 @@
|
||||
|
||||
<style name="FontStyle.Large">
|
||||
<item name="font_default">16sp</item>
|
||||
<item name="font_10">12sp</item>
|
||||
<item name="font_12">14sp</item>
|
||||
<item name="font_16">18sp</item>
|
||||
<item name="font_18">20sp</item>
|
||||
@@ -119,6 +122,7 @@
|
||||
|
||||
<style name="FontStyle.XLarge">
|
||||
<item name="font_default">18sp</item>
|
||||
<item name="font_10">14sp</item>
|
||||
<item name="font_12">16sp</item>
|
||||
<item name="font_16">20sp</item>
|
||||
<item name="font_18">22sp</item>
|
||||
|
Reference in New Issue
Block a user