mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-29 11:59:07 +03:00
Enhance cursors
This commit is contained in:
parent
88370cfcc3
commit
e6c117bded
4 changed files with 9 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
android:inputType="textMultiLine|textCapSentences"
|
||||
android:padding="16dp"
|
||||
android:textColor="@color/fg_default"
|
||||
android:theme="@style/EditText"
|
||||
tools:text="@tools:sample/lorem/random" />
|
||||
</ScrollView>
|
||||
|
||||
|
@ -32,6 +33,7 @@
|
|||
android:layout_gravity="bottom|end"
|
||||
android:translationY="-56dp"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="@color/defaultBrand"
|
||||
app:fabSize="mini"
|
||||
app:srcCompat="@drawable/ic_keyboard_arrow_up_white_24dp"
|
||||
tools:visibility="visible" />
|
||||
|
@ -41,6 +43,7 @@
|
|||
style="@style/fab"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="@color/defaultBrand"
|
||||
app:fabSize="mini"
|
||||
app:srcCompat="@drawable/ic_keyboard_arrow_down_white_24dp"
|
||||
tools:visibility="visible" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<color name="primary">#121212</color>
|
||||
<color name="accent">#f5f5f5</color>
|
||||
|
||||
<color name="cursor">#55eeeeff</color>
|
||||
<color name="bg_highlighted">#2a2a2a</color>
|
||||
<color name="bg_normal">#121212</color>
|
||||
<color name="bg_attention">#ff3333</color>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
<color name="defaultBrand">#0082C9</color>
|
||||
|
||||
<color name="cursor">#44111122</color>
|
||||
<color name="bg_highlighted">#eee</color>
|
||||
<color name="bg_normal">#ffffff</color>
|
||||
<color name="bg_attention">#d40000</color>
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">@bool/isDayMode</item>
|
||||
</style>
|
||||
|
||||
<style name="EditText" parent="AppTheme">
|
||||
<item name="android:textColorHighlight">@color/cursor</item>
|
||||
</style>
|
||||
|
||||
<style name="fab">
|
||||
<item name="android:layout_margin">16dp</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
|
|
Loading…
Reference in a new issue