mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
a1c276f70b
// FREEBIE
45 lines
2.2 KiB
XML
45 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
Copyright (C) 2016 The Android Open Source Project
|
|
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.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="24dp"
|
|
android:layout_marginRight="24dp"
|
|
android:scaleType="centerCrop"
|
|
app:srcCompat="@drawable/ic_add" />
|
|
|
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/add_ringtone_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="20dp"
|
|
android:ellipsize="marquee"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="3"
|
|
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
android:paddingEnd="?dialogPreferredPadding"
|
|
android:paddingRight="?dialogPreferredPadding"
|
|
android:text="@string/RingtonePreference_add_ringtone_text"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="?colorAccent" />
|
|
</LinearLayout> |