commit 5b9a34199e918280ff568d48fc5b4967d99475bd Author: Nathan Freitas nathan@freitas.net Date: Wed Mar 22 12:58:34 2017 -0400
update notification styling --- .../main/res/layout-v21/layout_notification_expanded.xml | 7 ++++--- app/src/main/res/layout/layout_notification_expanded.xml | 14 +++++++------- 2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/app/src/main/res/layout-v21/layout_notification_expanded.xml b/app/src/main/res/layout-v21/layout_notification_expanded.xml index e5a75ef..71770d0 100644 --- a/app/src/main/res/layout-v21/layout_notification_expanded.xml +++ b/app/src/main/res/layout-v21/layout_notification_expanded.xml @@ -18,8 +18,8 @@ xmlns:internal="http://schemas.android.com/apk/prv/res/android" android:id="@+id/status_bar_latest_event_content" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="#333333" + android:layout_height="wrap_content" + android:background="#545454" > <ImageView android:id="@+id/icon" android:layout_width="@dimen/notification_large_icon_width" @@ -117,7 +117,8 @@ android:layout_marginTop="-2dp" android:layout_marginBottom="-2dp" android:layout_marginStart="8dp" - android:fadingEdge="horizontal" + android:fadingEdge="horizontal" + android:textColor="#cdcdcd" /> </LinearLayout> </FrameLayout> diff --git a/app/src/main/res/layout/layout_notification_expanded.xml b/app/src/main/res/layout/layout_notification_expanded.xml index c2a9c9e..9f72beb 100644 --- a/app/src/main/res/layout/layout_notification_expanded.xml +++ b/app/src/main/res/layout/layout_notification_expanded.xml @@ -29,10 +29,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" 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:orientation="vertical" - android:paddingEnd="8dp" + android:paddingLeft="8dp" android:paddingTop="2dp" android:paddingBottom="2dp" android:gravity="top" @@ -42,7 +42,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="6dp" - android:layout_marginStart="8dp" + android:layout_marginLeft="8dp" android:orientation="horizontal" > <TextView android:id="@+id/title" @@ -62,7 +62,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:layout_marginStart="8dp" + android:layout_marginLeft="8dp" > <TextView android:id="@+id/text" android:layout_width="0dp" @@ -81,7 +81,7 @@ android:layout_weight="0" android:singleLine="true" android:gravity="center" - android:paddingStart="8dp" + android:paddingLeft="8dp" android:textAppearance="@style/NotificationText" /> <ImageView android:id="@+id/right_icon" @@ -89,7 +89,7 @@ android:layout_height="16dp" android:layout_gravity="center" android:layout_weight="0" - android:layout_marginStart="8dp" + android:layout_marginLeft="8dp" android:scaleType="centerInside" android:visibility="gone" /> @@ -115,7 +115,7 @@ android:layout_height="wrap_content" android:layout_marginTop="-2dp" android:layout_marginBottom="-2dp" - android:layout_marginStart="8dp" + android:layout_marginLeft="8dp" android:fadingEdge="horizontal" /> </LinearLayout>
tor-commits@lists.torproject.org