-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from rymorale/api21-issues
Low level API fixes (MOB-21261, MOB-21262, MOB-21447, and MOB-21460)
- Loading branch information
Showing
11 changed files
with
206 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
code/notificationbuilder/src/main/res/layout/push_template_expanded_api23.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/basic_expanded_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:clipToPadding="false" | ||
android:clipChildren="false" | ||
android:orientation="vertical" | ||
android:theme="@style/DayNightTheme"> | ||
|
||
<ImageView | ||
android:id="@+id/large_icon" | ||
android:layout_height="@dimen/large_icon_height" | ||
android:layout_width="@dimen/large_icon_width" | ||
android:layout_alignParentRight="true" /> | ||
|
||
<TextView | ||
android:id="@+id/notification_title" | ||
style="@style/Title" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="start" | ||
android:textAlignment="viewStart" | ||
android:layout_toLeftOf="@+id/large_icon"/> | ||
|
||
<TextView | ||
android:id="@+id/notification_body_expanded" | ||
style="@style/Body" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/notification_title" | ||
android:layout_gravity="start" | ||
android:textAlignment="viewStart" | ||
android:layout_toLeftOf="@+id/large_icon"/> | ||
|
||
<ImageView | ||
android:id="@+id/expanded_template_image" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/basic_expanded_image_height_api23" | ||
android:layout_gravity="center" | ||
android:adjustViewBounds="true" | ||
android:layout_below="@id/notification_body_expanded"/> | ||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters