update notification styling

This commit is contained in:
Nathan Freitas 2017-03-22 12:58:34 -04:00
parent 248bcc979d
commit 5b9a34199e
2 changed files with 11 additions and 10 deletions

View File

@ -19,7 +19,7 @@
android:id="@+id/status_bar_latest_event_content" android:id="@+id/status_bar_latest_event_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#333333" android:background="#545454"
> >
<ImageView android:id="@+id/icon" <ImageView android:id="@+id/icon"
android:layout_width="@dimen/notification_large_icon_width" android:layout_width="@dimen/notification_large_icon_width"
@ -118,6 +118,7 @@
android:layout_marginBottom="-2dp" android:layout_marginBottom="-2dp"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:fadingEdge="horizontal" android:fadingEdge="horizontal"
android:textColor="#cdcdcd"
/> />
</LinearLayout> </LinearLayout>
</FrameLayout> </FrameLayout>

View File

@ -29,10 +29,10 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="fill_vertical" android:layout_gravity="fill_vertical"
android:layout_marginStart="@dimen/notification_large_icon_width" android:layout_marginLeft="@dimen/notification_large_icon_width"
android:minHeight="@dimen/notification_large_icon_height" android:minHeight="@dimen/notification_large_icon_height"
android:orientation="vertical" android:orientation="vertical"
android:paddingEnd="8dp" android:paddingLeft="8dp"
android:paddingTop="2dp" android:paddingTop="2dp"
android:paddingBottom="2dp" android:paddingBottom="2dp"
android:gravity="top" android:gravity="top"
@ -42,7 +42,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="6dp" android:paddingTop="6dp"
android:layout_marginStart="8dp" android:layout_marginLeft="8dp"
android:orientation="horizontal" android:orientation="horizontal"
> >
<TextView android:id="@+id/title" <TextView android:id="@+id/title"
@ -62,7 +62,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_marginStart="8dp" android:layout_marginLeft="8dp"
> >
<TextView android:id="@+id/text" <TextView android:id="@+id/text"
android:layout_width="0dp" android:layout_width="0dp"
@ -81,7 +81,7 @@
android:layout_weight="0" android:layout_weight="0"
android:singleLine="true" android:singleLine="true"
android:gravity="center" android:gravity="center"
android:paddingStart="8dp" android:paddingLeft="8dp"
android:textAppearance="@style/NotificationText" android:textAppearance="@style/NotificationText"
/> />
<ImageView android:id="@+id/right_icon" <ImageView android:id="@+id/right_icon"
@ -89,7 +89,7 @@
android:layout_height="16dp" android:layout_height="16dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_weight="0" android:layout_weight="0"
android:layout_marginStart="8dp" android:layout_marginLeft="8dp"
android:scaleType="centerInside" android:scaleType="centerInside"
android:visibility="gone" android:visibility="gone"
/> />
@ -115,7 +115,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="-2dp" android:layout_marginTop="-2dp"
android:layout_marginBottom="-2dp" android:layout_marginBottom="-2dp"
android:layout_marginStart="8dp" android:layout_marginLeft="8dp"
android:fadingEdge="horizontal" android:fadingEdge="horizontal"
/> />
</LinearLayout> </LinearLayout>