mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
Feature | Styling toolbar | Colors menu | Design + Visibility control (#1459)
This commit is contained in:
parent
94231266f2
commit
2a004fe2ce
20 changed files with 204 additions and 142 deletions
|
@ -21,7 +21,7 @@ class LongClickActivity: AppCompatActivity() {
|
|||
setContentView(R.layout.activity_long_clicked)
|
||||
|
||||
findViewById<ImageView>(R.id.close).setOnClickListener {
|
||||
styleToolbar.hideWithAnimation()
|
||||
//styleToolbar.hideWithAnimation()
|
||||
}
|
||||
|
||||
textInputWidget.enableEditMode()
|
||||
|
|
|
@ -16,7 +16,7 @@ class StyleActivity: AppCompatActivity() {
|
|||
setContentView(R.layout.activity_style)
|
||||
|
||||
findViewById<ImageView>(R.id.close).setOnClickListener {
|
||||
styleToolbar.hideWithAnimation()
|
||||
//styleToolbar.hideWithAnimation()
|
||||
}
|
||||
|
||||
button.setOnClickListener {
|
||||
|
@ -50,7 +50,7 @@ class StyleActivity: AppCompatActivity() {
|
|||
alignment = null
|
||||
)
|
||||
)
|
||||
styleToolbar.showWithAnimation()
|
||||
//styleToolbar.showWithAnimation()
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
@ -15,7 +14,7 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.anytypeio.anytype.core_ui.widgets.toolbar.style.StyleToolbarWidget
|
||||
<com.anytypeio.anytype.core_ui.widgets.toolbar.style.StyleColorToolbarWidget
|
||||
android:id="@+id/styleToolbar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_203"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.anytypeio.anytype.core_ui.widgets.toolbar.style.StyleToolbarWidget
|
||||
<com.anytypeio.anytype.core_ui.widgets.toolbar.style.StyleColorToolbarWidget
|
||||
android:id="@+id/styleToolbar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dp_203"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue