Skip to content

Commit dff307b

Browse files
paulfthomashunterstich
authored andcommitted
[Card] Remove DraggableCardFragment demo for accessibility compliance
PiperOrigin-RevId: 697700340
1 parent 6eb44a2 commit dff307b

File tree

4 files changed

+0
-207
lines changed

4 files changed

+0
-207
lines changed

catalog/java/io/material/catalog/card/CardFragment.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ public Intent createActivityIntent() {
6363
return new Intent(getContext(), CardSelectionModeActivity.class);
6464
}
6565
},
66-
new Demo(R.string.cat_card_draggable_card) {
67-
@Override
68-
public Fragment createFragment() {
69-
return new DraggableCardFragment();
70-
}
71-
},
7266
new Demo(R.string.cat_card_states) {
7367
@Override
7468
public Fragment createFragment() {

catalog/java/io/material/catalog/card/DraggableCardFragment.java

Lines changed: 0 additions & 145 deletions
This file was deleted.

catalog/java/io/material/catalog/card/res/layout/cat_card_draggable_fragment.xml

Lines changed: 0 additions & 42 deletions
This file was deleted.

catalog/java/io/material/catalog/card/res/values/strings.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
<resources>
1919

2020
<string name="cat_card_title">Cards</string>
21-
<string name="cat_card_draggable_card">Draggable Card</string>
2221
<string name="cat_card_selection_mode">Selectable Cards</string>
2322
<string name="cat_card_selectable_item_title">Message</string>
2423
<string name="cat_card_states">Card States</string>
2524
<string name="cat_card_list" translatable="false">Card List With Drag-and-Drop</string>
26-
<string name="cat_card_draggable_card_content">This is a draggable Card.</string>
2725
<string name="cat_card_states_card_content">This demo shows the different states on a card.</string>
2826
<string name="cat_card_state_hovered">Hovered</string>
2927
<string name="cat_card_state_pressed">Pressed</string>
@@ -87,22 +85,10 @@
8785
<string name="cat_card_rich_media_action_1">Action 1</string>
8886
<string name="cat_card_rich_media_action_2">Action 2</string>
8987

90-
<string description="A description of an action that a user of an accessibility service can perform to move the card to the top left corner of the screen. [CHAR LIMIT=25]"
91-
name="cat_card_action_move_top_left">Move to top left</string>
92-
93-
9488
<string description="A description of an action that a user of an accessibility service can perform to swap the card with the one above it. [CHAR LIMIT=25]"
9589
name="cat_card_action_move_up">Move Up</string>
9690
<string description="A description of an action that a user of an accessibility service can perform to swap the card with the one below it. [CHAR LIMIT=25]"
9791
name="cat_card_action_move_down">Move Down</string>
98-
<string description="A description of an action that a user of an accessibility service can perform to move the card to the top right corner of the screen. [CHAR LIMIT=25]"
99-
name="cat_card_action_move_top_right">Move to top right</string>
100-
<string description="A description of an action that a user of an accessibility service can perform to move the card to the bottom left corner of the screen. [CHAR LIMIT=25]"
101-
name="cat_card_action_move_bottom_left">Move to bottom left</string>
102-
<string description="A description of an action that a user of an accessibility service can perform to move the card to the bottom right corner of the screen. [CHAR LIMIT=25]"
103-
name="cat_card_action_move_bottom_right">Move to bottom right</string>
104-
<string description="A description of an action that a user of an accessibility service can perform to move the card to the center of the screen. [CHAR LIMIT=25]"
105-
name="cat_card_action_move_center">Move to center</string>
10692
<string description="A description of an action that a user of an accessibility service can perform to select the card. [CHAR LIMIT=25]"
10793
name="cat_card_action_select">Select</string>
10894
<string description="A description of an action that a user of an accessibility service can perform to deselect the card. [CHAR LIMIT=25]"

0 commit comments

Comments
 (0)