UI fixes
This commit is contained in:
@@ -26,7 +26,7 @@ class BadgeView @JvmOverloads constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
context.withStyledAttributes(attrs, R.styleable.BadgeView) {
|
context.withStyledAttributes(attrs, R.styleable.BadgeView, R.attr.badgeViewStyle) {
|
||||||
maxCharacterCount = getInt(R.styleable.BadgeView_maxCharacterCount, maxCharacterCount)
|
maxCharacterCount = getInt(R.styleable.BadgeView_maxCharacterCount, maxCharacterCount)
|
||||||
number = getInt(R.styleable.BadgeView_number, number)
|
number = getInt(R.styleable.BadgeView_number, number)
|
||||||
val shape = ShapeAppearanceModel.builder(
|
val shape = ShapeAppearanceModel.builder(
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:baselineAligned="false"
|
android:baselineAligned="false"
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<com.google.android.material.tabs.TabLayout
|
<com.google.android.material.tabs.TabLayout
|
||||||
@@ -30,7 +29,7 @@
|
|||||||
style="@style/Widget.Material3.TabLayout.Secondary"
|
style="@style/Widget.Material3.TabLayout.Secondary"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="start"
|
android:layout_gravity="start|center_vertical"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
app:tabGravity="start"
|
app:tabGravity="start"
|
||||||
@@ -47,7 +46,7 @@
|
|||||||
android:id="@+id/split_button_read"
|
android:id="@+id/split_button_read"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="end">
|
android:layout_gravity="end|center_vertical">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/button_read"
|
android:id="@+id/button_read"
|
||||||
|
|||||||
@@ -175,6 +175,7 @@
|
|||||||
<item name="backgroundColor">?attr/colorError</item>
|
<item name="backgroundColor">?attr/colorError</item>
|
||||||
<item name="android:elegantTextHeight">false</item>
|
<item name="android:elegantTextHeight">false</item>
|
||||||
<item name="singleLine">true</item>
|
<item name="singleLine">true</item>
|
||||||
|
<item name="android:outlineProvider">background</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Widget.Kotatsu.ListItemTextView" parent="">
|
<style name="Widget.Kotatsu.ListItemTextView" parent="">
|
||||||
|
|||||||
Reference in New Issue
Block a user