mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-1086 Design | Typography, core ui module (#3089)
* DROID-1086 legacy * DROID-1086 core ui design * DROID-1086 legacy * DROID-1086 legacy * DROID-1086 legacy * DROID-1086 legacy * DROID-1086 legacy archive screen * DROID-1086 core-ui module design * DROID-1086 cutom widgets fix * DROID-1086 legacy * DROID-1086 legacy * DROID-1086 legacy styles * DROID-1086 legacy * DROID-1086 legacy * DROID-1086 legacy * DROID-1086 design fixes * DROID-1086 design system font fix
This commit is contained in:
parent
869ac6a370
commit
dc84f878f9
204 changed files with 255 additions and 7050 deletions
|
@ -1,7 +1,6 @@
|
|||
package com.anytypeio.anytype.sample
|
||||
|
||||
import android.os.Bundle
|
||||
import android.widget.ImageView
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import kotlinx.android.synthetic.main.activity_long_clicked.*
|
||||
|
@ -20,10 +19,6 @@ class LongClickActivity: AppCompatActivity() {
|
|||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_long_clicked)
|
||||
|
||||
findViewById<ImageView>(R.id.close).setOnClickListener {
|
||||
//styleToolbar.hideWithAnimation()
|
||||
}
|
||||
|
||||
textInputWidget.enableEditMode()
|
||||
textInputWidget.setText("Hi, Konstantin")
|
||||
|
||||
|
|
|
@ -1,21 +1,12 @@
|
|||
package com.anytypeio.anytype.sample
|
||||
|
||||
import android.os.Bundle
|
||||
import android.widget.ImageView
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import kotlinx.android.synthetic.main.activity_style.*
|
||||
|
||||
class StyleActivity: AppCompatActivity() {
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_style)
|
||||
|
||||
findViewById<ImageView>(R.id.close).setOnClickListener {
|
||||
//styleToolbar.hideWithAnimation()
|
||||
}
|
||||
|
||||
button.setOnClickListener {
|
||||
}
|
||||
}
|
||||
}
|
|
@ -32,7 +32,6 @@
|
|||
tools:text="sdsdsdsd"
|
||||
android:textColor="@color/white"
|
||||
android:background="@color/black"
|
||||
android:fontFamily="monospace"
|
||||
android:id="@+id/output"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
android:layout_margin="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:background="@drawable/rectangle_debug"
|
||||
android:fontFamily="monospace"
|
||||
android:gravity="center"
|
||||
android:padding="32dp"
|
||||
android:text="START"
|
||||
|
@ -30,7 +29,6 @@
|
|||
android:layout_margin="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:background="@drawable/rectangle_debug"
|
||||
android:fontFamily="monospace"
|
||||
android:gravity="center"
|
||||
android:padding="32dp"
|
||||
android:text="END"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_marginTop="32dp"
|
||||
android:fontFamily="monospace"
|
||||
android:gravity="center"
|
||||
android:padding="16dp"
|
||||
android:text="toogle"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
tools:context=".search.SearchOnPageActivity">
|
||||
|
||||
<EditText
|
||||
android:fontFamily="monospace"
|
||||
android:id="@+id/search"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -26,7 +25,6 @@
|
|||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:fontFamily="monospace"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
@ -153,6 +153,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:text="Button"
|
||||
android:clickable="true"
|
||||
app:buttonTitle="Add"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView25" />
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:fontFamily="monospace"
|
||||
android:id="@+id/input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
android:layout_height="1dp" />
|
||||
|
||||
<TextView
|
||||
android:fontFamily="@font/inter_regular"
|
||||
android:id="@+id/paragraph"
|
||||
android:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue