mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
add content description to activity icon
This commit is contained in:
parent
ab575359f6
commit
b8260646da
1 changed files with 27 additions and 10 deletions
|
@ -16,18 +16,35 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/list_item"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:background="?android:attr/activatedBackgroundIndicator"
|
||||||
|
android:minWidth="@dimen/activity_row_layout_min_width_independent"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:paddingEnd="@dimen/standard_padding"
|
||||||
|
android:paddingLeft="@dimen/standard_padding"
|
||||||
|
android:paddingRight="@dimen/standard_padding"
|
||||||
|
android:paddingStart="@dimen/standard_padding">
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<ImageView
|
||||||
android:id="@+id/list_item"
|
android:id="@+id/icon"
|
||||||
|
android:layout_width="@dimen/user_icon_size_independent"
|
||||||
|
android:layout_height="@dimen/user_icon_size_independent"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_marginEnd="@dimen/standard_padding"
|
||||||
|
android:layout_marginRight="@dimen/standard_padding"
|
||||||
|
android:contentDescription="@string/activity_icon" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="48dp"
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="@dimen/standard_padding"
|
android:layout_gravity="center_vertical"
|
||||||
android:paddingEnd="@dimen/standard_padding"
|
android:ellipsize="marquee"
|
||||||
android:paddingRight="@dimen/standard_padding"
|
android:singleLine="true"
|
||||||
android:paddingLeft="@dimen/standard_padding"
|
android:textAppearance="?android:attr/textAppearanceLargePopupMenu" />
|
||||||
android:minWidth="@dimen/activity_row_layout_min_width_independent"
|
|
||||||
android:background="?android:attr/activatedBackgroundIndicator"
|
|
||||||
android:orientation="horizontal" >
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/icon"
|
android:id="@+id/icon"
|
||||||
|
|
Loading…
Reference in a new issue