...
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="@android:integer/config_longAnimTime"
|
||||
android:fromAlpha="0.0"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:toAlpha="1.0" />
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="@android:integer/config_longAnimTime"
|
||||
android:fromAlpha="1.0"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:toAlpha="0.0" />
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners android:topLeftRadius="30dp" />
|
||||
|
||||
<solid android:color="#fff" />
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<size
|
||||
android:width="30dp"
|
||||
android:height="30dp" />
|
||||
|
||||
<solid android:color="@color/purple_500" />
|
||||
|
||||
</shape>
|
||||
@@ -14,7 +14,7 @@
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:layout_height="0dp">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:orientation="vertical"
|
||||
@@ -207,7 +207,7 @@
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:background="@drawable/base_bg"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/searchInput"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="50dp"
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#ffbe00"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context=".behavior.Behavior">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/app_bar_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appbar_height"
|
||||
app:elevation="0dp">
|
||||
|
||||
<com.google.android.material.appbar.CollapsingToolbarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#ffbe00"
|
||||
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/toolbar_height"
|
||||
app:contentInsetStart="0dp"
|
||||
app:layout_collapseMode="pin">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="15dp"
|
||||
android:src="@drawable/ic_up" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_del"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="15dp"
|
||||
android:src="@drawable/ic_delete" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_share"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="15dp"
|
||||
android:src="@drawable/ic_link" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:id="@+id/calendarDateView"
|
||||
android:background="#ddd000"
|
||||
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
||||
android:orientation="vertical"
|
||||
app:spanCount="7"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_list_main"
|
||||
android:clipToPadding="false"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="5dp"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
tools:listitem="@layout/item_sample" />
|
||||
|
||||
<!-- ball -->
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/drawable_ball"
|
||||
app:layout_behavior="bums.lunatic.launcher.behavior.behaviorimpl.BehaviorTopBall" />
|
||||
|
||||
<!-- blackjin -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="BlackJin"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="45sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_behavior="bums.lunatic.launcher.behavior.behaviorimpl.BehaviorBlackJin" />
|
||||
|
||||
<!-- tistory -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Tistory"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="22sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_behavior="bums.lunatic.launcher.behavior.behaviorimpl.BehaviorTistory" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -12,7 +12,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:singleSelection="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/expandRss"
|
||||
@@ -43,7 +43,7 @@
|
||||
android:id="@+id/explayer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp">
|
||||
android:layout_margin="@dimen/default_layout_margin">
|
||||
<include
|
||||
android:id="@+id/feedsRss"
|
||||
android:background="@drawable/base_bg"
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
<ScrollView
|
||||
app:layout_constraintTop_toBottomOf="@id/explayer"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:background="@drawable/base_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
<?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="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/day"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="날짜"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_plus"
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="+"
|
||||
android:textColor="#ff0000"
|
||||
app:layout_constraintTop_toBottomOf="@id/day"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="당일소득"
|
||||
android:textColor="#ff0000"
|
||||
app:layout_constraintTop_toTopOf="@id/text_plus"
|
||||
app:layout_constraintStart_toEndOf="@id/text_plus"
|
||||
app:layout_constraintBottom_toBottomOf="@id/text_plus"/>
|
||||
<TextView
|
||||
android:id="@+id/text_minus"
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="-"
|
||||
android:textColor="#0000ff"
|
||||
app:layout_constraintTop_toBottomOf="@id/text_plus"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="당일지출"
|
||||
android:textColor="#0000ff"
|
||||
app:layout_constraintTop_toTopOf="@id/text_minus"
|
||||
app:layout_constraintStart_toEndOf="@id/text_minus"
|
||||
app:layout_constraintBottom_toBottomOf="@id/text_minus"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -3,55 +3,75 @@
|
||||
<data>
|
||||
<variable name="info" type="bums.lunatic.launcher.model.ShowingWeatherInfo"/>
|
||||
</data>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="80dp"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
style="@style/normal"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/amOrPm"
|
||||
android:gravity="center"
|
||||
android:text="@{info.amOrPm}"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textSize="14sp" />
|
||||
/>
|
||||
|
||||
<TextView
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/amOrPm"
|
||||
style="@style/normal"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/hour"
|
||||
android:background="@drawable/date_bg"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center"
|
||||
android:textSize="14sp"
|
||||
android:text="@{info.textHour}"
|
||||
android:textAlignment="center"/>
|
||||
<ImageView
|
||||
android:padding="8dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/hour"
|
||||
android:id="@+id/imgWeather"
|
||||
android:layout_width="40dp"
|
||||
android:layout_width="70dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/level_dress_img"
|
||||
android:layout_height="40dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="온도별 옷차림"
|
||||
app:tint="@android:color/white"/>
|
||||
<TextView
|
||||
app:layout_constraintBottom_toBottomOf="@id/imgWeather"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:includeFontPadding="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/textDress"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:textSize="11sp"
|
||||
style="@style/small"
|
||||
android:text="@{info.textCondition}"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"/>
|
||||
<TextView
|
||||
app:layout_constraintTop_toBottomOf="@id/textDress"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
style="@style/normal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/temperature"
|
||||
android:textColor="@android:color/white"
|
||||
android:text="@{info.temp}"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textSize="14sp"
|
||||
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"/>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
@@ -12,21 +12,24 @@
|
||||
android:id="@+id/weather_item">
|
||||
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/amOrPm"
|
||||
android:gravity="center"
|
||||
android:text="@{info.amOrPm}"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textSize="14sp" />
|
||||
|
||||
/>
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/hour"
|
||||
android:background="@drawable/date_bg"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center"
|
||||
android:textSize="14sp"
|
||||
|
||||
android:text="@{info.textHour}"
|
||||
android:textAlignment="center"/>
|
||||
<ImageView
|
||||
@@ -40,18 +43,18 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/textDress"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:textSize="11sp"
|
||||
style="@style/small"
|
||||
android:text="@{info.dress}"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"/>
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/temperature"
|
||||
android:textColor="@android:color/white"
|
||||
android:text="@{info.temp}"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textSize="14sp"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="SAMPLE"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -8,7 +8,7 @@
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<WebView
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/searcher_01"
|
||||
android:layout_width="match_parent"
|
||||
android:alpha="0"
|
||||
|
||||
@@ -13,16 +13,15 @@
|
||||
android:id="@+id/batteryProgress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/twelve"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:indeterminate="false"
|
||||
android:textSize="18sp"
|
||||
style="@style/normal"
|
||||
android:text="빠떼뤼 ~> 0%"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<bums.lunatic.launcher.view.DateTimeView
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/base_bg"
|
||||
@@ -32,7 +31,6 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/batteryProgress"
|
||||
android:textSize="16sp"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<ImageView
|
||||
@@ -42,17 +40,14 @@
|
||||
app:layout_constraintTop_toTopOf="@id/time"
|
||||
app:layout_constraintBottom_toBottomOf="@id/time"
|
||||
android:layout_width="40dp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:layout_height="40dp"/>
|
||||
|
||||
<bums.lunatic.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:layout_margin="@dimen/default_layout_margin"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:background="@null"
|
||||
@@ -60,32 +55,33 @@
|
||||
app:civ_border_width="1dp"
|
||||
app:civ_border_color="#000000"
|
||||
app:civ_label="택시"
|
||||
|
||||
android:layout_margin="5dp"
|
||||
android:visibility="gone"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/kakaot"
|
||||
android:id="@+id/alchol_katalkT"/>
|
||||
|
||||
<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"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/time"
|
||||
/>
|
||||
<!-- <com.google.android.material.textview.MaterialTextView-->
|
||||
<!-- android:id="@+id/weather"-->
|
||||
<!-- app:layout_goneMarginBottom="0dp"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:gravity="center"-->
|
||||
<!-- android:maxLines="1"-->
|
||||
<!-- android:textIsSelectable="false"-->
|
||||
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toBottomOf="@+id/time"-->
|
||||
<!-- />-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/current_music"
|
||||
app:layout_constraintTop_toBottomOf="@id/weather"
|
||||
app:layout_constraintTop_toBottomOf="@id/time"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:background="@drawable/base_bg"
|
||||
android:layout_margin="10dp"
|
||||
android:padding="5dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
app:layout_goneMarginTop="0dp"
|
||||
app:layout_goneMarginBottom="0dp"
|
||||
android:padding="@dimen/default_padding"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_width="match_parent"
|
||||
@@ -130,9 +126,9 @@
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<include
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/noticeSummary"
|
||||
layout="@layout/weather_book"
|
||||
android:layout_margin="10dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/current_music"
|
||||
@@ -141,8 +137,7 @@
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/summaryChoose"
|
||||
android:layout_width="0dp"
|
||||
android:gravity="center"
|
||||
@@ -155,6 +150,7 @@
|
||||
>
|
||||
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:id="@+id/missedCalls"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/tabs"
|
||||
@@ -166,6 +162,7 @@
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:id="@+id/otherCheck"
|
||||
android:gravity="center"
|
||||
android:background="@null"
|
||||
@@ -177,6 +174,7 @@
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:id="@+id/recentSms"
|
||||
android:gravity="center"
|
||||
android:background="@null"
|
||||
@@ -188,6 +186,7 @@
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
style="@style/normal"
|
||||
android:id="@+id/notice"
|
||||
android:gravity="center"
|
||||
android:background="@null"
|
||||
@@ -207,12 +206,12 @@
|
||||
>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/mainList"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:overScrollMode="never"
|
||||
android:padding="5dp"
|
||||
android:padding="@dimen/default_padding"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/base_bg"
|
||||
android:scrollbars="none"
|
||||
@@ -222,12 +221,12 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/smsList"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:overScrollMode="never"
|
||||
android:padding="5dp"
|
||||
android:padding="@dimen/default_padding"
|
||||
android:scrollbars="none"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/base_bg"
|
||||
@@ -239,12 +238,12 @@
|
||||
/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/infoList"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:overScrollMode="never"
|
||||
android:padding="5dp"
|
||||
android:padding="@dimen/default_padding"
|
||||
android:scrollbars="none"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/base_bg"
|
||||
@@ -256,12 +255,12 @@
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/notiList"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:overScrollMode="never"
|
||||
android:padding="5dp"
|
||||
android:padding="@dimen/default_padding"
|
||||
android:scrollbars="none"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/base_bg"
|
||||
@@ -274,16 +273,18 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="@dimen/default_layout_margin"
|
||||
android:id="@+id/favAppsGroup"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:layout_height="60dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="@dimen/twentyTwo"
|
||||
android:layout_marginBottom="@dimen/twelve"
|
||||
android:background="@drawable/base_bg"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
app:layout_constraintBottom_toBottomOf="parent" >
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -21,10 +21,9 @@
|
||||
android:id="@+id/title"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="24sp"
|
||||
style="@style/normal"
|
||||
android:maxLines="2"
|
||||
android:gravity="center_vertical|right"
|
||||
android:includeFontPadding="false"
|
||||
android:ellipsize="middle"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/circle_preview"
|
||||
@@ -34,9 +33,8 @@
|
||||
android:id="@+id/desc"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
style="@style/small"
|
||||
android:maxLines="2"
|
||||
android:includeFontPadding="false"
|
||||
android:gravity="center_vertical|right"
|
||||
android:ellipsize="middle"
|
||||
app:layout_constraintTop_toBottomOf="@id/title"
|
||||
@@ -48,10 +46,9 @@
|
||||
android:id="@+id/date"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
style="@style/small"
|
||||
android:lines="1"
|
||||
android:gravity="center_vertical|right"
|
||||
android:includeFontPadding="false"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/circle_preview"
|
||||
app:layout_constraintRight_toRightOf="parent"/>
|
||||
|
||||
@@ -6,60 +6,56 @@
|
||||
<variable name="textLocation" type="String"/>
|
||||
</data>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:padding="@dimen/default_padding"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAlignment="center">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp">
|
||||
<ImageView
|
||||
android:adjustViewBounds="true"
|
||||
android:padding="0dp"
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:id="@+id/header"
|
||||
android:paddingVertical="5dp">
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:contentDescription="시계 아이콘"
|
||||
app:srcCompat="@drawable/ico_time"
|
||||
tools:ignore="ImageContrastCheck"
|
||||
android:layout_marginLeft="20dp"
|
||||
app:tint="@android:color/white"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/textView2"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="시간별 예보"
|
||||
android:gravity="left"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginLeft="10dp"
|
||||
app:layout_constraintStart_toEndOf="@id/imageView"
|
||||
app:layout_constraintEnd_toStartOf="@id/textViewLocation"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintWidth_default="spread"/>
|
||||
<TextView
|
||||
android:id="@+id/textViewLocation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@{textLocation}"
|
||||
android:textAlignment="center"
|
||||
android:textSize="11sp"
|
||||
android:layout_marginRight="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
android:contentDescription="시계 아이콘"
|
||||
app:srcCompat="@drawable/ico_time"
|
||||
tools:ignore="ImageContrastCheck"
|
||||
android:layout_marginStart="@dimen/default_layout_margin"
|
||||
app:tint="@android:color/white"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/default_layout_margin"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="left|center_vertical"
|
||||
android:text="시간별 예보"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/_14sp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/imageView"
|
||||
app:layout_constraintEnd_toStartOf="@id/textViewLocation"
|
||||
app:layout_constraintStart_toEndOf="@id/imageView"
|
||||
app:layout_constraintTop_toTopOf="@id/imageView" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textViewLocation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@{textLocation}"
|
||||
android:textColor="@android:color/white"
|
||||
android:gravity="center_vertical|right"
|
||||
android:textSize="@dimen/_12sp"
|
||||
android:layout_marginEnd="@dimen/default_layout_margin"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/imageView"
|
||||
app:layout_constraintBottom_toBottomOf="@id/imageView"/>
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/weatherViewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="130dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/header"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
<?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" />
|
||||
<attr name="civ_label" format="string" />
|
||||
<attr name="civ_ts" format="dimension" />
|
||||
</declare-styleable>
|
||||
<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" />
|
||||
<attr name="civ_label" format="string" />
|
||||
<attr name="civ_ts" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="cbd_calendar_row" format="integer"/>
|
||||
<declare-styleable name="CalendarDateView">
|
||||
<attr name="cbd_calendar_row"/>
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
@@ -7,4 +7,14 @@
|
||||
<color name="red">#FFFF0000</color>
|
||||
<color name="green">#FF00FF00</color>
|
||||
<color name="blue">#FF0000FF</color>
|
||||
|
||||
|
||||
|
||||
<color name="purple_200">#FFBB86FC</color>
|
||||
<color name="purple_500">#FF6200EE</color>
|
||||
<color name="purple_700">#FF3700B3</color>
|
||||
<color name="teal_200">#FF03DAC5</color>
|
||||
<color name="teal_700">#FF018786</color>
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
</resources>
|
||||
@@ -20,4 +20,19 @@
|
||||
<dimen name="normalText">16sp</dimen>
|
||||
<dimen name="clockText">48sp</dimen>
|
||||
<dimen name="appsCountText">216sp</dimen>
|
||||
|
||||
<dimen name="default_layout_margin">7dp</dimen>
|
||||
<dimen name="default_padding">5dp</dimen>
|
||||
<dimen name="_26sp">28sp</dimen>
|
||||
<dimen name="_20sp">23sp</dimen>
|
||||
<dimen name="_14sp">17sp</dimen>
|
||||
<dimen name="_12sp">14sp</dimen>
|
||||
|
||||
|
||||
<!-- toolbar height -->
|
||||
<dimen name="toolbar_height">100dp</dimen>
|
||||
|
||||
<!-- appbar height -->
|
||||
<dimen name="appbar_height">329dp</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -70,5 +70,22 @@
|
||||
<item name="android:layout_weight">1</item>
|
||||
</style>
|
||||
|
||||
<style name="defaultTextView">
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="normal" parent="defaultTextView">
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
<item name="android:textSize">@dimen/_14sp</item>
|
||||
<item name="fontFamily">sans-serif-medium</item>
|
||||
</style>
|
||||
|
||||
<style name="small" parent="defaultTextView">
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
<item name="android:textSize">@dimen/_12sp</item>
|
||||
<item name="fontFamily">sans-serif-light</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user