修复背景色渐变问题
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<solid android:color="#00000000" />
|
||||
<corners android:radius="@dimen/dp_30" />
|
||||
<corners android:radius="@dimen/dp_26" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
@@ -20,13 +20,13 @@
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<solid android:color="#00000000" />
|
||||
<corners android:radius="@dimen/dp_30" />
|
||||
<corners android:radius="@dimen/dp_26" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 中心背景 -->
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/dp_30" />
|
||||
<corners android:radius="@dimen/dp_26" />
|
||||
<gradient
|
||||
android:angle="135"
|
||||
android:endColor="#3F4057"
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:src="@drawable/selector_live_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -144,7 +144,7 @@
|
||||
android:id="@+id/ivEventReportTrue"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/icon_report_true"
|
||||
android:visibility="gone"
|
||||
@@ -157,7 +157,7 @@
|
||||
android:id="@+id/ivEventReportErr"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:src="@drawable/icon_report_err"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
@@ -169,7 +169,7 @@
|
||||
android:id="@+id/ivEventCallChart"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:src="@drawable/selector_talk_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
@@ -181,7 +181,7 @@
|
||||
android:id="@+id/ivEventEventNav"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:src="@drawable/selector_nav_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
@@ -193,7 +193,7 @@
|
||||
android:id="@+id/ivEventZan"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_15"
|
||||
android:src="@drawable/v2x_event_icon_zan"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<solid android:color="#0DCCCCCC" />
|
||||
<corners android:radius="@dimen/dp_30" />
|
||||
<corners android:radius="@dimen/dp_26" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
@@ -20,22 +20,19 @@
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<solid android:color="#26CCCCCC" />
|
||||
<corners android:radius="@dimen/dp_30" />
|
||||
<corners android:radius="@dimen/dp_26" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 中心背景 -->
|
||||
<item>
|
||||
<shape
|
||||
android:shape="rectangle"
|
||||
android:useLevel="false">
|
||||
<!-- 实心 -->
|
||||
<solid android:color="#ffffff" />
|
||||
<corners android:radius="@dimen/dp_30" />
|
||||
<padding
|
||||
android:bottom="10dp"
|
||||
android:left="10dp"
|
||||
android:right="10dp"
|
||||
android:top="10dp" />
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/dp_26" />
|
||||
<gradient
|
||||
android:angle="135"
|
||||
android:endColor="#E6F5F5F5"
|
||||
android:startColor="#FFFFFF"
|
||||
android:type="linear"
|
||||
android:useLevel="true" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user