-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,094 changed files
with
5,184 additions
and
40 deletions.
There are no files selected for viewing
Binary file added
BIN
+169 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.activity-activity-1.8.1.jar
Binary file not shown.
Binary file added
BIN
+28.8 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.annotation-annotation-1.2.0.jar
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+11.4 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.arch.core-core-common-2.2.0.jar
Binary file not shown.
Binary file added
BIN
+6.12 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.arch.core-core-runtime-2.2.0.jar
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+25.4 KB
.../ALAnimation/_Source/Android/Merged/libs/androidx.concurrent-concurrent-futures-1.1.0.jar
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+169 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.core-core-ktx-1.2.0.jar
Binary file not shown.
Binary file added
BIN
+51.1 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.lifecycle-lifecycle-common-2.6.1.jar
Binary file not shown.
Binary file added
BIN
+9.39 KB
...nimation/_Source/Android/Merged/libs/androidx.lifecycle-lifecycle-livedata-core-2.6.1.jar
Binary file not shown.
Binary file added
BIN
+20.1 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.lifecycle-lifecycle-runtime-2.6.1.jar
Binary file not shown.
Binary file added
BIN
+40.7 KB
.../ALAnimation/_Source/Android/Merged/libs/androidx.lifecycle-lifecycle-viewmodel-2.6.1.jar
Binary file not shown.
Binary file added
BIN
+39.2 KB
...n/_Source/Android/Merged/libs/androidx.lifecycle-lifecycle-viewmodel-savedstate-2.6.1.jar
Binary file not shown.
Binary file added
BIN
+46.3 KB
...nimation/_Source/Android/Merged/libs/androidx.profileinstaller-profileinstaller-1.3.0.jar
Binary file not shown.
Binary file added
BIN
+19.1 KB
Demos/ALAnimation/_Source/Android/Merged/libs/androidx.savedstate-savedstate-1.2.1.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+2.73 MB
Demos/ALAnimation/_Source/Android/Merged/libs/com.google.guava-guava-32.1.3-android.jar
Binary file not shown.
Binary file added
BIN
+219 KB
Demos/ALAnimation/_Source/Android/Merged/libs/org.checkerframework-checker-qual-3.37.0.jar
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+1.59 MB
Demos/ALAnimation/_Source/Android/Merged/libs/org.jetbrains.kotlin-kotlin-stdlib-1.8.22.jar
Binary file not shown.
Binary file added
BIN
+216 KB
...nimation/_Source/Android/Merged/libs/org.jetbrains.kotlin-kotlin-stdlib-common-1.8.22.jar
Binary file not shown.
Binary file added
BIN
+963 Bytes
...LAnimation/_Source/Android/Merged/libs/org.jetbrains.kotlin-kotlin-stdlib-jdk7-1.8.22.jar
Binary file not shown.
Binary file added
BIN
+969 Bytes
...LAnimation/_Source/Android/Merged/libs/org.jetbrains.kotlin-kotlin-stdlib-jdk8-1.8.22.jar
Binary file not shown.
Binary file added
BIN
+19.1 KB
...on/_Source/Android/Merged/libs/org.jetbrains.kotlinx-kotlinx-coroutines-android-1.6.4.jar
Binary file not shown.
Binary file added
BIN
+1.41 MB
...n/_Source/Android/Merged/libs/org.jetbrains.kotlinx-kotlinx-coroutines-core-jvm-1.6.4.jar
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+176 Bytes
...on/_Source/Android/Merged/res/drawable-hdpi-v4/notification_bg_low_normal.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+181 Bytes
...n/_Source/Android/Merged/res/drawable-hdpi-v4/notification_bg_low_pressed.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+176 Bytes
...mation/_Source/Android/Merged/res/drawable-hdpi-v4/notification_bg_normal.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+180 Bytes
...Source/Android/Merged/res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+107 Bytes
...ource/Android/Merged/res/drawable-hdpi-v4/notify_panel_notification_icon_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+165 Bytes
...on/_Source/Android/Merged/res/drawable-mdpi-v4/notification_bg_low_normal.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+169 Bytes
...n/_Source/Android/Merged/res/drawable-mdpi-v4/notification_bg_low_pressed.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+165 Bytes
...mation/_Source/Android/Merged/res/drawable-mdpi-v4/notification_bg_normal.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+171 Bytes
...Source/Android/Merged/res/drawable-mdpi-v4/notification_bg_normal_pressed.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98 Bytes
...ource/Android/Merged/res/drawable-mdpi-v4/notify_panel_notification_icon_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions
36
Demos/ALAnimation/_Source/Android/Merged/res/drawable-v21/notification_action_background.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,36 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2017 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<ripple xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:color="@color/androidx_core_ripple_material_light"> | ||
<item android:id="@android:id/mask"> | ||
<inset xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:insetLeft="@dimen/compat_button_inset_horizontal_material" | ||
android:insetTop="@dimen/compat_button_inset_vertical_material" | ||
android:insetRight="@dimen/compat_button_inset_horizontal_material" | ||
android:insetBottom="@dimen/compat_button_inset_vertical_material"> | ||
<shape android:shape="rectangle"> | ||
<corners android:radius="@dimen/compat_control_corner_material" /> | ||
<solid android:color="@android:color/white" /> | ||
<padding android:left="@dimen/compat_button_padding_horizontal_material" | ||
android:top="@dimen/compat_button_padding_vertical_material" | ||
android:right="@dimen/compat_button_padding_horizontal_material" | ||
android:bottom="@dimen/compat_button_padding_vertical_material" /> | ||
</shape> | ||
</inset> | ||
</item> | ||
</ripple> |
Binary file added
BIN
+200 Bytes
...n/_Source/Android/Merged/res/drawable-xhdpi-v4/notification_bg_low_normal.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+210 Bytes
.../_Source/Android/Merged/res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+200 Bytes
...ation/_Source/Android/Merged/res/drawable-xhdpi-v4/notification_bg_normal.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+207 Bytes
...ource/Android/Merged/res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+138 Bytes
...urce/Android/Merged/res/drawable-xhdpi-v4/notify_panel_notification_icon_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions
24
Demos/ALAnimation/_Source/Android/Merged/res/drawable/notification_bg.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,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:exitFadeDuration="@android:integer/config_mediumAnimTime"> | ||
|
||
<item android:state_pressed="true" | ||
android:drawable="@drawable/notification_bg_normal_pressed" /> | ||
<item android:state_pressed="false" android:drawable="@drawable/notification_bg_normal" /> | ||
</selector> |
23 changes: 23 additions & 0 deletions
23
Demos/ALAnimation/_Source/Android/Merged/res/drawable/notification_bg_low.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,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:exitFadeDuration="@android:integer/config_mediumAnimTime"> | ||
|
||
<item android:state_pressed="true" android:drawable="@drawable/notification_bg_low_pressed" /> | ||
<item android:state_pressed="false" android:drawable="@drawable/notification_bg_low_normal" /> | ||
</selector> |
22 changes: 22 additions & 0 deletions
22
Demos/ALAnimation/_Source/Android/Merged/res/drawable/notification_icon_background.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,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
|
||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="oval"> | ||
<solid | ||
android:color="@color/notification_icon_bg_color"/> | ||
</shape> |
22 changes: 22 additions & 0 deletions
22
Demos/ALAnimation/_Source/Android/Merged/res/drawable/notification_tile_bg.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,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
|
||
<bitmap | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:tileMode="repeat" | ||
android:src="@drawable/notify_panel_notification_icon_bg" | ||
/> |
117 changes: 117 additions & 0 deletions
117
Demos/ALAnimation/_Source/Android/Merged/res/layout-v16/notification_template_custom_big.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,117 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
|
||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/notification_background" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
<ImageView android:id="@+id/icon" | ||
android:layout_width="@dimen/notification_large_icon_width" | ||
android:layout_height="@dimen/notification_large_icon_height" | ||
android:scaleType="center" | ||
/> | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="top" | ||
android:orientation="vertical" > | ||
<LinearLayout | ||
android:id="@+id/notification_main_column_container" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="@dimen/notification_large_icon_width" | ||
android:layout_marginStart="@dimen/notification_large_icon_width" | ||
android:paddingTop="@dimen/notification_main_column_padding_top" | ||
android:minHeight="@dimen/notification_large_icon_height" | ||
android:orientation="horizontal"> | ||
<FrameLayout | ||
android:id="@+id/notification_main_column" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="@dimen/notification_content_margin_start" | ||
android:layout_marginStart="@dimen/notification_content_margin_start" | ||
android:layout_marginBottom="8dp" | ||
android:layout_marginRight="8dp" | ||
android:layout_marginEnd="8dp" /> | ||
<FrameLayout | ||
android:id="@+id/right_side" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginRight="8dp" | ||
android:layout_marginEnd="8dp" | ||
android:paddingTop="@dimen/notification_right_side_padding_top"> | ||
<ViewStub android:id="@+id/time" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="end|top" | ||
android:visibility="gone" | ||
android:layout="@layout/notification_template_part_time" /> | ||
<ViewStub android:id="@+id/chronometer" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="end|top" | ||
android:visibility="gone" | ||
android:layout="@layout/notification_template_part_chronometer" /> | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" | ||
android:layout_gravity="end|bottom" | ||
android:layout_marginTop="20dp"> | ||
<TextView android:id="@+id/info" | ||
android:textAppearance="@style/TextAppearance.Compat.Notification.Info" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:singleLine="true" | ||
/> | ||
<ImageView android:id="@+id/right_icon" | ||
android:layout_width="16dp" | ||
android:layout_height="16dp" | ||
android:layout_gravity="center" | ||
android:layout_marginLeft="8dp" | ||
android:layout_marginStart="8dp" | ||
android:scaleType="centerInside" | ||
android:visibility="gone" | ||
android:alpha="0.6" | ||
/> | ||
</LinearLayout> | ||
</FrameLayout> | ||
</LinearLayout> | ||
<ImageView | ||
android:layout_width="match_parent" | ||
android:layout_height="1px" | ||
android:id="@+id/action_divider" | ||
android:visibility="gone" | ||
android:layout_marginLeft="@dimen/notification_large_icon_width" | ||
android:layout_marginStart="@dimen/notification_large_icon_width" | ||
android:background="?android:attr/dividerHorizontal" /> | ||
<LinearLayout | ||
android:id="@+id/actions" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" | ||
android:visibility="gone" | ||
android:showDividers="middle" | ||
android:divider="?android:attr/listDivider" | ||
android:dividerPadding="12dp" | ||
android:layout_marginLeft="@dimen/notification_large_icon_width" | ||
android:layout_marginStart="@dimen/notification_large_icon_width" > | ||
<!-- actions will be added here --> | ||
</LinearLayout> | ||
</LinearLayout> | ||
</FrameLayout> |
41 changes: 41 additions & 0 deletions
41
Demos/ALAnimation/_Source/Android/Merged/res/layout-v21/notification_action.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,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
style="@style/Widget.Compat.NotificationActionContainer" | ||
android:id="@+id/action_container" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="48dp" | ||
android:paddingStart="4dp" | ||
android:orientation="horizontal"> | ||
<ImageView | ||
android:id="@+id/action_image" | ||
android:layout_width="@dimen/notification_action_icon_size" | ||
android:layout_height="@dimen/notification_action_icon_size" | ||
android:layout_gravity="center|start" | ||
android:scaleType="centerInside"/> | ||
<TextView | ||
style="@style/Widget.Compat.NotificationActionText" | ||
android:id="@+id/action_text" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center|start" | ||
android:paddingStart="4dp" | ||
android:singleLine="true" | ||
android:ellipsize="end" | ||
android:clickable="false"/> | ||
</LinearLayout> |
48 changes: 48 additions & 0 deletions
48
Demos/ALAnimation/_Source/Android/Merged/res/layout-v21/notification_action_tombstone.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,48 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2016 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
style="@style/Widget.Compat.NotificationActionContainer" | ||
android:id="@+id/action_container" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="48dp" | ||
android:paddingStart="4dp" | ||
android:orientation="horizontal" | ||
android:enabled="false" | ||
android:background="@null"> | ||
<ImageView | ||
android:id="@+id/action_image" | ||
android:layout_width="@dimen/notification_action_icon_size" | ||
android:layout_height="@dimen/notification_action_icon_size" | ||
android:layout_gravity="center|start" | ||
android:scaleType="centerInside" | ||
android:enabled="false" | ||
android:alpha="0.5"/> | ||
<TextView | ||
style="@style/Widget.Compat.NotificationActionText" | ||
android:id="@+id/action_text" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center|start" | ||
android:paddingStart="4dp" | ||
android:singleLine="true" | ||
android:ellipsize="end" | ||
android:clickable="false" | ||
android:enabled="false" | ||
android:alpha="0.5"/> | ||
</LinearLayout> |
Oops, something went wrong.