1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-27 23:01:18 +00:00
syncthing-android/src/main/res/values/styles.xml
2017-10-19 12:09:53 +09:00

67 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Widget" />
<style name="Widget.Syncthing" />
<!-- Widget styles -->
<eat-comment />
<style name="Widget.Syncthing.ListView" parent="Widget.AppCompat.ListView">
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:clipToPadding">false</item>
<item name="android:scrollbarStyle">outsideOverlay</item>
<item name="android:divider">@android:color/transparent</item>
</style>
<style name="Widget.Syncthing.TextView" />
<style name="Widget.Syncthing.TextView.Label" parent="@android:style/Widget.TextView">
<item name="android:background">?selectableItemBackground</item>
<item name="android:drawablePadding">32dp</item>
<item name="android:gravity">start|center_vertical</item>
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Body1</item>
<item name="android:paddingLeft">@dimen/abc_action_bar_content_inset_material</item>
<item name="android:paddingRight">@dimen/abc_action_bar_content_inset_material</item>
</style>
<style name="Widget.Syncthing.TextView.Label.Details">
<item name="android:textColor">?attr/editTextColor</item>
<item name="android:minHeight">56dp</item>
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
</style>
<style name="Widget.Syncthing.TextView.Label.Details.DeviceList">
<item name="android:paddingLeft">4dp</item>
<item name="android:minHeight">48dp</item>
</style>
<style name="Widget.Syncthing.TextView.Label.Details.Field">
<item name="android:background">@null</item>
</style>
<style name="Widget.Syncthing.DrawerArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="spinBars">false</item>
<item name="color">@android:color/white</item>
</style>
<!-- Text appearances -->
<eat-comment />
<style name="TextAppearance.Syncthing.ListItemPrimary" parent="TextAppearance.AppCompat.Subhead">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
<style name="TextAppearance.Syncthing.ListItemSecondary" parent="TextAppearance.AppCompat.Body1">
<item name="android:textColor">?android:textColorSecondary</item>
</style>
<style name="TextAppearance.Syncthing.ListItemSmall" parent="TextAppearance.AppCompat.Caption" />
<style name="Widget.Syncthing.TextView.SpinnerItem" parent="Widget.AppCompat.TextView.SpinnerItem">
<item name="android:textSize">18sp</item>
<item name="android:paddingTop">5dp</item>
<item name="android:paddingBottom">5dp</item>
</style>
</resources>