forked from amazingfate/loongoffice
Screenshots of the change:- Before: 1. https://s19.postimg.org/bbs91keyr/Screenshot_20170212_182941.png 2. https://s19.postimg.org/k5j5io1xf/Screenshot_20170212_183334.png Now: 1. https://s19.postimg.org/4o08spkub/Screenshot_20170212_222359.png 2. https://s19.postimg.org/5p0hhu1tv/Screenshot_20170212_222406.png Change-Id: I3137ce2648c4dda30d7bbe93245618a83e9048c0 Reviewed-on: https://gerrit.libreoffice.org/34175 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
This file is part of the LibreOffice project.
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:orientation="horizontal"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:layout_marginStart="@dimen/list_item_margin"
|
|
android:layout_marginLeft="@dimen/list_item_margin"
|
|
android:layout_marginEnd="@dimen/list_item_margin"
|
|
android:layout_marginRight="@dimen/list_item_margin"
|
|
tools:ignore="UseCompoundDrawables">
|
|
<!--using compound drawables is ignored because more control over the drawable size is needed-->
|
|
|
|
<ImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="@dimen/file_icon_margin_end"
|
|
android:layout_marginRight="@dimen/file_icon_margin_end"
|
|
android:adjustViewBounds="true"
|
|
android:id="@+id/imageView"
|
|
android:contentDescription="@string/file_icon_desc"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/textView"
|
|
style="@style/ListItemText"
|
|
android:maxLines="1"
|
|
android:ellipsize="end"/>
|
|
</LinearLayout>
|