RoundedLetterView

RoundedLetterView like the one in Android 5.0 Contacts app

Лицензия

Лицензия

Группа

Группа

com.github.pavlospt
Идентификатор

Идентификатор

roundedletterview
Последняя версия

Последняя версия

1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

RoundedLetterView
RoundedLetterView like the one in Android 5.0 Contacts app
Ссылка на сайт

Ссылка на сайт

https://github.com/pavlospt/RoundedLetterView
Система контроля версий

Система контроля версий

https://github.com/pavlospt/RoundedLetterView

Скачать roundedletterview

Имя Файла Размер
roundedletterview-1.3.pom
roundedletterview-1.3.jar 261 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.pavlospt/roundedletterview/ -->
<dependency>
    <groupId>com.github.pavlospt</groupId>
    <artifactId>roundedletterview</artifactId>
    <version>1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.pavlospt/roundedletterview/
implementation 'com.github.pavlospt:roundedletterview:1.3'
// https://jarcasting.com/artifacts/com.github.pavlospt/roundedletterview/
implementation ("com.github.pavlospt:roundedletterview:1.3")
'com.github.pavlospt:roundedletterview:jar:1.3'
<dependency org="com.github.pavlospt" name="roundedletterview" rev="1.3">
  <artifact name="roundedletterview" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.pavlospt', module='roundedletterview', version='1.3')
)
libraryDependencies += "com.github.pavlospt" % "roundedletterview" % "1.3"
[com.github.pavlospt/roundedletterview "1.3"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

RoundedLetterView

Android Arsenal

Download

RoundedLetterView like the one in Android 5.0 Contacts app

RoundedLetterView

Attributes to choose from:

  • rlv_titleText - The text in the first row.
  • rlv_titleSize - The size of the first row text.
  • rlv_titleColor - The color of the first row text.
  • rlv_backgroundColorValue - the color between the circle and the stroke.

Example

 <com.github.pavlospt.roundedletterview.RoundedLetterView
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/rlv_name_view"
        android:layout_width="56dp"
        android:layout_height="56dp"
        android:layout_marginStart="15dp"
        app:backgroundColorValue="@color/green" (rlv_backgroundColorValue in v1.1)
        app:titleColor="@android:color/white" (rlv_titleColor in v1.1)
        app:titleSize="35dp" (rlv_titleSize in v1.1)
        app:titleText="A" /> (rlv_titleText in v1.1)

What's new

v1.0: Initial Commit

v1.1: Ability to set custom Font on the Text using a Typeface object. setTypeface(font: Typeface)

Migrating from 1.0 to 1.1

If you are using version 1.1 you have to add the prefix rlv_ before each attribute.

How To Use

compile 'com.github.pavlospt:roundedletterview:1.3'

Credits

Author : Pavlos-Petros Tournaris (p.tournaris@gmail.com)

Google+ : +Pavlos-Petros Tournaris

Facebook : Pavlos-Petros Tournaris

LinkedIn : Pavlos-Petros Tournaris

(In case you use this in your app let me know to make a list of apps that use it! )

License

Copyright 2014 Pavlos-Petros Tournaris

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.

Версии библиотеки

Версия
1.3
1.2
1.1
1.0