mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-02-04 16:14:41 +00:00
aad7f2be6a
Made actionmode bar overlay the toolbar. Updated UI for device edit/create fragment to match the folder one. Refactored FolderFragment to match DeviceFragment. Improvements for Details styles and item heights.
47 lines
2 KiB
XML
47 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
|
|
<!-- Activity themes -->
|
|
<eat-comment/>
|
|
|
|
<style name="Theme.Syncthing.Base" parent="@style/Theme.AppCompat.Light.NoActionBar">
|
|
<item name="colorPrimary">@color/primary</item>
|
|
<item name="colorPrimaryDark">@color/primary_dark</item>
|
|
<item name="colorAccent">@color/accent</item>
|
|
|
|
<item name="textAppearanceListItemPrimary">@style/TextAppearance.Syncthing.ListItemPrimary</item>
|
|
<item name="textAppearanceListItemSecondary">@style/TextAppearance.Syncthing.ListItemSecondary</item>
|
|
<item name="textAppearanceListItemSmall">@style/TextAppearance.Syncthing.ListItemSmall</item>
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
<item name="android:listViewStyle">@style/Widget.Syncthing.ListView</item>
|
|
<item name="android:listDivider">@drawable/list_divider_inset</item>
|
|
<item name="drawerArrowStyle">@style/Widget.Syncthing.DrawerArrowToggle</item>
|
|
|
|
<item name="android:actionBarSize">@dimen/abc_action_bar_default_height_material</item>
|
|
</style>
|
|
|
|
<style name="Theme.Syncthing" parent="Theme.Syncthing.Base"/>
|
|
|
|
<style name="Theme.Syncthing.Translucent">
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowAnimationStyle">@android:style/Animation</item>
|
|
</style>
|
|
|
|
<!-- Dialog themes -->
|
|
<eat-comment/>
|
|
|
|
<style name="Theme.Syncthing.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert">
|
|
<item name="colorAccent">@color/primary_dark</item>
|
|
</style>
|
|
|
|
<!-- Toolbar themes -->
|
|
<eat-comment/>
|
|
|
|
<style name="ThemeOverlay.Syncthing.Toolbar" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
<item name="android:windowBackground">@null</item>
|
|
<item name="colorAccent">@android:color/white</item>
|
|
</style>
|
|
</resources>
|