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

276 lines
11 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"
2024-08-22 16:00:05 +09:00
xmlns:tools="http://schemas.android.com/tools"
2024-09-05 18:11:18 +09:00
android:background="@android:color/transparent"
2024-08-12 17:02:52 +09:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2024-08-27 19:00:43 +09:00
2024-09-05 18:27:39 +09:00
2024-09-05 18:11:18 +09:00
2024-09-04 18:18:36 +09:00
<TextView
2024-08-12 17:02:52 +09:00
android:id="@+id/batteryProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/twelve"
2024-09-04 18:18:36 +09:00
android:layout_marginRight="12dp"
2024-08-12 17:02:52 +09:00
android:indeterminate="false"
2024-09-04 18:18:36 +09:00
android:textSize="18sp"
android:text="빠떼뤼 ~> 0%"
app:layout_constraintRight_toRightOf="parent"
2024-08-12 17:02:52 +09:00
app:layout_constraintTop_toTopOf="parent" />
2024-09-04 18:18:36 +09:00
<rasel.lunar.launcher.view.DateTimeView
2024-09-05 18:11:18 +09:00
android:layout_margin="10dp"
2024-09-04 18:18:36 +09:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2024-09-05 18:11:18 +09:00
android:background="@drawable/base_bg"
2024-09-04 18:18:36 +09:00
android:text="this is init sentence"
2024-09-04 18:29:53 +09:00
android:id="@+id/time"
2024-09-04 18:18:36 +09:00
android:gravity="center"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/batteryProgress"
android:textSize="16sp"
tools:ignore="MissingConstraints" />
2024-09-05 18:27:39 +09:00
<rasel.lunar.launcher.view.CircleImageView
app:layout_constraintLeft_toLeftOf="@id/time"
app:layout_constraintTop_toTopOf="@id/time"
app:layout_constraintBottom_toBottomOf="@id/time"
android:layout_marginTop="2.5dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginBottom="2.5dp"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:background="@null"
android:layout_width="wrap_content"
app:civ_border_width="1dp"
app:civ_border_color="#000000"
app:civ_label="택시"
2024-09-05 18:38:52 +09:00
2024-09-05 18:27:39 +09:00
android:layout_margin="5dp"
2024-09-05 18:38:52 +09:00
android:visibility="gone"
2024-09-05 18:27:39 +09:00
android:layout_height="0dp"
android:src="@drawable/kakaot"
android:id="@+id/alchol_katalkT"/>
2024-09-05 18:11:18 +09:00
<!-- <TextClock-->
<!-- android:id="@+id/time"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:maxLines="1"-->
<!-- android:textIsSelectable="false"-->
<!-- android:textSize="@dimen/clockText"-->
<!-- android:textStyle="bold"-->
<!-- android:textLocale="en_US"-->
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
<!-- app:layout_constraintRight_toRightOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/batteryProgress"-->
<!-- tools:ignore="UnusedAttribute" />-->
<!-- <TextClock-->
<!-- android:id="@+id/date"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:maxLines="1"-->
<!-- android:textSize="20sp"-->
<!-- android:format12Hour="yyyy년 M월 d일 E요일"-->
<!-- android:textIsSelectable="false"-->
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
<!-- app:layout_constraintRight_toRightOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/time"-->
<!-- tools:ignore="UnusedAttribute" />-->
2024-08-12 17:02:52 +09:00
<com.google.android.material.textview.MaterialTextView
android:id="@+id/weather"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:maxLines="1"
android:textIsSelectable="false"
2024-09-04 18:18:36 +09:00
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
2024-09-04 18:29:53 +09:00
app:layout_constraintTop_toBottomOf="@+id/time"
2024-08-12 17:02:52 +09:00
app:layout_constraintVertical_bias="0.100" />
<RelativeLayout
android:id="@+id/current_music"
app:layout_constraintTop_toBottomOf="@id/weather"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_alignParentLeft="true"
android:id="@+id/album_art"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:layout_width="40dp"
android:layout_height="40dp"/>
<TextView
android:layout_alignLeft="@id/album_art"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:id="@+id/artist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:layout_alignLeft="@id/album_art"
android:layout_alignParentRight="true"
android:layout_below="@id/artist"
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</RelativeLayout>
2024-09-05 18:11:18 +09:00
<LinearLayout
android:layout_margin="10dp"
2024-09-04 18:18:36 +09:00
android:layout_marginTop="20dp"
2024-08-22 17:51:59 +09:00
android:id="@+id/summaryChoose"
android:layout_width="0dp"
android:gravity="center"
2024-09-05 18:11:18 +09:00
android:background="@drawable/base_bg"
2024-08-22 17:51:59 +09:00
app:layout_constraintLeft_toLeftOf="parent"
android:orientation="horizontal"
app:layout_constraintRight_toRightOf="parent"
2024-08-25 14:45:57 +09:00
android:layout_height="40dp"
app:layout_constraintTop_toBottomOf="@+id/current_music"
2024-08-22 17:51:59 +09:00
>
2024-08-27 19:00:43 +09:00
2024-09-05 18:11:18 +09:00
<TextView
2024-08-22 17:51:59 +09:00
android:id="@+id/missedCalls"
android:gravity="center"
2024-08-30 18:09:49 +09:00
android:textColor="@color/tabs"
2024-08-22 17:51:59 +09:00
android:text="전화"
2024-09-05 18:11:18 +09:00
android:background="@null"
2024-08-22 17:51:59 +09:00
android:checked="true"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
2024-08-27 19:00:43 +09:00
2024-09-05 18:11:18 +09:00
<TextView
2024-08-27 19:00:43 +09:00
android:id="@+id/otherCheck"
2024-08-22 17:51:59 +09:00
android:gravity="center"
2024-09-05 18:11:18 +09:00
android:background="@null"
2024-08-22 17:51:59 +09:00
android:text="투두"
2024-08-30 18:09:49 +09:00
android:textColor="@color/tabs"
2024-08-22 17:51:59 +09:00
android:checked="false"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
2024-08-27 19:00:43 +09:00
2024-09-05 18:11:18 +09:00
<TextView
2024-08-23 17:05:42 +09:00
android:id="@+id/recentSms"
2024-08-22 17:51:59 +09:00
android:gravity="center"
2024-09-05 18:11:18 +09:00
android:background="@null"
2024-08-22 17:51:59 +09:00
android:text="문자"
2024-08-30 18:09:49 +09:00
android:textColor="@color/tabs"
2024-08-22 17:51:59 +09:00
android:checked="false"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
2024-08-30 14:43:42 +09:00
2024-09-05 18:11:18 +09:00
<TextView
android:id="@+id/notice"
android:gravity="center"
android:background="@null"
android:text="알림"
android:textColor="@color/tabs"
android:checked="false"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
2024-08-30 14:43:42 +09:00
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@+id/summaryChoose"
2024-09-04 18:18:36 +09:00
app:layout_constraintBottom_toTopOf="@id/favAppsGroup"
2024-09-05 18:11:18 +09:00
>
<androidx.recyclerview.widget.RecyclerView
android:layout_margin="10dp"
android:id="@+id/mainList"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
android:padding="5dp"
android:visibility="gone"
android:background="@drawable/base_bg"
android:scrollbars="none"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_margin="10dp"
android:id="@+id/smsList"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
android:padding="5dp"
android:scrollbars="none"
android:visibility="gone"
android:background="@drawable/base_bg"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_margin="10dp"
android:id="@+id/infoList"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
android:padding="5dp"
android:scrollbars="none"
android:visibility="gone"
android:background="@drawable/base_bg"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_margin="10dp"
android:id="@+id/notiList"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
android:padding="5dp"
android:scrollbars="none"
android:visibility="gone"
android:background="@drawable/base_bg"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
/>
</RelativeLayout>
2024-08-12 17:02:52 +09:00
<androidx.appcompat.widget.LinearLayoutCompat
2024-09-05 18:11:18 +09:00
android:layout_margin="10dp"
2024-08-12 17:02:52 +09:00
android:id="@+id/favAppsGroup"
android:layout_width="@dimen/zero"
2024-09-04 18:18:36 +09:00
android:layout_height="60dp"
2024-08-12 17:02:52 +09:00
android:layout_marginTop="@dimen/twentyTwo"
android:layout_marginBottom="@dimen/twelve"
2024-09-05 18:11:18 +09:00
android:background="@drawable/base_bg"
2024-08-12 17:02:52 +09:00
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2024-09-04 18:18:36 +09:00
app:layout_constraintBottom_toBottomOf="parent" />
2024-09-05 18:11:18 +09:00
2024-08-12 17:02:52 +09:00
</androidx.constraintlayout.widget.ConstraintLayout>