lun_launcher/app/src/main/res/layout/app_drawer.xml

211 lines
9.8 KiB
XML
Raw Normal View History

2024-08-12 17:02:52 +09:00
<?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"
android:layout_width="match_parent"
2024-08-14 16:06:50 +09:00
2024-08-12 17:02:52 +09:00
android:layout_height="match_parent">
2024-08-14 16:06:50 +09:00
<ScrollView
app:layout_constraintTop_toBottomOf="@id/searchInput"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="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
2024-08-22 20:39:57 +09:00
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
2024-08-14 16:06:50 +09:00
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
2024-08-22 20:39:57 +09:00
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
2024-08-14 16:06:50 +09:00
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"/>
2024-09-02 11:30:29 +09:00
<rasel.lunar.launcher.view.CircleImageView
android:src="@drawable/youtube"
android:id="@+id/search_youtube"
style="@style/SearchIcons"/>
2024-08-22 20:39:57 +09:00
</LinearLayout>
<LinearLayout
android:id="@+id/quickSearch2"
android:orientation="horizontal"
app:layout_constraintTop_toBottomOf="@id/quickSearch"
android:layout_width="match_parent"
android:layout_height="50dp">
2024-08-14 16:06:50 +09:00
<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"/>
2024-08-14 17:40:21 +09:00
<rasel.lunar.launcher.view.CircleImageView
android:src="@drawable/translate"
style="@style/SearchIcons"
android:id="@+id/search_translate"/>
2024-08-22 20:39:57 +09:00
<rasel.lunar.launcher.view.CircleImageView
android:src="@drawable/playstore"
style="@style/SearchIcons"
android:id="@+id/search_store"/>
2024-08-14 16:06:50 +09:00
</LinearLayout>
2024-08-14 16:06:50 +09:00
<TextView
2024-08-22 20:39:57 +09:00
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
2024-08-14 16:06:50 +09:00
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:id="@+id/title_contact"
2024-08-22 20:39:57 +09:00
app:layout_constraintTop_toBottomOf="@id/quickSearch2"
2024-08-14 16:06:50 +09:00
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"/>
2024-08-22 20:39:57 +09:00
<TextView
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:id="@+id/title_run"
app:layout_constraintTop_toBottomOf="@id/contactList"
app:layout_constraintLeft_toLeftOf="parent"
android:text="빠른 실행"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<LinearLayout
android:id="@+id/quickRun"
android:orientation="horizontal"
app:layout_constraintTop_toBottomOf="@id/title_run"
android:layout_width="match_parent"
android:layout_height="50dp">
<rasel.lunar.launcher.view.CircleImageView
style="@style/SearchIcons"
android:src="@drawable/send"
android:id="@+id/run_send"/>
<rasel.lunar.launcher.view.CircleImageView
style="@style/SearchIcons"
android:src="@drawable/telegram"
android:id="@+id/run_telegram"/>
<rasel.lunar.launcher.view.CircleImageView
style="@style/SearchIcons"
android:src="@drawable/katalk"
android:id="@+id/run_katalk"/>
<!-- <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"/>-->
<!-- <rasel.lunar.launcher.view.CircleImageView-->
<!-- android:src="@drawable/translate"-->
<!-- style="@style/SearchIcons"-->
<!-- android:id="@+id/search_translate"/>-->
<!-- <rasel.lunar.launcher.view.CircleImageView-->
<!-- android:src="@drawable/playstore"-->
<!-- style="@style/SearchIcons"-->
<!-- android:id="@+id/search_store"/>-->
</LinearLayout>
2024-08-14 16:06:50 +09:00
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
2024-08-12 17:02:52 +09:00
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/reset"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/rounded_bg"
android:padding="@dimen/eight"
android:layout_marginBottom="@dimen/four"
2024-08-14 16:06:50 +09:00
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
2024-08-12 17:02:52 +09:00
app:srcCompat="@drawable/ic_refresh" />
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/searchInput"
2024-08-13 18:22:27 +09:00
android:layout_width="0dp"
2024-08-12 17:02:52 +09:00
android:layout_height="wrap_content"
android:gravity="center"
android:imeOptions="actionSearch"
android:singleLine="true"
2024-08-13 18:22:27 +09:00
android:visibility="visible"
2024-08-14 16:06:50 +09:00
app:layout_constraintTop_toTopOf="parent"
2024-08-13 18:22:27 +09:00
app:layout_constraintLeft_toLeftOf="parent"
2024-08-14 16:06:50 +09:00
app:layout_constraintRight_toLeftOf="@id/reset"/>
2024-08-12 17:02:52 +09:00
</androidx.constraintlayout.widget.ConstraintLayout>