Theme fixes

master
Koitharu 12 months ago
parent f5514728fe
commit 3aaddfd513
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -18,9 +18,9 @@ class SyncSettings(
@Inject @Inject
constructor(@ApplicationContext context: Context) : this( constructor(@ApplicationContext context: Context) : this(
context, context,
AccountManager.get(context) AccountManager.get(context)?.getAccountsByType(
.getAccountsByType(context.getString(R.string.account_type_sync)) context.getString(R.string.account_type_sync),
.firstOrNull(), )?.firstOrNull(),
) )
private val accountManager = AccountManager.get(context) private val accountManager = AccountManager.get(context)

@ -36,10 +36,13 @@
android:id="@+id/appbar" android:id="@+id/appbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@null"
android:clipToPadding="false" android:clipToPadding="false"
android:elevation="0dp"
android:fitsSystemWindows="false" android:fitsSystemWindows="false"
android:paddingHorizontal="@dimen/margin_normal" android:paddingHorizontal="@dimen/margin_normal"
android:stateListAnimator="@null" android:stateListAnimator="@null"
app:elevation="0dp"
app:liftOnScroll="false" app:liftOnScroll="false"
app:liftOnScrollColor="@null"> app:liftOnScrollColor="@null">
@ -65,6 +68,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:background="@null"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
app:contentInsetStartWithNavigation="0dp" app:contentInsetStartWithNavigation="0dp"

@ -18,10 +18,13 @@
android:id="@+id/appbar" android:id="@+id/appbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@null"
android:clipToPadding="false" android:clipToPadding="false"
android:elevation="0dp"
android:fitsSystemWindows="false" android:fitsSystemWindows="false"
android:paddingHorizontal="@dimen/margin_normal" android:paddingHorizontal="@dimen/margin_normal"
android:stateListAnimator="@null" android:stateListAnimator="@null"
app:elevation="0dp"
app:liftOnScroll="false" app:liftOnScroll="false"
app:liftOnScrollColor="@null"> app:liftOnScrollColor="@null">
@ -48,6 +51,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:background="@null"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
app:collapseIcon="@null" app:collapseIcon="@null"

@ -11,6 +11,7 @@
android:id="@+id/tabs" android:id="@+id/tabs"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@null"
app:tabGravity="start" app:tabGravity="start"
app:tabMode="scrollable" /> app:tabMode="scrollable" />

Loading…
Cancel
Save