6f67469bda
Refactored the trust key row UI element so it can be used in multiple places. It now also uses a slider to toggle the trust state, and the redundant trust state description was removed. EditAccountActivity now shows the keys of other devices associated with that account.
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<style name="Divider">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">1.5dp</item>
|
|
<item name="android:background">@color/black12</item>
|
|
</style>
|
|
<style name="MD">
|
|
<item name="animationVelocity">6</item>
|
|
<item name="insetBottom">16dp</item>
|
|
<item name="insetTop">16dp</item>
|
|
<item name="insetLeft">16dp</item>
|
|
<item name="insetRight">16dp</item>
|
|
<item name="measureFactor">1.4</item>
|
|
<item name="offDrawable">@drawable/switch_back_off</item>
|
|
<item name="onDrawable">@drawable/switch_back_on</item>
|
|
<item name="thumbDrawable">@drawable/switch_thumb</item>
|
|
<item name="thumb_margin">-17dp</item>
|
|
<item name="android:padding">16dp</item>
|
|
</style>
|
|
|
|
<style name="MaterialDesignButton" parent="MD">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:padding">16dp</item>
|
|
</style>
|
|
|
|
</resources> |