oh....
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="48dp"
|
||||
android:height="48dp"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="48">
|
||||
<path
|
||||
android:pathData="M44,24c0,11 -9,20 -20,20S4,35 4,24S13,4 24,4S44,13 44,24z"
|
||||
android:fillColor="#ff3d00"/>
|
||||
<path
|
||||
android:pathData="M26,16.2c-0.6,-0.6 -1.5,-0.9 -2.5,-1.1c-0.4,-0.5 -1,-1 -1.9,-1.5c-1.6,-0.8 -3.5,-1.2 -5.3,-0.9h-0.4c-0.1,0 -0.2,0.1 -0.4,0.1c0.2,0 1,0.4 1.6,0.6c-0.3,0.2 -0.8,0.2 -1.1,0.4c0,0 0,0 -0.1,0L15.7,14c-0.1,0.2 -0.2,0.4 -0.2,0.5c1.3,-0.1 3.2,0 4.6,0.4C19,15 18,15.3 17.3,15.7c-0.5,0.3 -1,0.6 -1.3,1.1c-1.2,1.3 -1.7,3.5 -1.3,5.9c0.5,2.7 2.4,11.4 3.4,16.3l0.3,1.6c0,0 3.5,0.4 5.6,0.4c1.2,0 3.2,0.3 3.7,-0.2c-0.1,0 -0.6,-0.6 -0.8,-1.1c-0.5,-1 -1,-1.9 -1.4,-2.6c-1.2,-2.5 -2.5,-5.9 -1.9,-8.1c0.1,-0.4 0.1,-2.1 0.4,-2.3c2.6,-1.7 2.4,-0.1 3.5,-0.8c0.5,-0.4 1,-0.9 1.2,-1.5C29.4,22.1 27.8,18 26,16.2z"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:pathData="M24,42c-9.9,0 -18,-8.1 -18,-18c0,-9.9 8.1,-18 18,-18c9.9,0 18,8.1 18,18C42,33.9 33.9,42 24,42zM24,8C15.2,8 8,15.2 8,24s7.2,16 16,16s16,-7.2 16,-16S32.8,8 24,8z"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:pathData="M19,21.1c-0.6,0 -1.2,0.5 -1.2,1.2c0,0.6 0.5,1.2 1.2,1.2c0.6,0 1.2,-0.5 1.2,-1.2C20.1,21.7 19.6,21.1 19,21.1zM19.5,22.2c-0.2,0 -0.3,-0.1 -0.3,-0.3c0,-0.2 0.1,-0.3 0.3,-0.3s0.3,0.1 0.3,0.3C19.8,22.1 19.6,22.2 19.5,22.2zM26.8,20.6c-0.6,0 -1,0.5 -1,1c0,0.6 0.5,1 1,1c0.6,0 1,-0.5 1,-1S27.3,20.6 26.8,20.6zM27.2,21.5c-0.1,0 -0.3,-0.1 -0.3,-0.3c0,-0.1 0.1,-0.3 0.3,-0.3c0.1,0 0.3,0.1 0.3,0.3S27.4,21.5 27.2,21.5zM19.3,18.9c0,0 -0.9,-0.4 -1.7,0.1c-0.9,0.5 -0.8,1.1 -0.8,1.1s-0.5,-1 0.8,-1.5C18.7,18.1 19.3,18.9 19.3,18.9M27.4,18.8c0,0 -0.6,-0.4 -1.1,-0.4c-1,0 -1.3,0.5 -1.3,0.5s0.2,-1.1 1.5,-0.9C27.1,18.2 27.4,18.8 27.4,18.8"
|
||||
android:fillColor="#0277bd"/>
|
||||
<path
|
||||
android:pathData="M23.3,35.7c0,0 -4.3,-2.3 -4.4,-1.4c-0.1,0.9 0,4.7 0.5,5s4.1,-1.9 4.1,-1.9L23.3,35.7zM25,35.6c0,0 2.9,-2.2 3.6,-2.1c0.6,0.1 0.8,4.7 0.2,4.9c-0.6,0.2 -3.9,-1.2 -3.9,-1.2L25,35.6z"
|
||||
android:fillColor="#8bc34a"/>
|
||||
<path
|
||||
android:pathData="M22.5,35.7c0,1.5 -0.2,2.1 0.4,2.3c0.6,0.1 1.9,0 2.3,-0.3c0.4,-0.3 0.1,-2.2 -0.1,-2.6C25,34.8 22.5,35.1 22.5,35.7"
|
||||
android:fillColor="#689f38"/>
|
||||
<path
|
||||
android:pathData="M22.3,26.8c0.1,-0.7 2,-2.1 3.3,-2.2c1.3,-0.1 1.7,-0.1 2.8,-0.3c1.1,-0.3 3.9,-1 4.7,-1.3c0.8,-0.4 4.1,0.2 1.8,1.5c-1,0.6 -3.7,1.6 -5.7,2.2c-1.9,0.6 -3.1,-0.6 -3.8,0.4c-0.5,0.8 -0.1,1.8 2.2,2c3.1,0.3 6.2,-1.4 6.5,-0.5c0.3,0.9 -2.7,2 -4.6,2.1c-1.8,0 -5.6,-1.2 -6.1,-1.6C22.9,28.7 22.2,27.8 22.3,26.8"
|
||||
android:fillColor="#ffca28"/>
|
||||
</vector>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
@@ -3,43 +3,114 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/appsCount"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:textColor="?attr/colorControlHighlight"
|
||||
android:textSize="@dimen/appsCountText"
|
||||
android:gravity="center"
|
||||
|
||||
|
||||
<ScrollView
|
||||
app:layout_constraintTop_toBottomOf="@id/searchInput"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/appsList"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:layout_height="0dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:fadingEdgeLength="@dimen/sixteen"
|
||||
android:overScrollMode="never"
|
||||
android:requiresFadingEdge="vertical"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/searchInput"
|
||||
app:layout_constraintEnd_toStartOf="@+id/search"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<!-- <rasel.lunar.launcher.apps.AlphabetScrollbar-->
|
||||
<!-- android:id="@+id/alphabets"-->
|
||||
<!-- android:layout_width="@dimen/zero"-->
|
||||
<!-- android:visibility="gone"-->
|
||||
<!-- android:layout_height="@dimen/zero"-->
|
||||
<!-- android:layout_marginBottom="@dimen/four"-->
|
||||
<!-- app:layout_constraintBottom_toTopOf="@+id/reset"-->
|
||||
<!-- app:layout_constraintStart_toStartOf="@id/reset"-->
|
||||
<!-- app:layout_constraintEnd_toEndOf="parent" />-->
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/title_apps"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:text="앱 검색"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/appsCount"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:text="앱 검색"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
app:layout_constraintTop_toBottomOf="@id/title_apps"
|
||||
android:id="@+id/appsList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="90dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:overScrollMode="never"
|
||||
android:requiresFadingEdge="horizontal"
|
||||
android:scrollbars="none"
|
||||
/>
|
||||
<TextView
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/title_webs"
|
||||
app:layout_constraintTop_toBottomOf="@id/appsList"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:text="빠른 검색"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/quickSearch"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@id/title_webs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp">
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
style="@style/SearchIcons"
|
||||
android:src="@drawable/google"
|
||||
android:id="@+id/search_google"/>
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
style="@style/SearchIcons"
|
||||
android:src="@drawable/naver"
|
||||
android:id="@+id/search_naver"/>
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
style="@style/SearchIcons"
|
||||
android:src="@drawable/duckduckgo"
|
||||
android:id="@+id/search_duckduckgo"/>
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
android:src="@drawable/namuwiki"
|
||||
android:id="@+id/search_namuwiki"
|
||||
style="@style/SearchIcons"/>
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
style="@style/SearchIcons"
|
||||
android:src="@drawable/gmap"
|
||||
android:id="@+id/search_googleMap"/>
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
style="@style/SearchIcons"
|
||||
android:src="@drawable/navermap"
|
||||
android:id="@+id/search_nmap"/>
|
||||
<rasel.lunar.launcher.view.CircleImageView
|
||||
android:src="@drawable/tmap"
|
||||
style="@style/SearchIcons"
|
||||
android:id="@+id/search_tmap"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/title_contact"
|
||||
app:layout_constraintTop_toBottomOf="@id/quickSearch"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:text="연락처"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
app:layout_constraintTop_toBottomOf="@id/title_contact"
|
||||
android:id="@+id/contactList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="90dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:overScrollMode="never"
|
||||
android:requiresFadingEdge="horizontal"
|
||||
android:scrollbars="none"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/reset"
|
||||
@@ -48,42 +119,10 @@
|
||||
android:background="@drawable/rounded_bg"
|
||||
android:padding="@dimen/eight"
|
||||
android:layout_marginBottom="@dimen/four"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/moveUp"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_refresh" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/moveUp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rounded_bg"
|
||||
android:padding="@dimen/eight"
|
||||
android:layout_marginBottom="@dimen/four"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/moveDown"
|
||||
app:srcCompat="@drawable/ic_up" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/moveDown"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rounded_bg"
|
||||
android:padding="@dimen/eight"
|
||||
android:layout_marginBottom="@dimen/four"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/search"
|
||||
app:srcCompat="@drawable/ic_down" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/search"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rounded_bg"
|
||||
android:padding="@dimen/eight"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:srcCompat="@drawable/ic_search" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/searchInput"
|
||||
android:layout_width="0dp"
|
||||
@@ -92,7 +131,8 @@
|
||||
android:imeOptions="actionSearch"
|
||||
android:singleLine="true"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"/>
|
||||
app:layout_constraintRight_toLeftOf="@id/reset"/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@@ -1,39 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="45dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@drawable/apps_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/appIconTwo"
|
||||
android:visibility="gone"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_width="@dimen/forty"
|
||||
android:layout_height="@dimen/forty"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="@dimen/four" />
|
||||
/>
|
||||
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_marginBottom="@dimen/four"
|
||||
android:visibility="visible"
|
||||
android:id="@+id/appIcon"
|
||||
android:layout_width="@dimen/forty"
|
||||
android:layout_height="@dimen/forty" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/childTextview"
|
||||
app:layout_constraintTop_toBottomOf="@id/appIconTwo"
|
||||
app:layout_constraintLeft_toRightOf="@id/appIcon"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_marginLeft="5dp"
|
||||
app:layout_constraintLeft_toRightOf="@id/appIconTwo"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:lines="2"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_marginBottom="@dimen/four"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_margin="5dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@drawable/apps_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/name"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
/>
|
||||
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/number"
|
||||
app:layout_constraintTop_toBottomOf="@id/name"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_marginBottom="@dimen/four"
|
||||
android:layout_height="20dp" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="CircleImageView">
|
||||
<attr name="civ_border_width" format="dimension" />
|
||||
<attr name="civ_border_color" format="color" />
|
||||
<attr name="civ_border_overlay" format="boolean" />
|
||||
<attr name="civ_circle_background_color" format="color" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<resources xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<style name="Theme.LunarLauncher.Starting" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/ic_launcher_primary</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
|
||||
@@ -21,4 +21,17 @@
|
||||
<style name="SettingsNavBar">
|
||||
<item name="android:navigationBarColor">?attr/colorSurface</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="SearchIcons">
|
||||
<item name="android:layout_margin">5dp</item>
|
||||
<item name="android:adjustViewBounds">true</item>
|
||||
<item name="android:scaleType">fitCenter</item>
|
||||
<item name="android:background">@null</item>
|
||||
<item name="android:layout_width">40dp</item>
|
||||
<item name="android:layout_height">40dp</item>
|
||||
<item name="civ_border_width">1dp</item>
|
||||
<item name="civ_border_color">#000000</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user