More cleanup
This commit is contained in:
parent
4cb9843415
commit
77e033372f
5 changed files with 2 additions and 113 deletions
|
|
@ -212,12 +212,12 @@ private fun EditingModeView(
|
||||||
.padding(horizontal = 12.dp, vertical = 8.dp)) {
|
.padding(horizontal = 12.dp, vertical = 8.dp)) {
|
||||||
Icon(
|
Icon(
|
||||||
resourceId = VectorIcons.Edit,
|
resourceId = VectorIcons.Edit,
|
||||||
contentDescription = stringResource(R.string.editing),
|
contentDescription = stringResource(StringR.string.common_editing),
|
||||||
tint = MaterialTheme.colorScheme.secondary,
|
tint = MaterialTheme.colorScheme.secondary,
|
||||||
modifier = Modifier.size(16.dp),
|
modifier = Modifier.size(16.dp),
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
stringResource(R.string.editing),
|
stringResource(StringR.string.common_editing),
|
||||||
style = ElementTextStyles.Regular.caption2,
|
style = ElementTextStyles.Regular.caption2,
|
||||||
textAlign = TextAlign.Start,
|
textAlign = TextAlign.Start,
|
||||||
color = MaterialTheme.colorScheme.secondary,
|
color = MaterialTheme.colorScheme.secondary,
|
||||||
|
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2022 New Vector Ltd
|
|
||||||
~
|
|
||||||
~ 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">
|
|
||||||
<item android:state_enabled="false" android:color="?attr/vctr_content_quinary" />
|
|
||||||
<item android:state_pressed="true" android:color="?attr/colorSecondary" />
|
|
||||||
<item android:state_hovered="true" android:color="?attr/colorSecondary" />
|
|
||||||
<item android:state_selected="true" android:color="?attr/colorSecondary" />
|
|
||||||
<item android:color="?attr/vctr_content_tertiary" />
|
|
||||||
</selector>
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2022 New Vector Ltd
|
|
||||||
~
|
|
||||||
~ 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<vector android:autoMirrored="true"
|
|
||||||
android:height="25dp"
|
|
||||||
android:viewportHeight="25"
|
|
||||||
android:viewportWidth="25"
|
|
||||||
android:width="25dp"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<path
|
|
||||||
android:fillColor="#00000000"
|
|
||||||
android:pathData="M13.9217,19.5H16.0147C18.4917,19.5 20.4997,17.4106 20.4997,14.8333C20.4997,12.256 18.4917,10.1666 16.0147,10.1666H6.5449"
|
|
||||||
android:strokeColor="#000000"
|
|
||||||
android:strokeLineCap="round"
|
|
||||||
android:strokeWidth="2" />
|
|
||||||
<path
|
|
||||||
android:fillColor="#00000000"
|
|
||||||
android:pathData="M9.1988,5.5L4.5,10.214L9.1988,14.9281"
|
|
||||||
android:strokeColor="#000000"
|
|
||||||
android:strokeLineCap="round"
|
|
||||||
android:strokeLineJoin="round"
|
|
||||||
android:strokeWidth="2" />
|
|
||||||
</vector>
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2022 New Vector Ltd
|
|
||||||
~
|
|
||||||
~ 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<dimen name="composer_min_height">56dp</dimen>
|
|
||||||
<dimen name="composer_attachment_size">52dp</dimen>
|
|
||||||
<dimen name="composer_attachment_margin">1dp</dimen>
|
|
||||||
<dimen name="rich_text_composer_corner_radius_single_line">28dp</dimen>
|
|
||||||
<dimen name="rich_text_composer_corner_radius_expanded">14dp</dimen>
|
|
||||||
<dimen name="rich_text_composer_menu_item_size">44dp</dimen>
|
|
||||||
|
|
||||||
</resources>
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2022 New Vector Ltd
|
|
||||||
~
|
|
||||||
~ 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<string name="editing">Editing</string>
|
|
||||||
<string name="replying_to">Replying to %s</string>
|
|
||||||
<string name="quoting">Quoting</string>
|
|
||||||
|
|
||||||
</resources>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue