已选任务文案;项目颜色行可横滑;通知计时放大与操作按钮圆角背景
This commit is contained in:
@@ -40,11 +40,12 @@
|
||||
android:id="@+id/notifChrono"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_marginTop="1dp"
|
||||
android:countDown="true"
|
||||
android:includeFontPadding="false"
|
||||
android:textSize="13sp"
|
||||
android:textColor="?android:attr/textColorSecondary" />
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="?android:attr/textColorPrimary" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageButton
|
||||
@@ -52,7 +53,7 @@
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="44dp"
|
||||
android:padding="10dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:background="@drawable/bg_notif_action"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_pause"
|
||||
android:tint="?android:attr/textColorPrimary"
|
||||
@@ -63,7 +64,7 @@
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="44dp"
|
||||
android:padding="10dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:background="@drawable/bg_notif_action"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_stop"
|
||||
android:tint="?android:attr/textColorPrimary"
|
||||
|
||||
@@ -52,12 +52,23 @@
|
||||
android:text="@string/project_color"
|
||||
style="@style/T.Section" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/colorRow"
|
||||
<!-- 八色圆点横向可滑,末位颜色不再被弹层右边缘裁掉 -->
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal" />
|
||||
android:clipToPadding="false"
|
||||
android:paddingEnd="20dp"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/colorRow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp" />
|
||||
</HorizontalScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
Reference in New Issue
Block a user