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

167 lines
6.4 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-04 18:18:36 +09:00
android:background="#05000000"
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-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
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="this is init sentence"
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-08-12 17:02:52 +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"
2024-08-22 16:00:05 +09:00
android:textLocale="en_US"
2024-09-04 18:18:36 +09:00
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/batteryProgress"
2024-08-22 16:00:05 +09:00
tools:ignore="UnusedAttribute" />
2024-08-12 17:02:52 +09:00
<TextClock
android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:maxLines="1"
2024-09-04 18:18:36 +09:00
android:textSize="20sp"
android:format12Hour="yyyy년 M월 d일 E요일"
2024-08-12 17:02:52 +09:00
android:textIsSelectable="false"
2024-09-04 18:18:36 +09:00
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
2024-08-12 17:02:52 +09:00
app:layout_constraintTop_toBottomOf="@+id/time"
2024-08-22 16:00:05 +09:00
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-08-12 17:02:52 +09:00
app:layout_constraintTop_toBottomOf="@+id/date"
app:layout_constraintVertical_bias="0.100" />
2024-08-22 17:51:59 +09:00
<RadioGroup
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"
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"
2024-09-04 18:18:36 +09:00
app:layout_constraintTop_toBottomOf="@+id/weather"
2024-08-22 17:51:59 +09:00
>
2024-08-27 19:00:43 +09:00
2024-08-22 17:51:59 +09:00
<RadioButton
android:id="@+id/missedCalls"
android:button="@null"
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="전화"
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-08-22 17:51:59 +09:00
<RadioButton
2024-08-27 19:00:43 +09:00
android:id="@+id/otherCheck"
2024-08-22 17:51:59 +09:00
android:gravity="center"
android:button="@null"
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-08-22 17:51:59 +09:00
<RadioButton
2024-08-23 17:05:42 +09:00
android:id="@+id/recentSms"
2024-08-22 17:51:59 +09:00
android:gravity="center"
android:button="@null"
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"/>
</RadioGroup>
2024-08-12 17:02:52 +09:00
<androidx.recyclerview.widget.RecyclerView
2024-08-25 14:45:57 +09:00
android:id="@+id/mainList"
android:layout_width="0dp"
2024-08-23 17:27:44 +09:00
android:layout_height="0dp"
2024-08-12 17:02:52 +09:00
android:overScrollMode="never"
2024-08-22 17:51:59 +09:00
android:padding="20dp"
2024-08-12 17:02:52 +09:00
android:scrollbars="none"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2024-08-23 17:27:44 +09:00
app:layout_constraintTop_toBottomOf="@+id/summaryChoose"
2024-09-04 18:18:36 +09:00
app:layout_constraintBottom_toTopOf="@id/favAppsGroup"
2024-08-23 17:27:44 +09:00
/>
2024-08-30 14:43:42 +09:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/smsList"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
android:padding="20dp"
android:scrollbars="none"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/summaryChoose"
2024-09-04 18:18:36 +09:00
app:layout_constraintBottom_toTopOf="@id/favAppsGroup"
2024-08-30 14:43:42 +09:00
/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/infoList"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
android:padding="20dp"
android:scrollbars="none"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/summaryChoose"
2024-09-04 18:18:36 +09:00
app:layout_constraintBottom_toTopOf="@id/favAppsGroup"
2024-08-30 14:43:42 +09:00
/>
2024-08-12 17:02:52 +09:00
<androidx.appcompat.widget.LinearLayoutCompat
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"
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-08-12 17:02:52 +09:00
</androidx.constraintlayout.widget.ConstraintLayout>