forked from GitHub-Mirror/riotX-android
Fix / style on emoji picker appbar layout
This commit is contained in:
parent
438404b5ba
commit
5f34e58bd3
@ -15,25 +15,23 @@
|
||||
tools:layout="@layout/emoji_chooser_fragment" />
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
style="@style/VectorAppBarLayoutStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:elevation="4dp">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/emojiPickerToolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:elevation="4dp"
|
||||
android:minHeight="0dp"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
|
||||
tools:title="@string/reactions"
|
||||
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap|enterAlways" />
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:elevation="4dp" />
|
||||
android:layout_height="40dp" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
<item name="android:fontFamily">"sans-serif"</item>
|
||||
</style>
|
||||
|
||||
<style name="VectorAppBarLayoutStyle" parent="Widget.Design.AppBarLayout">
|
||||
<item name="android:background">?riotx_background</item>
|
||||
</style>
|
||||
|
||||
<!-- Alert Dialog: Button color are not colorAccent by default -->
|
||||
<style name="VectorAlertDialogStyleLight" parent="Theme.MaterialComponents.Light.Dialog.Alert">
|
||||
<item name="buttonBarButtonStyle">@style/VectorAlertDialogButtonStyle</item>
|
||||
|
Loading…
Reference in New Issue
Block a user