[add] 分享列表白+黑模式UI

This commit is contained in:
liujing
2020-09-01 20:10:06 +08:00
parent 07ac92cfa2
commit 2f926f9859
4 changed files with 20 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
android:id="@+id/road_case_card_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardBackgroundColor="#1F2131"
app:cardBackgroundColor="@color/share_event_item_bg_color"
app:cardCornerRadius="12px"
app:layout_constraintTop_toTopOf="parent">
@@ -92,7 +92,7 @@
android:lines="1"
android:paddingTop="2px"
android:text="东城区北三环附近维多欧美"
android:textColor="#FFFFFF"
android:textColor="@color/share_event_address_color"
android:textSize="18px" />
<TextView
@@ -106,7 +106,7 @@
android:gravity="left"
android:text="时间:"
android:paddingTop="2px"
android:textColor="#FFFFFF"
android:textColor="@color/share_event_share_time_color"
android:textSize="16px" />
</RelativeLayout>
</androidx.cardview.widget.CardView>

View File

@@ -7,6 +7,8 @@
<color name="transparent_white_30">#B3FFFFFF</color>
<color name="surrounding_item_bottom_color">#1F2131</color>
<color name="share_event_item_bg_color">#1F2131</color>
<color name="share_event_share_time_color">#FFFFFF</color>
<color name="share_event_address_color">#FFFFFF</color>
</resources>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="12px"/>
<gradient
android:startColor="#1F7EFF"
android:endColor="#1E57A4"
android:type="linear"
android:angle="180"/>
</shape>

View File

@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="module_v2x_bkg_color_light">#FFFFFF</color>
<color name="share_event_item_bg_color_light">#DDDDDD</color>
<color name="share_event_share_time_color_light">#999999</color>
<color name="share_event_address_color_light">#333333</color>
</resources>