-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 #20952 from wordpress-mobile/issue/Comment-Details…
…-Trash-moderation-redesign Comment details trash moderation redesign
- Loading branch information
Showing
8 changed files
with
110 additions
and
40 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M20.5,5H14.8C14.8,3.7 13.8,2.7 12.5,2.7C11.2,2.7 10.2,3.7 10.2,5H4.5V7H6V7.3L7.7,18.4C7.8,19.4 8.7,20.1 9.7,20.1H15.4C16.4,20.1 17.2,19.4 17.4,18.4L19.1,7.3V7H20.5V5ZM17.3,7L15.6,18.1C15.6,18.2 15.5,18.3 15.3,18.3H9.6C9.5,18.3 9.3,18.2 9.3,18.1L7.7,7H17.3Z" | ||
android:fillColor="#ffffff"/> | ||
</vector> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1px" | ||
android:background="@color/divider_likes" /> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginTop="@dimen/margin_extra_large" | ||
android:drawablePadding="@dimen/margin_small" | ||
android:gravity="center_vertical" | ||
android:includeFontPadding="false" | ||
android:fontFamily="sans-serif-medium" | ||
android:text="@string/comment_moderation_trash" | ||
android:textColor="@color/menu_more" | ||
android:textSize="@dimen/text_sz_small" /> | ||
|
||
<com.google.android.material.button.MaterialButton | ||
android:id="@+id/button_delete_comment" | ||
style="@style/Widget.ShareButton" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="@dimen/margin_extra_large" | ||
android:layout_marginTop="@dimen/margin_medium" | ||
android:layout_marginBottom="@dimen/margin_extra_extra_medium_large" | ||
android:text="@string/comment_moderation_delete" | ||
app:icon="@drawable/trash_24" | ||
app:iconGravity="textStart" | ||
app:iconTint="?attr/colorSurface" /> | ||
</LinearLayout> |
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