feat: 增加壁纸显示,增加天气事件分发,增加HotSeat
This commit is contained in:
BIN
app/src/main/res/drawable-xxxhdpi/main_wallpaper.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/main_wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 MiB |
21
app/src/main/res/drawable/main_hotseat_background.xml
Normal file
21
app/src/main/res/drawable/main_hotseat_background.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 填充的颜色:这里设置背景透明 -->
|
||||
<solid android:color="@color/card_background_color" />
|
||||
<!-- 边框的颜色 :不能和窗口背景色一样 -->
|
||||
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners android:radius="@dimen/card_radius" />
|
||||
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<!-- <padding-->
|
||||
<!-- android:bottom="10dp"-->
|
||||
<!-- android:left="10dp"-->
|
||||
<!-- android:right="10dp"-->
|
||||
<!-- android:top="10dp" />-->
|
||||
|
||||
</shape>
|
||||
@@ -13,10 +13,9 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/default_background_color"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
<com.ttstd.dialer.wallpager.WallpaperViewPager
|
||||
android:id="@+id/viewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
@@ -28,13 +27,32 @@
|
||||
<net.lucode.hackware.magicindicator.MagicIndicator
|
||||
android:id="@+id/magicIndicator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/cl_hotseat"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_hotseat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
|
||||
<GridView
|
||||
android:id="@+id/gv_app"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginHorizontal="@dimen/dp_8"
|
||||
android:background="@drawable/main_hotseat_background"
|
||||
android:numColumns="auto_fit"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
@@ -24,213 +24,222 @@
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="3"
|
||||
android:orientation="horizontal">
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="wrap_content"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:text="00:00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_60"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.3"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="00:00" />
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_date"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_time"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_time"
|
||||
tools:text="1月1日" />
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:text="00:00"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_60"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.3"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="00:00" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_week"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_date"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_date"
|
||||
tools:text="星期一" />
|
||||
<TextView
|
||||
android:id="@+id/tv_date"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_time"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_time"
|
||||
tools:text="1月1日" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lunar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_date"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_week"
|
||||
tools:text="正月初一" />
|
||||
<TextView
|
||||
android:id="@+id/tv_week"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_date"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_date"
|
||||
tools:text="星期一" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lunar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_date"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_week"
|
||||
tools:text="正月初一" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:onClick="@{click::openWeather}"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_temp_current"
|
||||
android:layout_width="wrap_content"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_60"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:onClick="@{click::openWeather}"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.7"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="N/A°" />
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_location"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tv_temp_current"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_temp_current"
|
||||
tools:text="北京市" />
|
||||
<TextView
|
||||
android:id="@+id/tv_temp_current"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_60"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.7"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="N/A°" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_location"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_25"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tv_temp_current"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_temp_current"
|
||||
tools:text="北京市" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_weather"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tv_location"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_location"
|
||||
tools:text="晴" />
|
||||
<TextView
|
||||
android:id="@+id/tv_weather"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tv_location"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_location"
|
||||
tools:text="晴" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_temp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tv_weather"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_weather"
|
||||
tools:text="0°/10°" />
|
||||
<TextView
|
||||
android:id="@+id/tv_temp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:shadowColor="#80000000"
|
||||
android:shadowDx="2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tv_weather"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_weather"
|
||||
tools:text="0°/10°" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="5"
|
||||
android:layout_weight="4"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
@@ -239,93 +248,111 @@
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="@{click::openContact}"
|
||||
android:orientation="horizontal">
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:onClick="@{click::openContact}"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView1"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_contact"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="联系人"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView1"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView1"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView1" />
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView1"
|
||||
android:layout_width="@dimen/dp_80"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_contact"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="联系人"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView1"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView1"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView1" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="@{click::openSettings}"
|
||||
android:orientation="horizontal">
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:onClick="@{click::openSettings}"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView2"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_settings"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="设置"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView2"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView2"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView2" />
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView2"
|
||||
android:layout_width="@dimen/dp_80"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_settings"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="设置"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView2"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView2"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView2" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -335,97 +362,114 @@
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="@{click::openDouyin}"
|
||||
android:orientation="horizontal">
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:onClick="@{click::openDouyin}"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView3"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_douyin"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="微信"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView3"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView3"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView3" />
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView3"
|
||||
android:layout_width="@dimen/dp_80"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_douyin"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="微信"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView3"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView3"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView3" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:onClick="@{click::openWeixin}"
|
||||
android:orientation="horizontal">
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:onClick="@{click::openWeixin}"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView4"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_weixin"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="抖音"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView4"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView4"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView4" />
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/niceImageView4"
|
||||
android:layout_width="@dimen/dp_80"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_weixin"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="抖音"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/home_item_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="@+id/niceImageView4"
|
||||
app:layout_constraintStart_toStartOf="@+id/niceImageView4"
|
||||
app:layout_constraintTop_toBottomOf="@+id/niceImageView4" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -2,48 +2,62 @@
|
||||
<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"
|
||||
android:layout_height="@dimen/dp_120">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/root"
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/cardView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
android:layout_height="match_parent"
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="@dimen/dp_60"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/ic_launcher"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_app_name"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="appname"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_icon" />
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="@dimen/dp_60"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/ic_launcher"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_app_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="appname"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_icon"
|
||||
app:layout_constraintVertical_bias="0.26" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -4,7 +4,15 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/cardView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:cardCornerRadius="@dimen/card_radius"
|
||||
app:cardBackgroundColor="@color/card_background_color"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -14,8 +22,8 @@
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/nv_avatar"
|
||||
android:layout_width="@dimen/dp_120"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_width="@dimen/dp_108"
|
||||
android:layout_height="@dimen/dp_108"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_default_avatar"
|
||||
@@ -25,7 +33,7 @@
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.159" />
|
||||
app:layout_constraintVertical_bias="0.12" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
@@ -35,7 +43,7 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/nv_avatar"
|
||||
app:layout_constraintVertical_bias="0.5">
|
||||
app:layout_constraintVertical_bias="0.3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
@@ -63,7 +71,8 @@
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
63
app/src/main/res/layout/item_grid_app.xml
Normal file
63
app/src/main/res/layout/item_grid_app.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?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"
|
||||
android:layout_height="@dimen/dp_100">
|
||||
|
||||
<!-- <androidx.cardview.widget.CardView-->
|
||||
<!-- android:id="@+id/cardView"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- app:cardBackgroundColor="@color/card_background_color"-->
|
||||
<!-- app:cardCornerRadius="@dimen/card_radius"-->
|
||||
<!-- app:cardUseCompatPadding="true">-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.shehuan.niv.NiceImageView
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="@dimen/dp_60"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/ic_launcher"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_app_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="appname"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_icon"
|
||||
app:layout_constraintVertical_bias="0.1" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<!-- </androidx.cardview.widget.CardView>-->
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">56.8889sp</dimen>
|
||||
<dimen name="default_radius">22.7556dp</dimen>
|
||||
<dimen name="settings_item_height">227.5556dp</dimen>
|
||||
<dimen name="settings_text_size">51.2000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">42.6667sp</dimen>
|
||||
<dimen name="top_height">5.6889dp</dimen>
|
||||
<dimen name="card_radius">45.5111dp</dimen>
|
||||
<dimen name="dp_m_60">-170.6667dp</dimen>
|
||||
<dimen name="dp_m_30">-85.3333dp</dimen>
|
||||
<dimen name="dp_m_20">-56.8889dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-14.2222dp</dimen>
|
||||
<dimen name="dp_m_2">-5.6889dp</dimen>
|
||||
<dimen name="dp_m_1">-2.8444dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2844dp</dimen>
|
||||
<dimen name="dp_0_5">1.4222dp</dimen>
|
||||
<dimen name="dp_1">2.8444dp</dimen>
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">71.1111sp</dimen>
|
||||
<dimen name="default_radius">28.4444dp</dimen>
|
||||
|
||||
<dimen name="settings_item_height">284.4444dp</dimen>
|
||||
<dimen name="settings_text_size">64.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">53.3333sp</dimen>
|
||||
<dimen name="top_height">7.1111dp</dimen>
|
||||
<dimen name="card_radius">56.8889dp</dimen>
|
||||
<dimen name="dp_m_60">-213.3333dp</dimen>
|
||||
<dimen name="dp_m_30">-106.6667dp</dimen>
|
||||
<dimen name="dp_m_20">-71.1111dp</dimen>
|
||||
@@ -12,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-17.7778dp</dimen>
|
||||
<dimen name="dp_m_2">-7.1111dp</dimen>
|
||||
<dimen name="dp_m_1">-3.5556dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.3556dp</dimen>
|
||||
<dimen name="dp_0_5">1.7778dp</dimen>
|
||||
<dimen name="dp_1">3.5556dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">75.8333sp</dimen>
|
||||
<dimen name="default_radius">30.3333dp</dimen>
|
||||
<dimen name="settings_item_height">303.3333dp</dimen>
|
||||
<dimen name="settings_text_size">68.2500sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">56.8750sp</dimen>
|
||||
<dimen name="top_height">7.5833dp</dimen>
|
||||
<dimen name="card_radius">60.6667dp</dimen>
|
||||
<dimen name="dp_m_60">-227.5000dp</dimen>
|
||||
<dimen name="dp_m_30">-113.7500dp</dimen>
|
||||
<dimen name="dp_m_20">-75.8333dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-18.9583dp</dimen>
|
||||
<dimen name="dp_m_2">-7.5833dp</dimen>
|
||||
<dimen name="dp_m_1">-3.7917dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.3792dp</dimen>
|
||||
<dimen name="dp_0_5">1.8958dp</dimen>
|
||||
<dimen name="dp_1">3.7917dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">13.3333sp</dimen>
|
||||
<dimen name="default_radius">5.3333dp</dimen>
|
||||
<dimen name="settings_item_height">53.3333dp</dimen>
|
||||
<dimen name="settings_text_size">12.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">10.0000sp</dimen>
|
||||
<dimen name="top_height">1.3333dp</dimen>
|
||||
<dimen name="card_radius">10.6667dp</dimen>
|
||||
<dimen name="dp_m_60">-40.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-20.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-13.3333dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-3.3333dp</dimen>
|
||||
<dimen name="dp_m_2">-1.3333dp</dimen>
|
||||
<dimen name="dp_m_1">-0.6667dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.0667dp</dimen>
|
||||
<dimen name="dp_0_5">0.3333dp</dimen>
|
||||
<dimen name="dp_1">0.6667dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">17.7778sp</dimen>
|
||||
<dimen name="default_radius">7.1111dp</dimen>
|
||||
<dimen name="settings_item_height">71.1111dp</dimen>
|
||||
<dimen name="settings_text_size">16.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">13.3333sp</dimen>
|
||||
<dimen name="top_height">1.7778dp</dimen>
|
||||
<dimen name="card_radius">14.2222dp</dimen>
|
||||
<dimen name="dp_m_60">-53.3333dp</dimen>
|
||||
<dimen name="dp_m_30">-26.6667dp</dimen>
|
||||
<dimen name="dp_m_20">-17.7778dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-4.4444dp</dimen>
|
||||
<dimen name="dp_m_2">-1.7778dp</dimen>
|
||||
<dimen name="dp_m_1">-0.8889dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.0889dp</dimen>
|
||||
<dimen name="dp_0_5">0.4444dp</dimen>
|
||||
<dimen name="dp_1">0.8889dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">21.3333sp</dimen>
|
||||
<dimen name="default_radius">8.5333dp</dimen>
|
||||
<dimen name="settings_item_height">85.3333dp</dimen>
|
||||
<dimen name="settings_text_size">19.2000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">16.0000sp</dimen>
|
||||
<dimen name="top_height">2.1333dp</dimen>
|
||||
<dimen name="card_radius">17.0667dp</dimen>
|
||||
<dimen name="dp_m_60">-64.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-32.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-21.3333dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-5.3333dp</dimen>
|
||||
<dimen name="dp_m_2">-2.1333dp</dimen>
|
||||
<dimen name="dp_m_1">-1.0667dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1067dp</dimen>
|
||||
<dimen name="dp_0_5">0.5333dp</dimen>
|
||||
<dimen name="dp_1">1.0667dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">21.7778sp</dimen>
|
||||
<dimen name="default_radius">8.7111dp</dimen>
|
||||
<dimen name="settings_item_height">87.1111dp</dimen>
|
||||
<dimen name="settings_text_size">19.6000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">16.3333sp</dimen>
|
||||
<dimen name="top_height">2.1778dp</dimen>
|
||||
<dimen name="card_radius">17.4222dp</dimen>
|
||||
<dimen name="dp_m_60">-65.3333dp</dimen>
|
||||
<dimen name="dp_m_30">-32.6667dp</dimen>
|
||||
<dimen name="dp_m_20">-21.7778dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-5.4444dp</dimen>
|
||||
<dimen name="dp_m_2">-2.1778dp</dimen>
|
||||
<dimen name="dp_m_1">-1.0889dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1089dp</dimen>
|
||||
<dimen name="dp_0_5">0.5444dp</dimen>
|
||||
<dimen name="dp_1">1.0889dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">22.2222sp</dimen>
|
||||
<dimen name="default_radius">8.8889dp</dimen>
|
||||
<dimen name="settings_item_height">88.8889dp</dimen>
|
||||
<dimen name="settings_text_size">20.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">16.6667sp</dimen>
|
||||
<dimen name="top_height">2.2222dp</dimen>
|
||||
<dimen name="card_radius">17.7778dp</dimen>
|
||||
<dimen name="dp_m_60">-66.6667dp</dimen>
|
||||
<dimen name="dp_m_30">-33.3333dp</dimen>
|
||||
<dimen name="dp_m_20">-22.2222dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-5.5556dp</dimen>
|
||||
<dimen name="dp_m_2">-2.2222dp</dimen>
|
||||
<dimen name="dp_m_1">-1.1111dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1111dp</dimen>
|
||||
<dimen name="dp_0_5">0.5556dp</dimen>
|
||||
<dimen name="dp_1">1.1111dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">22.7778sp</dimen>
|
||||
<dimen name="default_radius">9.1111dp</dimen>
|
||||
<dimen name="settings_item_height">91.1111dp</dimen>
|
||||
<dimen name="settings_text_size">20.5000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">17.0833sp</dimen>
|
||||
<dimen name="top_height">2.2778dp</dimen>
|
||||
<dimen name="card_radius">18.2222dp</dimen>
|
||||
<dimen name="dp_m_60">-68.3333dp</dimen>
|
||||
<dimen name="dp_m_30">-34.1667dp</dimen>
|
||||
<dimen name="dp_m_20">-22.7778dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-5.6944dp</dimen>
|
||||
<dimen name="dp_m_2">-2.2778dp</dimen>
|
||||
<dimen name="dp_m_1">-1.1389dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1139dp</dimen>
|
||||
<dimen name="dp_0_5">0.5694dp</dimen>
|
||||
<dimen name="dp_1">1.1389dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">22.8333sp</dimen>
|
||||
<dimen name="default_radius">9.1333dp</dimen>
|
||||
<dimen name="settings_item_height">91.3333dp</dimen>
|
||||
<dimen name="settings_text_size">20.5500sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">17.1250sp</dimen>
|
||||
<dimen name="top_height">2.2833dp</dimen>
|
||||
<dimen name="card_radius">18.2667dp</dimen>
|
||||
<dimen name="dp_m_60">-68.5000dp</dimen>
|
||||
<dimen name="dp_m_30">-34.2500dp</dimen>
|
||||
<dimen name="dp_m_20">-22.8333dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-5.7083dp</dimen>
|
||||
<dimen name="dp_m_2">-2.2833dp</dimen>
|
||||
<dimen name="dp_m_1">-1.1417dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1142dp</dimen>
|
||||
<dimen name="dp_0_5">0.5708dp</dimen>
|
||||
<dimen name="dp_1">1.1417dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">24.0000sp</dimen>
|
||||
<dimen name="default_radius">9.6000dp</dimen>
|
||||
<dimen name="settings_item_height">96.0000dp</dimen>
|
||||
<dimen name="settings_text_size">21.6000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">18.0000sp</dimen>
|
||||
<dimen name="top_height">2.4000dp</dimen>
|
||||
<dimen name="card_radius">19.2000dp</dimen>
|
||||
<dimen name="dp_m_60">-72.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-36.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-24.0000dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-6.0000dp</dimen>
|
||||
<dimen name="dp_m_2">-2.4000dp</dimen>
|
||||
<dimen name="dp_m_1">-1.2000dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1200dp</dimen>
|
||||
<dimen name="dp_0_5">0.6000dp</dimen>
|
||||
<dimen name="dp_1">1.2000dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">26.6667sp</dimen>
|
||||
<dimen name="default_radius">10.6667dp</dimen>
|
||||
<dimen name="settings_item_height">106.6667dp</dimen>
|
||||
<dimen name="settings_text_size">24.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">20.0000sp</dimen>
|
||||
<dimen name="top_height">2.6667dp</dimen>
|
||||
<dimen name="card_radius">21.3333dp</dimen>
|
||||
<dimen name="dp_m_60">-80.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-40.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-26.6667dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-6.6667dp</dimen>
|
||||
<dimen name="dp_m_2">-2.6667dp</dimen>
|
||||
<dimen name="dp_m_1">-1.3333dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1333dp</dimen>
|
||||
<dimen name="dp_0_5">0.6667dp</dimen>
|
||||
<dimen name="dp_1">1.3333dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">29.6111sp</dimen>
|
||||
<dimen name="default_radius">11.8444dp</dimen>
|
||||
<dimen name="settings_item_height">118.4444dp</dimen>
|
||||
<dimen name="settings_text_size">26.6500sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">22.2083sp</dimen>
|
||||
<dimen name="top_height">2.9611dp</dimen>
|
||||
<dimen name="card_radius">23.6889dp</dimen>
|
||||
<dimen name="dp_m_60">-88.8333dp</dimen>
|
||||
<dimen name="dp_m_30">-44.4167dp</dimen>
|
||||
<dimen name="dp_m_20">-29.6111dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-7.4028dp</dimen>
|
||||
<dimen name="dp_m_2">-2.9611dp</dimen>
|
||||
<dimen name="dp_m_1">-1.4806dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1481dp</dimen>
|
||||
<dimen name="dp_0_5">0.7403dp</dimen>
|
||||
<dimen name="dp_1">1.4806dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">32.8889sp</dimen>
|
||||
<dimen name="default_radius">13.1556dp</dimen>
|
||||
<dimen name="settings_item_height">131.5556dp</dimen>
|
||||
<dimen name="settings_text_size">29.6000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">24.6667sp</dimen>
|
||||
<dimen name="top_height">3.2889dp</dimen>
|
||||
<dimen name="card_radius">26.3111dp</dimen>
|
||||
<dimen name="dp_m_60">-98.6667dp</dimen>
|
||||
<dimen name="dp_m_30">-49.3333dp</dimen>
|
||||
<dimen name="dp_m_20">-32.8889dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-8.2222dp</dimen>
|
||||
<dimen name="dp_m_2">-3.2889dp</dimen>
|
||||
<dimen name="dp_m_1">-1.6444dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1644dp</dimen>
|
||||
<dimen name="dp_0_5">0.8222dp</dimen>
|
||||
<dimen name="dp_1">1.6444dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">33.3333sp</dimen>
|
||||
<dimen name="default_radius">13.3333dp</dimen>
|
||||
<dimen name="settings_item_height">133.3333dp</dimen>
|
||||
<dimen name="settings_text_size">30.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">25.0000sp</dimen>
|
||||
<dimen name="top_height">3.3333dp</dimen>
|
||||
<dimen name="card_radius">26.6667dp</dimen>
|
||||
<dimen name="dp_m_60">-100.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-50.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-33.3333dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-8.3333dp</dimen>
|
||||
<dimen name="dp_m_2">-3.3333dp</dimen>
|
||||
<dimen name="dp_m_1">-1.6667dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1667dp</dimen>
|
||||
<dimen name="dp_0_5">0.8333dp</dimen>
|
||||
<dimen name="dp_1">1.6667dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">35.5556sp</dimen>
|
||||
<dimen name="default_radius">14.2222dp</dimen>
|
||||
<dimen name="settings_item_height">142.2222dp</dimen>
|
||||
<dimen name="settings_text_size">32.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">26.6667sp</dimen>
|
||||
<dimen name="top_height">3.5556dp</dimen>
|
||||
<dimen name="card_radius">28.4444dp</dimen>
|
||||
<dimen name="dp_m_60">-106.6667dp</dimen>
|
||||
<dimen name="dp_m_30">-53.3333dp</dimen>
|
||||
<dimen name="dp_m_20">-35.5556dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-8.8889dp</dimen>
|
||||
<dimen name="dp_m_2">-3.5556dp</dimen>
|
||||
<dimen name="dp_m_1">-1.7778dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1778dp</dimen>
|
||||
<dimen name="dp_0_5">0.8889dp</dimen>
|
||||
<dimen name="dp_1">1.7778dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">36.7778sp</dimen>
|
||||
<dimen name="default_radius">14.7111dp</dimen>
|
||||
<dimen name="settings_item_height">147.1111dp</dimen>
|
||||
<dimen name="settings_text_size">33.1000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">27.5833sp</dimen>
|
||||
<dimen name="top_height">3.6778dp</dimen>
|
||||
<dimen name="card_radius">29.4222dp</dimen>
|
||||
<dimen name="dp_m_60">-110.3333dp</dimen>
|
||||
<dimen name="dp_m_30">-55.1667dp</dimen>
|
||||
<dimen name="dp_m_20">-36.7778dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-9.1944dp</dimen>
|
||||
<dimen name="dp_m_2">-3.6778dp</dimen>
|
||||
<dimen name="dp_m_1">-1.8389dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.1839dp</dimen>
|
||||
<dimen name="dp_0_5">0.9194dp</dimen>
|
||||
<dimen name="dp_1">1.8389dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">40.0000sp</dimen>
|
||||
<dimen name="default_radius">16.0000dp</dimen>
|
||||
<dimen name="settings_item_height">160.0000dp</dimen>
|
||||
<dimen name="settings_text_size">36.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">30.0000sp</dimen>
|
||||
<dimen name="top_height">4.0000dp</dimen>
|
||||
<dimen name="card_radius">32.0000dp</dimen>
|
||||
<dimen name="dp_m_60">-120.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-60.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-40.0000dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-10.0000dp</dimen>
|
||||
<dimen name="dp_m_2">-4.0000dp</dimen>
|
||||
<dimen name="dp_m_1">-2.0000dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2000dp</dimen>
|
||||
<dimen name="dp_0_5">1.0000dp</dimen>
|
||||
<dimen name="dp_1">2.0000dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">42.6667sp</dimen>
|
||||
<dimen name="default_radius">17.0667dp</dimen>
|
||||
<dimen name="settings_item_height">170.6667dp</dimen>
|
||||
<dimen name="settings_text_size">38.4000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">32.0000sp</dimen>
|
||||
<dimen name="top_height">4.2667dp</dimen>
|
||||
<dimen name="card_radius">34.1333dp</dimen>
|
||||
<dimen name="dp_m_60">-128.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-64.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-42.6667dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-10.6667dp</dimen>
|
||||
<dimen name="dp_m_2">-4.2667dp</dimen>
|
||||
<dimen name="dp_m_1">-2.1333dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2133dp</dimen>
|
||||
<dimen name="dp_0_5">1.0667dp</dimen>
|
||||
<dimen name="dp_1">2.1333dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">44.4444sp</dimen>
|
||||
<dimen name="default_radius">17.7778dp</dimen>
|
||||
<dimen name="settings_item_height">177.7778dp</dimen>
|
||||
<dimen name="settings_text_size">40.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">33.3333sp</dimen>
|
||||
<dimen name="top_height">4.4444dp</dimen>
|
||||
<dimen name="card_radius">35.5556dp</dimen>
|
||||
<dimen name="dp_m_60">-133.3333dp</dimen>
|
||||
<dimen name="dp_m_30">-66.6667dp</dimen>
|
||||
<dimen name="dp_m_20">-44.4444dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-11.1111dp</dimen>
|
||||
<dimen name="dp_m_2">-4.4444dp</dimen>
|
||||
<dimen name="dp_m_1">-2.2222dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2222dp</dimen>
|
||||
<dimen name="dp_0_5">1.1111dp</dimen>
|
||||
<dimen name="dp_1">2.2222dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">45.0556sp</dimen>
|
||||
<dimen name="default_radius">18.0222dp</dimen>
|
||||
<dimen name="settings_item_height">180.2222dp</dimen>
|
||||
<dimen name="settings_text_size">40.5500sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">33.7917sp</dimen>
|
||||
<dimen name="top_height">4.5056dp</dimen>
|
||||
<dimen name="card_radius">36.0444dp</dimen>
|
||||
<dimen name="dp_m_60">-135.1667dp</dimen>
|
||||
<dimen name="dp_m_30">-67.5833dp</dimen>
|
||||
<dimen name="dp_m_20">-45.0556dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-11.2639dp</dimen>
|
||||
<dimen name="dp_m_2">-4.5056dp</dimen>
|
||||
<dimen name="dp_m_1">-2.2528dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2253dp</dimen>
|
||||
<dimen name="dp_0_5">1.1264dp</dimen>
|
||||
<dimen name="dp_1">2.2528dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">45.5556sp</dimen>
|
||||
<dimen name="default_radius">18.2222dp</dimen>
|
||||
<dimen name="settings_item_height">182.2222dp</dimen>
|
||||
<dimen name="settings_text_size">41.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">34.1667sp</dimen>
|
||||
<dimen name="top_height">4.5556dp</dimen>
|
||||
<dimen name="card_radius">36.4444dp</dimen>
|
||||
<dimen name="dp_m_60">-136.6667dp</dimen>
|
||||
<dimen name="dp_m_30">-68.3333dp</dimen>
|
||||
<dimen name="dp_m_20">-45.5556dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-11.3889dp</dimen>
|
||||
<dimen name="dp_m_2">-4.5556dp</dimen>
|
||||
<dimen name="dp_m_1">-2.2778dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2278dp</dimen>
|
||||
<dimen name="dp_0_5">1.1389dp</dimen>
|
||||
<dimen name="dp_1">2.2778dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">53.3333sp</dimen>
|
||||
<dimen name="default_radius">21.3333dp</dimen>
|
||||
<dimen name="settings_item_height">213.3333dp</dimen>
|
||||
<dimen name="settings_text_size">48.0000sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">40.0000sp</dimen>
|
||||
<dimen name="top_height">5.3333dp</dimen>
|
||||
<dimen name="card_radius">42.6667dp</dimen>
|
||||
<dimen name="dp_m_60">-160.0000dp</dimen>
|
||||
<dimen name="dp_m_30">-80.0000dp</dimen>
|
||||
<dimen name="dp_m_20">-53.3333dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-13.3333dp</dimen>
|
||||
<dimen name="dp_m_2">-5.3333dp</dimen>
|
||||
<dimen name="dp_m_1">-2.6667dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2667dp</dimen>
|
||||
<dimen name="dp_0_5">1.3333dp</dimen>
|
||||
<dimen name="dp_1">2.6667dp</dimen>
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
<resources>
|
||||
<dimen name="home_item_text_size">53.3889sp</dimen>
|
||||
<dimen name="default_radius">21.3556dp</dimen>
|
||||
<dimen name="settings_item_height">213.5556dp</dimen>
|
||||
<dimen name="settings_text_size">48.0500sp</dimen>
|
||||
<dimen name="settings_text_explanation_size">40.0417sp</dimen>
|
||||
<dimen name="top_height">5.3389dp</dimen>
|
||||
<dimen name="card_radius">42.7111dp</dimen>
|
||||
<dimen name="dp_m_60">-160.1667dp</dimen>
|
||||
<dimen name="dp_m_30">-80.0833dp</dimen>
|
||||
<dimen name="dp_m_20">-53.3889dp</dimen>
|
||||
@@ -11,7 +16,6 @@
|
||||
<dimen name="dp_m_5">-13.3472dp</dimen>
|
||||
<dimen name="dp_m_2">-5.3389dp</dimen>
|
||||
<dimen name="dp_m_1">-2.6694dp</dimen>
|
||||
<dimen name="dp_0">0.0000dp</dimen>
|
||||
<dimen name="dp_0_1">0.2669dp</dimen>
|
||||
<dimen name="dp_0_5">1.3347dp</dimen>
|
||||
<dimen name="dp_1">2.6694dp</dimen>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<color name="settings_text_color_item">#000000</color>
|
||||
<color name="setting_enable_color">#000000</color>
|
||||
<color name="setting_disable_color">#9D9D9D</color>
|
||||
|
||||
<color name="card_background_color">#BFFFFFFF</color>
|
||||
|
||||
<!--https://www.jianshu.com/p/8dc258dfd189-->
|
||||
<color name="transparent">#00000000</color><!--透明色-->
|
||||
@@ -254,4 +254,6 @@
|
||||
<color name="mediumblue">#0000cd</color><!--中兰色 -->
|
||||
<color name="darkblue">#00008b</color><!--暗蓝色 -->
|
||||
<color name="black">#000000</color><!--黑色 -->
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
<dimen name="settings_text_explanation_size">15sp</dimen>
|
||||
<dimen name="top_height">2dp</dimen>
|
||||
|
||||
<dimen name="card_radius">16dp</dimen>
|
||||
|
||||
|
||||
<dimen name="dp_m_60">-60dp</dimen>
|
||||
<dimen name="dp_m_30">-30dp</dimen>
|
||||
@@ -18,7 +20,6 @@
|
||||
<dimen name="dp_m_5">-5dp</dimen>
|
||||
<dimen name="dp_m_2">-2dp</dimen>
|
||||
<dimen name="dp_m_1">-1dp</dimen>
|
||||
<dimen name="dp_0">0dp</dimen>
|
||||
<dimen name="dp_0_1">0.1dp</dimen>
|
||||
<dimen name="dp_0_5">0.5dp</dimen>
|
||||
<dimen name="dp_1">1dp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user